From 58d370e0e6b0b1cc1df5b587ca39a14e975f5850 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 21 Dec 2001 22:32:37 +0000 Subject: * 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. --- gdb/defs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index 48adef5139d..e573854be24 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 *); -- cgit v1.2.1