diff options
author | Doug Evans <dje@google.com> | 2008-04-07 19:29:55 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-04-07 19:29:55 +0000 |
commit | 92b5c26399a0d05b231e64e32edfe07b794da1e0 (patch) | |
tree | 5cbb83c47550b46ba847de16661860c06c278582 | |
parent | b122c2853abadf2aaee8ec3a2006f050dd7a2391 (diff) | |
download | gdb-92b5c26399a0d05b231e64e32edfe07b794da1e0.zip gdb-92b5c26399a0d05b231e64e32edfe07b794da1e0.tar.gz gdb-92b5c26399a0d05b231e64e32edfe07b794da1e0.tar.bz2 |
* buildsym.h (last_source_file): Add dwarf info to comment.
(last_source_start_addr): Ditto.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/buildsym.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b74b7e..6798eb3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-04-07 Doug Evans <dje@google.com> + + * buildsym.h (last_source_file): Add dwarf info to comment. + (last_source_start_addr): Ditto. + 2008-04-07 Pedro Alves <pedro@codesourcery.com> * alphanbsd-tdep.c: Include "target.h". diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 73713c6..294bc41 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -47,12 +47,14 @@ struct block; hashname() */ /* Name of source file whose symbol data we are now processing. This - comes from a symbol of type N_SO. */ + comes from a symbol of type N_SO for stabs. For Dwarf it comes from the + DW_AT_name attribute of a DW_TAG_compile_unit DIE. */ EXTERN char *last_source_file; /* Core address of start of text of current source file. This too - comes from the N_SO symbol. */ + comes from the N_SO symbol. For Dwarf it typically comes from the + DW_AT_low_pc attribute of a DW_TAG_compile_unit DIE. */ EXTERN CORE_ADDR last_source_start_addr; |