From: Jim Kingdon Date: Tue, 25 Apr 1995 18:31:31 +0000 (+0000) Subject: * dbxread.c: Add comment explaining lowest_text_address. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab52cc44ba51c87de33270a69ef8ce07dd3baeb9;p=binutils-gdb.git * dbxread.c: Add comment explaining lowest_text_address. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 72e42e81709..6564533b49a 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 927a0e1de8a..3a4bc07046f 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. */