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/dbxread.c | |
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/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 6 |
1 files changed, 5 insertions, 1 deletions
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. */ |