diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-04-25 18:31:31 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-04-25 18:31:31 +0000 |
commit | ab52cc44ba51c87de33270a69ef8ce07dd3baeb9 (patch) | |
tree | 982f856313d6bcba368bfbb3ffe8399207ae93ba /gdb | |
parent | 404f16f5b2410d037fcee09a96569f87ef94e211 (diff) | |
download | gdb-ab52cc44ba51c87de33270a69ef8ce07dd3baeb9.zip gdb-ab52cc44ba51c87de33270a69ef8ce07dd3baeb9.tar.gz gdb-ab52cc44ba51c87de33270a69ef8ce07dd3baeb9.tar.bz2 |
* dbxread.c: Add comment explaining lowest_text_address.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/dbxread.c | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 72e42e8..6564533 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Apr 25 11:27:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * dbxread.c: Add comment explaining lowest_text_address. + Sat Apr 22 01:26:29 1995 Jeff Law (law@snake.cs.utah.edu) * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix. diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 927a0e1..3a4bc07 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -159,7 +159,11 @@ static int symfile_relocatable = 0; static int block_address_function_relative = 0; -/* This is the lowest text address we have yet encountered. */ +/* The lowest text address we have yet encountered. This is needed + because in an a.out file, there is no header field which tells us + what address the program is actually going to be loaded at, so we + need to make guesses based on the symbols (which *are* relocated to + reflect the address it will be loaded at). */ static CORE_ADDR lowest_text_address; /* Complaints about the symbols we have encountered. */ |