This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: GDB as a loader 2/3: return child result


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]