This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/6] DWARF Two Level Line Tables
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Cc: ccoutant at google dot com
- Date: Thu, 12 Mar 2015 13:00:22 -0700
- Subject: [PATCH 1/6] DWARF Two Level Line Tables
- Authentication-results: sourceware.org; auth=none
Patch 1 is just some minor cleanup I noticed along the way.
2015-03-12 Doug Evans <dje@google.com>
* dwarf2read.c (struct file_entry): Tweak comments.
(get_debug_line_section): Tweak comments.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index c185d51..c6f539d 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -1030,8 +1030,10 @@ struct file_entry
unsigned int dir_index;
unsigned int mod_time;
unsigned int length;
- int included_p; /* Non-zero if referenced by the Line Number Program. */
- struct symtab *symtab; /* The associated symbol table, if any. */
+ /* Non-zero if referenced by the Line Number Program. */
+ int included_p;
+ /* The associated symbol table, if any. */
+ struct symtab *symtab;
};
/* The line number information for a compilation unit (found in the
@@ -17157,8 +17159,7 @@ add_file_name (struct line_header *lh,
fe->symtab = NULL;
}
-/* A convenience function to find the proper .debug_line section for a
- CU. */
+/* A convenience function to find the proper .debug_line section for a CU. */
static struct dwarf2_section_info *
get_debug_line_section (struct dwarf2_cu *cu)