remote_debug defined in m68k-stub.c and top.c

Stan Shebs
Fri May 21 22:57:00 GMT 2004

Bob Rossi wrote:

>Does m68k-stub.c and top.c ever get linked into the same exe?
>Or do you just get one or the other?
>I am noticing that the global remote_debug is defined in both of these files.
They're different variables - m68k-stub.c is for a debugging stub that
gets linked into your program, while top.c is part of GDB proper.
It *is* a little confusing to have stubs, which are as much example
code as anything else, mixed in with GDB sources.


More information about the Gdb mailing list