diff options
author | Bob Rossi <bob@brasko.net> | 2004-06-10 20:05:45 +0000 |
---|---|---|
committer | Bob Rossi <bob@brasko.net> | 2004-06-10 20:05:45 +0000 |
commit | 57c22c6ce1e294fcec9653c0cf2c37eb77225fe6 (patch) | |
tree | 1cf1db59680a0f24ebb22438fa5ef981bf8d8c74 /gdb/symtab.c | |
parent | 239ae8c7556347fead17ce5caef2e9a441e89e05 (diff) | |
download | gdb-57c22c6ce1e294fcec9653c0cf2c37eb77225fe6.zip gdb-57c22c6ce1e294fcec9653c0cf2c37eb77225fe6.tar.gz gdb-57c22c6ce1e294fcec9653c0cf2c37eb77225fe6.tar.bz2 |
Add the -file-list-exec-source-files command to MI.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index d9d94a0..bbcad17 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -181,7 +181,7 @@ got_symtab: if (full_path != NULL) { - const char *fp = symtab_to_filename (s); + const char *fp = symtab_to_fullname (s); if (FILENAME_CMP (full_path, fp) == 0) { return s; @@ -190,7 +190,7 @@ got_symtab: if (real_path != NULL) { - char *rp = gdb_realpath (symtab_to_filename (s)); + char *rp = gdb_realpath (symtab_to_fullname (s)); make_cleanup (xfree, rp); if (FILENAME_CMP (real_path, rp) == 0) { |