[RFA] hpread.c cleanups

Daniel Jacobowitz drow@false.org
Wed Mar 1 17:30:00 GMT 2006


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



More information about the Gdb-patches mailing list