aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h6
1 files changed, 4 insertions, 2 deletions
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;