diff options
author | Jeff Law <law@redhat.com> | 1995-11-13 20:15:42 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1995-11-13 20:15:42 +0000 |
commit | 3306c363e316b852b3d931d444a2711a61ca4c96 (patch) | |
tree | b64bb8520432cc10cc41c6094fd23e923f8f1b03 /gdb | |
parent | f2bd89150fac0bbd131fecdf860182b6583d631a (diff) | |
download | gdb-3306c363e316b852b3d931d444a2711a61ca4c96.zip gdb-3306c363e316b852b3d931d444a2711a61ca4c96.tar.gz gdb-3306c363e316b852b3d931d444a2711a61ca4c96.tar.bz2 |
* partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge.
gcc-2.7.0 and gdb-4.15 have been released, so some old crud can
disappear. Yippie!
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/partial-stab.h | 16 |
2 files changed, 9 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3e36f38..2e84c75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Mon Nov 13 13:12:46 1995 Jeffrey A Law (law@cygnus.com) + + * partial-stab.h: Remove GDB_TARGET_IS_HPPA kludge. + +Fri Nov 10 13:08:54 1995 Jeff Law (law@kahlua.cs.utah.edu) + + * terminal.h (HAVE_SGTTY): Fix typo. + Thu Nov 9 17:34:01 1995 Michael Meissner <meissner@tiktok.cygnus.com> * configure.in (gdb_target): Build in the simulator for all diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index ac2149d..7580f5f 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -89,28 +89,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ SET_NAMESTRING(); if ((namestring[0] == '-' && namestring[1] == 'l') || (namestring [(nsl = strlen (namestring)) - 1] == 'o' - && namestring [nsl - 2] == '.') -#ifdef GDB_TARGET_IS_HPPA - /* This braindamage is necessary for versions of GCC 2.6 and - earlier; it will not be necessary for GCC 2.7. - - In a nutshell, we need a way to determine when we've hit - the end of a file with debug symbols. Most ports do this - with a N_SO record with a NULL symbol name (as will GCC 2.7 - on the PA). GCC 2.6 (and earlier) on the PA instead creates - an N_TEXT symbol with the name "end_file." */ - || (namestring[0] == 'e' && STREQ (namestring, "end_file.")) -#endif - ) + && namestring [nsl - 2] == '.')) { -#ifndef GDB_TARGET_IS_HPPA if (objfile -> ei.entry_point < CUR_SYMBOL_VALUE && objfile -> ei.entry_point >= last_o_file_start) { objfile -> ei.entry_file_lowpc = last_o_file_start; objfile -> ei.entry_file_highpc = CUR_SYMBOL_VALUE; } -#endif if (past_first_source_file && pst /* The gould NP1 uses low values for .o and -l symbols which are not the address. */ |