diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tracepoint.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d49a4db8d2d..d2175026bb9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-08-09 Pedro Alves <palves@redhat.com> + * tracepoint.c (tfile_start): Show tilde-expanded filename in + error message. + +2013-08-09 Pedro Alves <palves@redhat.com> + * breakpoint.c (save_breakpoints): Show tilde-expanded filename in error message. diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index ce61fb7b2f6..7dbe54b2753 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -3163,7 +3163,7 @@ tfile_start (struct trace_file_writer *self, const char *filename) writer->fp = gdb_fopen_cloexec (writer->pathname, "wb"); if (writer->fp == NULL) error (_("Unable to open file '%s' for saving trace data (%s)"), - filename, safe_strerror (errno)); + writer->pathname, safe_strerror (errno)); } /* This is the implementation of trace_file_write_ops method |