diff options
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r-- | gdb/linux-fork.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c index 4c6b623..2151401 100644 --- a/gdb/linux-fork.c +++ b/gdb/linux-fork.c @@ -29,6 +29,7 @@ #include "linux-fork.h" #include "linux-nat.h" #include "gdbthread.h" +#include "source.h" #include <sys/ptrace.h> #include "gdb_wait.h" @@ -583,7 +584,8 @@ info_checkpoints_command (char *arg, int from_tty) sal = find_pc_line (pc, 0); if (sal.symtab) - printf_filtered (_(", file %s"), lbasename (sal.symtab->filename)); + printf_filtered (_(", file %s"), + symtab_to_filename_for_display (sal.symtab)); if (sal.line) printf_filtered (_(", line %d"), sal.line); if (!sal.symtab && !sal.line) |