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/partial-stab.h | |
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/partial-stab.h')
-rw-r--r-- | gdb/partial-stab.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h index 72864ba..350d781 100644 --- a/gdb/partial-stab.h +++ b/gdb/partial-stab.h @@ -71,12 +71,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ || (namestring [(nsl = strlen (namestring)) - 1] == 'o' && namestring [nsl - 2] == '.')) { - if (entry_point < CUR_SYMBOL_VALUE - && entry_point >= last_o_file_start - && addr == 0) /* FIXME nogood nomore */ + if (objfile -> ei.entry_point < CUR_SYMBOL_VALUE && + objfile -> ei.entry_point >= last_o_file_start && + addr == 0) /* FIXME nogood nomore */ { - startup_file_start = last_o_file_start; - startup_file_end = CUR_SYMBOL_VALUE; + objfile -> ei.entry_file_lowpc = last_o_file_start; + objfile -> ei.entry_file_highpc = CUR_SYMBOL_VALUE; } if (past_first_source_file && pst /* The gould NP1 uses low values for .o and -l symbols |