top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

GDB: How the remote debugging work in GDB ?

0 votes
489 views
GDB: How the remote debugging work in GDB ?
posted Sep 24, 2016 by Vikram Singh

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
You want to know how remote gdb works or how to use remote gdb ?
At least I want to know how to use remote gdb. However it would be better if I get to know how internally it works.

Similar Questions
+1 vote

As far as I know, CORE file contains all the information till Segmentation fault. Then, while debugging core file why we are using executable file(binary) with it.?

+1 vote

I am working on some JIT compiler and I am using GDB to debut it, my code crashes at some point (segment fault), but it crashes at the jitted code (they are generated on the fly) so I do not get the stack frame information, But I got the following backtrace:

#0 0x**********d98f22 in ?? () // JITTED CODE
#1 0x000000000000001d in ?? () // JITTED CODE
#2 ...callattribuite function....

I am wondering if it is possible for GDB to disassemble the code at location 0x**********d98f22 and display it to me. I tried disas 0x**********d98f22 but GDB complained No function contains specified address.

Any clue?

...