This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] New program_changed event, cleanup some HPUXHPPA mess
On Wed, May 26, 2004 at 08:35:30AM -0700, Randolph Chung wrote:
> > If this comment is right, why not move these to the hppa-hpux specific
> > observer? If the comment is wrong, just remove it, but it looks right.
>
> ok. like this?
Yeah, this is OK. Thanks.
>
> randolph
>
> 2004-05-26 Randolph Chung <tausq@debian.org>
>
> * Makefile.in (hppa-hpux-tdep.o, hppa-tdep.o): Update dependency.
> * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Use dyncall
> and sr4export addresses from tdep structure.
> (hppa_hpux_skip_trampoline_code): Likewise.
> (hp_cxx_exception_support_initialized): Make static.
> (hppa_hpux_observer_inferior_created): New function; reset hp compiler
> flags and cached symbols when new inferior is created.
> (_initialize_hppa_hpux_tdep): Register for inferior created
> notification.
> * hppa-linux-tdep.c (hppa_linux_in_dyncall): Use dyncall address from
> tdep structure.
> * hppa-tdep.c: Include observer.h
> (hppa_observer_inferior_created): New function; listen to inferior
> created notification and update addresses in tdep structure.
> (_initialize_hppa_tdep): Register for program change notification.
> * hppa-tdep.h (struct gdbarch_tdep): Add dyncall, dyncall_external
> and sr4export variables.
> * symfile.c: (RESET_HP_UX_GLOBALS) Remove HPUXHPPA-specific code.
> (symbol_file_add_main_1, symbol_file_clear, reread_symbols): Remove
> HPUXHPPA-specific code.
--
Daniel Jacobowitz