aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-06-04 12:34:11 +0000
committerDaniel Jacobowitz <drow@false.org>2007-06-04 12:34:11 +0000
commite1024ff1ddc5fdc00175c3fa2bdfdea412d6687f (patch)
tree2925881313e29580ac614cb86abcf39825df9d57 /gdb/defs.h
parent9dfacfd20b2906ee57cfbca7ee11631c0d82c1d5 (diff)
downloadgdb-e1024ff1ddc5fdc00175c3fa2bdfdea412d6687f.zip
gdb-e1024ff1ddc5fdc00175c3fa2bdfdea412d6687f.tar.gz
gdb-e1024ff1ddc5fdc00175c3fa2bdfdea412d6687f.tar.bz2
* defs.h (ldirname): New prototype.
* dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is missing. * utils.c (ldirname): New function. * xml-tdesc.c (file_read_description_xml): Use ldirname.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 1ce9184..4e2d1c0 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -417,6 +417,8 @@ extern unsigned long gnu_debuglink_crc32 (unsigned long crc,
ULONGEST strtoulst (const char *num, const char **trailer, int base);
+char *ldirname (const char *filename);
+
/* From demangle.c */
extern void set_demangling_style (char *);