aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dbxread.c6
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. */