This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: RFC: GDB as a loader 2/3: return child result
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 7 Nov 2005 09:02:13 -0500
- Subject: Re: RFC: GDB as a loader 2/3: return child result
- References: <4354DC55.4090706@st.com> <20051105024606.GA20989@nevyn.them.org> <436F45D7.6010306@st.com>
On Mon, Nov 07, 2005 at 12:17:27PM +0000, Andrew STUBBS wrote:
> Daniel Jacobowitz wrote:
> >Sorry, I never got around to looking at the code portion of this.
> >Would you mind making one cleanup for me?
> >
> >It doesn't really matter which header the externs go in. But they have
> >to go in a header, visible at both the point of definition and the
> >point of use. No externs in C files. top.h or main.h should be fine.
>
> Ok. How about the attached modification?
Perfect with one addition:
> * infrun.h: Include main.h.
> * top.c; Include main.h.
These mean you need to update Makefile.in, too. We use mostly manually
computed dependencies.
--
Daniel Jacobowitz
CodeSourcery, LLC