diff options
author | Tom Tromey <tromey@redhat.com> | 2001-12-21 22:32:37 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2001-12-21 22:32:37 +0000 |
commit | 58d370e0e6b0b1cc1df5b587ca39a14e975f5850 (patch) | |
tree | a9f4b92ec61a2199bbe1ee7d60063c67ce99263c /gdb/symtab.h | |
parent | a532ca62825cc3e09712af03d0dfaaf4ae96ffbf (diff) | |
download | gdb-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/symtab.h')
-rw-r--r-- | gdb/symtab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 841da4d..f01cbbe 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -967,6 +967,10 @@ struct partial_symtab char *filename; + /* Full path of the source file. NULL if not known. */ + + char *fullname; + /* Information about the object file from which symbols should be read. */ struct objfile *objfile; |