summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a96fc8fc63c..7fd2794e23e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
+
2013-01-14 Tom Tromey <tromey@redhat.com>
* cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 0e636b4d4c0..519eee88cc4 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -15161,7 +15161,9 @@ dwarf_decode_line_header (unsigned int offset, struct dwarf2_cu *cu)
in line header LH of PST.
COMP_DIR is the compilation directory (DW_AT_comp_dir) or NULL if unknown.
If space for the result is malloc'd, it will be freed by a cleanup.
- Returns NULL if FILE_INDEX should be ignored, i.e., it is pst->filename. */
+ Returns NULL if FILE_INDEX should be ignored, i.e., it is pst->filename.
+
+ The function creates dangling cleanup registration. */
static char *
psymtab_include_file_name (const struct line_header *lh, int file_index,