aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-11-15 08:42:01 +0000
committerJeff Law <law@redhat.com>1993-11-15 08:42:01 +0000
commitdb98e4d85ea1685bbe1662eecdd0813275355bf6 (patch)
tree3bd7f21234d780d83cfd2ee96cb4e54cbeac4720 /gdb
parent097960116a8eb62ca908926d2a992a59925e945c (diff)
downloadgdb-db98e4d85ea1685bbe1662eecdd0813275355bf6.zip
gdb-db98e4d85ea1685bbe1662eecdd0813275355bf6.tar.gz
gdb-db98e4d85ea1685bbe1662eecdd0813275355bf6.tar.bz2
* paread.c (pa_symfile_init): Look for the $TEXT$ section rather
than the .text section.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/paread.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7e9a85d..3504acd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 15 00:40:38 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
+
+ * paread.c (pa_symfile_init): Look for the $TEXT$ section rather
+ than the .text section.
+
Sun Nov 14 00:28:13 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
diff --git a/gdb/paread.c b/gdb/paread.c
index 93b70ad..55b0c2e 100644
--- a/gdb/paread.c
+++ b/gdb/paread.c
@@ -425,9 +425,9 @@ pa_symfile_init (objfile)
/* FIXME POKING INSIDE BFD DATA STRUCTURES */
DBX_SYMFILE_INFO (objfile)->stab_section_info = NULL;
- DBX_TEXT_SECT (objfile) = bfd_get_section_by_name (sym_bfd, ".text");
+ DBX_TEXT_SECT (objfile) = bfd_get_section_by_name (sym_bfd, "$TEXT$");
if (!DBX_TEXT_SECT (objfile))
- error ("Can't find .text section in symbol file");
+ error ("Can't find $TEXT$ section in symbol file");
/* FIXME: I suspect this should be external_nlist. The size of host
types like long and bfd_vma should not affect how we read the