This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[hpux/committed] Small somread.c cleanup
- From: Randolph Chung <randolph at tausq dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 01 Mar 2006 13:50:06 +0800
- Subject: [hpux/committed] Small somread.c cleanup
Cleaning out more patches from my queue...
This fixes an incorrect comment in somread.c, and removes the use of
objfile->deprecated_obj_private, which is no longer needed based on some
earlier cleanups to the hppa target.
Committed as obvious.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
2006-03-01 Randolph Chung <tausq@debian.org>
* somread.c (som_symfile_read): Update comment and remove unneeded
use of a deprecated variable.
Index: somread.c
===================================================================
RCS file: /cvs/src/src/gdb/somread.c,v
retrieving revision 1.29
diff -u -p -r1.29 somread.c
--- somread.c 17 Dec 2005 22:34:02 -0000 1.29
+++ somread.c 1 Mar 2006 05:45:27 -0000
@@ -353,9 +353,7 @@ som_symfile_read (struct objfile *objfil
do_cleanups (back_to);
/* Now read information from the stabs debug sections.
- This is a no-op for SOM.
- Perhaps it is intended for some kind of mixed STABS/SOM
- situation? */
+ This is emitted by gcc. */
stabsect_build_psymtabs (objfile, mainline,
"$GDB_SYMBOLS$", "$GDB_STRINGS$", "$TEXT$");
@@ -364,9 +362,6 @@ som_symfile_read (struct objfile *objfil
the DNTT, but is now done via the PXDB-built quick-lookup tables
together with a scan of the GNTT. See hp-psymtab-read.c. */
hpread_build_psymtabs (objfile, mainline);
-
- /* Force hppa-tdep.c to re-read the unwind descriptors. */
- objfile->deprecated_obj_private = NULL;
}
/* Initialize anything that needs initializing when a completely new symbol