Browse Source

* paread.c (pa_symfile_init): Look for the $TEXT$ section rather

than the .text section.
gdb-4_18-branch
Jeff Law 33 years ago
parent
commit
db98e4d85e
  1. 5
      gdb/ChangeLog
  2. 4
      gdb/paread.c

5
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

4
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

Loading…
Cancel
Save