aboutsummaryrefslogtreecommitdiff
path: root/gdb/gould-xdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gould-xdep.c')
-rw-r--r--gdb/gould-xdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gould-xdep.c b/gdb/gould-xdep.c
index 36d6b20..bd6276d 100644
--- a/gdb/gould-xdep.c
+++ b/gdb/gould-xdep.c
@@ -119,7 +119,7 @@ core_file_command (filename, from_tty)
corefile = savestring (filename, strlen (filename));
else
{
- corefile = concat (current_directory, "/", filename);
+ corefile = concat (current_directory, "/", filename, NULL);
}
set_current_frame ( create_new_frame (read_register (FP_REGNUM),