Document changes relative to the new xfullpath function.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 5 Apr 2002 16:43:14 +0000 (16:43 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 5 Apr 2002 16:43:14 +0000 (16:43 +0000)
gdb/ChangeLog

index 941680877e69772bf987bb83b4352c41635c87c5..f182b28553a596fe19b3c5aa3685a4a2a7a2419e 100644 (file)
@@ -1,3 +1,17 @@
+2002-04-05  J. Brobecker  <brobecker@gnat.com>
+
+       * utils.c (xfullpath): New function.
+       * defs.h (xfullpath): Add declaration.
+       * source.c (openp): Use xfullpath in place of gdb_realpath to
+       avoid resolving the basename part of filenames when the
+       associated file is a symbolic link. This fixes a potential
+       inconsistency between the filenames known to GDB and the
+       filenames it prints in the annotations.
+       * symtab.c (lookup_symtab): Use the new xfullpath function, in order
+       to be able to match a filename with either the real filename, or
+       the name of any symbolic link to this file.
+       (lookup_partial_symtab): Ditto.
+
 2002-04-04  Michael Snyder  <msnyder@redhat.com>
 
        * breakpoint.c: Add support for hardware breakpoints in overlays.