This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [mi] organize possible exec async mi oc command reasons
On Tue, May 17, 2005 at 11:34:06PM -0400, Daniel Jacobowitz wrote:
> 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?
Wow, that's great! Yes, it automatically works. Since I didn't see it
failing, I didn't know that it was running. I put a failing case and saw
GDB give the error upon startup.
Thanks very much,
Bob Rossi