From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: Randolph Chung Cc: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] New program_changed event, cleanup some HPUXHPPA mess Date: Wed, 26 May 2004 16:48:00 -0000 Message-id: <20040526164800.GA16564@nevyn.them.org> References: <20040519204003.GU566@tausq.org> <40AE4F0C.6050407@gnu.org> <20040521190242.GB7207@tausq.org> <40AE6260.2090205@gnu.org> <20040526052753.GU7207@tausq.org> <20040526132546.GB7594@nevyn.them.org> <20040526153530.GZ7207@tausq.org> X-SW-Source: 2004-05/msg00748.html 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 > > * 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