* symtab.c (lookup_partial_symtab): Use psymtab_to_fullname.
(lookup_partial_symtab): Use symtab_to_fullname.
This commit is contained in:
parent
d73f140ac2
commit
d9c8471e30
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-09-20 Daniel Jacobowitz <dan@debian.org>
|
||||
|
||||
* symtab.c (lookup_partial_symtab): Use psymtab_to_fullname.
|
||||
(lookup_partial_symtab): Use symtab_to_fullname.
|
||||
|
||||
2004-09-19 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* minsyms.c (lookup_minimal_symbol): Doc fix.
|
||||
|
|
|
@ -272,8 +272,7 @@ lookup_partial_symtab (const char *name)
|
|||
this symtab and use its absolute path. */
|
||||
if (full_path != NULL)
|
||||
{
|
||||
if (pst->fullname == NULL)
|
||||
source_full_path_of (pst->filename, &pst->fullname);
|
||||
psymtab_to_fullname (pst);
|
||||
if (pst->fullname != NULL
|
||||
&& FILENAME_CMP (full_path, pst->fullname) == 0)
|
||||
{
|
||||
|
@ -284,8 +283,7 @@ lookup_partial_symtab (const char *name)
|
|||
if (real_path != NULL)
|
||||
{
|
||||
char *rp = NULL;
|
||||
if (pst->fullname == NULL)
|
||||
source_full_path_of (pst->filename, &pst->fullname);
|
||||
psymtab_to_fullname (pst);
|
||||
if (pst->fullname != NULL)
|
||||
{
|
||||
rp = gdb_realpath (pst->fullname);
|
||||
|
|
Loading…
Reference in a new issue