This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Improve "start" command for Ada
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 22 Nov 2004 11:10:11 -0800
- Subject: Re: [RFA] Improve "start" command for Ada
- References: <20041021034759.GP21300@gnat.com> <01c4b72e$Blat.v2.2.2$b14feb80@zahav.net.il> <20041021210951.GZ21300@gnat.com>
Ping? (one month)
The doco part has already been approved.
On Thu, Oct 21, 2004 at 02:09:51PM -0700, Joel Brobecker wrote:
> 2004-10-20 Joel Brobecker <brobecker@gnat.com>
>
> * doc/observer.texi (executable_changed): New observer.
> * symtab.c: Include "observer.h".
> (find_main_name): New function.
> (main_name): If name_of_main is unset, then compute it
> using find_main_name.
> (symtab_observer_executable_changed): New function.
> (_initialize_symtab): Attach executable_changed observer.
> * exec.c: Include "observer.h".
> (exec_file_attach): Emit executable_changed notification.
> * symfile.c: Include "observer.h".
> (reread_symbols): Send an executable_changed if appropriate.
> * Makefile.in (exec.o): Add dependency on observer.h.
> (symfile.o): Likewise.
> (symtab.o): Likewise.
>
> Tested on x86-linux. Still fixes 1 FAIL in gdb.ada/null_record.exp.
The patch is available at:
http://sources.redhat.com/ml/gdb-patches/2004-10/msg00365.html
Thanks!
--
Joel