diff options
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r-- | gdb/corelow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c index 49da9be..2b7a355 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -626,7 +626,7 @@ core_target_open (const char *arg, int from_tty) gdb::unique_xmalloc_ptr<char> filename (tilde_expand (arg)); if (strlen (filename.get ()) != 0 && !IS_ABSOLUTE_PATH (filename.get ())) - filename = make_unique_xstrdup (gdb_abspath (filename.get ()).c_str ()); + filename = make_unique_xstrdup (gdb_abspath (filename).c_str ()); flags = O_BINARY | O_LARGEFILE; if (write_files) |