* buildsym.h (last_source_file): Add dwarf info to comment.
authorDoug Evans <dje@google.com>
Mon, 7 Apr 2008 19:29:55 +0000 (19:29 +0000)
committerDoug Evans <dje@google.com>
Mon, 7 Apr 2008 19:29:55 +0000 (19:29 +0000)
(last_source_start_addr): Ditto.

gdb/ChangeLog
gdb/buildsym.h

index 4b74b7e96ed4cca29e56023a7399ce96f2624722..6798eb36e990626bc0ca8fcc8adb1dabebf16c83 100644 (file)
@@ -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".
index 73713c685f42419dedbf42441246302c27cd86ed..294bc41301adca5a414b1b971f77ee7182430b6c 100644 (file)
@@ -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;