(openp): Use xfullpath in place of gdb_realpath to avoid resolving the
authorJoel Brobecker <brobecker@gnat.com>
Fri, 5 Apr 2002 16:40:45 +0000 (16:40 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 5 Apr 2002 16:40:45 +0000 (16:40 +0000)
commita89f66e45baa2c50abda9b316fe0c93c3168045e
treea34a4454311f5f7007ee727a5a5e9c52d5e146c3
parent08b204d1d1d31ee81ef6868c42a88cd1056bd23a
(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.
gdb/source.c