aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-01-15 21:32:36 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-01-15 21:32:36 +0000
commit1ed591746501739512df2ce4d9a2a0df6e8e71fd (patch)
tree4cd23fef7ea245c3bd95ab2dfeadd707c8c5b91c /gdb/dwarf2read.c
parentaf89796ad5e8a8782a9494ebb1a7376c9bd44ca6 (diff)
downloadgdb-1ed591746501739512df2ce4d9a2a0df6e8e71fd.zip
gdb-1ed591746501739512df2ce4d9a2a0df6e8e71fd.tar.gz
gdb-1ed591746501739512df2ce4d9a2a0df6e8e71fd.tar.bz2
gdb/
* dwarf2read.c (psymtab_include_file_name): Extend the function comment.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 0e636b4..519eee8 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,