From 57c22c6ce1e294fcec9653c0cf2c37eb77225fe6 Mon Sep 17 00:00:00 2001 From: Bob Rossi Date: Thu, 10 Jun 2004 20:05:45 +0000 Subject: Add the -file-list-exec-source-files command to MI. --- gdb/symtab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/symtab.c') 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) { -- cgit v1.1