Questions tagged [GDB] (23)

3
answers

As in the Release configuration in Linux to know the specific place of falling of the program?

Tell me, is there a way on Linux in release configuration and core file to find out where in the program the error occurred (specifically, the number of the Assembly instruction that caused the error)? When using gdb is not clear to what exactly fell program: Program terminated with signal SIGSEGV, Segmentation fault. #0 0x...
Enola asked April 4th 20 at 01:05
1
answer

As pervesti the GDB debugger in intel syntax?

echo set disassembly intel nemoget in gdbinit her too praisal and nothing, still displays AT&T
Brannon16 asked March 31st 20 at 16:21
1
answer

How to solve the problem error run-as: exec failed for lib/gdbserver: No such file or directory?

Good day! Can't run application written in Delphi XE 10.3 on your Android device Honor Play, as well as on any other virtual device for Android. Get this error.... The project in the course is copied to the device, it also creates the icon, but if you run this application by clicking on the icon, then there is a bug.... Her...
Gabriel42 asked March 24th 20 at 14:54
1
answer

Need help with running Python file with GDB. Can someone help?

I can't run .py file the code of which is below. When you run gives it can't find gdb, and when run from gdb crashes another error. I already 2 days do not, how to solve the problem I do not know. Can someone suggest how to start ??? Thank you very much.#!gdb import sys import gdb import os os.system("echo resetFile > e...
Tavares33 asked March 23rd 20 at 18:48
1
answer

How to fix the error of segmentation?

I somewhere messed up with pointers and can't find where. Here is the code#include <iostream> #include <vector> #include <cstdlib> #include <cstring> using namespace std; struct train { char* fio; // Passenger char* point_from; // Point of departure char* point_to; // arrival Point double price...
rosalyn67 asked March 14th 20 at 16:28
1
answer

How to debug Kwin script?

Write small skriptik Kwin, the result sometimes started to fall he Kwin. As you can catch because of what error occurs? When you try to connect to the current kwin_x11 process hangs GUIgdb kwin_x11 pid
Jaida asked March 12th 20 at 16:27
1
answer

As for GDB to stop the program?

There is a program, and in any place (not breakpoints, and manually by pressing a combination of keyboard) it is necessary to pause and see where the program has become. You can do that or not?
Paris_Schuster asked March 12th 20 at 10:44
0
answer

How to determine hardware support for functions (e.g. fma from math.h C99)with gdb?

Indulge in a repetition of the standard libraries for C99 in math.h defines a function fma(x,y,z) { return (x*y) + z; } which has a hardware implementation in some x86 and many arm-Ah. The question arose: here compiler under target platform with debugging symbols, gdb picked up... And work out how to determine if hardware ...
Herminia.Kuhic asked October 2nd 19 at 22:17
3
answers

How to find the time of allocation and initialization of some area of memory in binary?

Given some program, you need to find the initialize a region of memory. Initially, the appeal to this address in gdb causes the error: p/x *0x1234 Cannot access memory at address 0x1234 At some point, memory is allocated and the address is available for read/write: p/x *0x1234 0x0 (the address is always the same!) you need ...
Madaline.Pacoc asked September 30th 19 at 11:53
2
answers

How to debug assembler with gdb?

gcc disassemblied file. Is it possible some way to binary file with debug information and debug it? That is to put a breakpoint on a specific assembler commands to view values of registers. In General, the same as debugging C code with gdb.
sadye.Gleason asked September 27th 19 at 19:18