This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [RFA] hpread.c cleanups


On Wed, Mar 01, 2006 at 01:58:39PM +0800, Randolph Chung wrote:
> The hppa target used to use a objfile private field to store some shared
> object information on HPUX. Most of that have been cleaned up, but there
> is one more instance in hpread.c. In fact, the current code in cvs will
> cause a crash because the objfile private field is not initialized. The
> patch changes hpread.c to use the solist interface. Tested lightly on
> hppa64-hp-hpux11.11. OK?

> 2006-03-01  Randolph Chung  <tausq@debian.org>
> 
> 	* hpread.c (hpread_process_one_debug_symbol): Use solist interface to
> 	retrieve shared object information.
> 	* hppa-tdep.h (hppa_objfile_private): Remove unused so_info field.
> 	* Makefile.in (hpread.o): Update dependencies.

It looks plausible to me, but you may want to check with Kevin if using
solist.h this way is OK.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]