This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: remote_debug defined in m68k-stub.c and top.c
- From: Stan Shebs <shebs at apple dot com>
- To: Bob Rossi <bob at brasko dot net>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 19 May 2004 11:15:18 -0700
- Subject: Re: remote_debug defined in m68k-stub.c and top.c
- References: <20040519180355.GA23825@white>
Bob Rossi wrote:
Hi,
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.
Stan