diff options
author | Fred Fish <fnf@specifix.com> | 1992-03-21 01:56:01 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-03-21 01:56:01 +0000 |
commit | 5e2e79f859325ef28cbc98c6704a72de847e5711 (patch) | |
tree | 7bb6d0ceea0015d4a779b234b07ea8fb87ca79bf /gdb/xcoffread.c | |
parent | 9abf9406705ea8a98ba7ca4e2a42c80711a4d525 (diff) | |
download | gdb-5e2e79f859325ef28cbc98c6704a72de847e5711.zip gdb-5e2e79f859325ef28cbc98c6704a72de847e5711.tar.gz gdb-5e2e79f859325ef28cbc98c6704a72de847e5711.tar.bz2 |
Many changes, most related to creating entry point information on a per-objfile
basis. See comments in objfiles.h and details in ChangeLog. Also remove
redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and
use a default definition in frame.h.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 09981a7..93fe780 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -44,6 +44,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "symtab.h" #include "gdbtypes.h" #include "symfile.h" +#include "objfiles.h" #include "buildsym.h" #include "coff/internal.h" /* FIXME, internal data from BFD */ @@ -2018,19 +2019,7 @@ aixcoff_symfile_init (objfile) /* Allocate struct to keep track of the symfile */ objfile -> sym_private = xmmalloc (objfile -> md, sizeof (struct coff_symfile_info)); - - /* - * Save startup file's range of PC addresses to help - * blockframe.c decide where the bottom of the stack is. - */ - if (bfd_get_file_flags(abfd) & EXEC_P) { - entry_point = bfd_get_start_address(abfd); - } else { - entry_point = ~0; - /* set the startup file to be an empty range. */ - startup_file_start = 0; - startup_file_end = 0; - } + init_entry_point_info (objfile); } /* Perform any local cleanups required when we are done with a particular |