This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] hpread.c cleanups
- From: Daniel Jacobowitz <drow at false dot org>
- To: Randolph Chung <randolph at tausq dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 1 Mar 2006 12:30:34 -0500
- Subject: Re: [RFA] hpread.c cleanups
- References: <4405380F.2090202@tausq.org>
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