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] |
> OK. So this has the property that I was hoping for; it won't return a > false positive for a non-Ada main program. That's correct. > This is fine with me. Let's see if anyone else objects to it. > > Since I don't know of any language other than Ada that will have a > fallback for this, I don't think it's worth inventing a lot of > machinery for it. I'm not especially interested in allowing a language > to be compiled out, either. OK, here is a new patch for the "start" command. I don't need to modify main_name() right now, so I left it out of this patch. When Ada support is activated, then the next step will be to add the new-executable notification, and add a call to the ada_main_name routine in main_name(). I am attaching a patch to symtab.c for illustration. 2004-05-20 Joel Brobecker <brobecker@gnat.com> * infcmd.c (kill_if_already_running): New function, extracted from run_command(). (run_command): Replace extracted code by call to kill_if_already_running(). (start_command): New function. (_initialize_infcmd): Add "start" command. The documentation for this new command (which has been already approved by Eli) is also attached, for easier reference. 2004-05-20 Joel Brobecker <brobecker@gnat.com> * gdb.texinfo (Starting): Document new start command. Tested on x86-linux. Thanks, -- Joel
Attachment:
infcmd.c.diff
Description: Text document
Attachment:
start-doc.diff
Description: Text document
Attachment:
symtab.c.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |