aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-12-21 22:32:37 +0000
committerTom Tromey <tromey@redhat.com>2001-12-21 22:32:37 +0000
commit58d370e0e6b0b1cc1df5b587ca39a14e975f5850 (patch)
treea9f4b92ec61a2199bbe1ee7d60063c67ce99263c /gdb/defs.h
parenta532ca62825cc3e09712af03d0dfaaf4ae96ffbf (diff)
downloadgdb-58d370e0e6b0b1cc1df5b587ca39a14e975f5850.zip
gdb-58d370e0e6b0b1cc1df5b587ca39a14e975f5850.tar.gz
gdb-58d370e0e6b0b1cc1df5b587ca39a14e975f5850.tar.bz2
* configure, config.in: Rebuilt.
* configure.in: Check for realpath. * defs.h (gdb_realpath): Declare. * symtab.h (partial_symtab): Added fullname field. * source.c (openp): Use gdb_realpath. (forget_cached_source_info): Clear full name of each partial symtab. * utils.c (gdb_realpath): New function. * symtab.c (lookup_symtab): Removed. (lookup_symtab_1): Renamed to lookup_symtab. (lookup_symtab): Look for real path. (lookup_partial_symtab): Likewise.
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 48adef51..e573854 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -575,6 +575,8 @@ extern void init_page_info (void);
extern CORE_ADDR host_pointer_to_address (void *ptr);
extern void *address_to_host_pointer (CORE_ADDR addr);
+extern char *gdb_realpath (const char *);
+
/* From demangle.c */
extern void set_demangling_style (char *);