aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-05-12 10:42:49 -0700
committerDoug Evans <dje@google.com>2015-05-12 10:42:49 -0700
commit83769d0b125e2043aba13ff05a4e8d08014e08a5 (patch)
treebc03c25f712a8d31742bb0306a52fb38e6b932b6 /gdb
parent0d71eef55dc5ce12d9bfa3cefb40d81a9b5fa2e6 (diff)
downloadgdb-83769d0b125e2043aba13ff05a4e8d08014e08a5.zip
gdb-83769d0b125e2043aba13ff05a4e8d08014e08a5.tar.gz
gdb-83769d0b125e2043aba13ff05a4e8d08014e08a5.tar.bz2
tweak some comments
gdb/ChangeLog: * dwarf2read.c (struct file_entry): Tweak comments. (get_debug_line_section): Tweak comments.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2read.c9
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a316b4e..61bc846 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-12 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (struct file_entry): Tweak comments.
+ (get_debug_line_section): Tweak comments.
+
2015-05-12 Don Breazeal <donb@codesourcery.com>
* NEWS: Announce fork support in the RSP and support
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 23a2521..9a2113e 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
@@ -17200,8 +17202,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)