This is the mail archive of the gdb-patches@sources.redhat.com 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: [mi] organize possible exec async mi oc command reasons


On Tue, May 17, 2005 at 11:29:19PM -0400, Bob Rossi wrote:
> On Tue, May 17, 2005 at 11:20:47PM -0400, Daniel Jacobowitz wrote:
> > On Tue, May 17, 2005 at 11:18:12PM -0400, Bob Rossi wrote:
> > > Hi Daniel, I didn't put NULL simply because I didn't know what header to
> > > include to get the symbol. So, should I include defs.h? Or should I
> > > include stdlib.h directly? What if stdlib.h is not defined?
> > 
> > You should always be including "defs.h" in GDB source files anyway.
> 
> Thanks, finally, I've got the _initialize function, but I can't find
> where to call it from. Either I'm slowly going blind, or I simply can't
> see where all the _init* functions are being called from. Any idea?

You shouldn't need to do a thing.  It's a generated file, see the
Makefile.

You might have missed adding the file to the appropriate SFILES list?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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