diff options
author | Pedro Alves <palves@redhat.com> | 2013-08-09 15:33:09 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-08-09 15:33:09 +0000 |
commit | c718be4726f8cfaf28c3eb086d5880f0320c1c25 (patch) | |
tree | 0e82ada9d6c3b3c55dc96d0ba8d4d39bdd965efe /gdb/ChangeLog | |
parent | 1e351ed1b3618fe0fde1db012bcdc56900d63700 (diff) | |
download | gdb-c718be4726f8cfaf28c3eb086d5880f0320c1c25.zip gdb-c718be4726f8cfaf28c3eb086d5880f0320c1c25.tar.gz gdb-c718be4726f8cfaf28c3eb086d5880f0320c1c25.tar.bz2 |
save breakpoints: Make tilde-expanded filename visible.
Most commands in GDB show the tilde-expanded filename in user visible
output. This makes "save breakpoints" behave the same.
Before:
(gdb) save breakpoints ~/a/b
Unable to open file '~/a/b' for saving (No such file or directory)
After:
(gdb) save breakpoints ~/a/b
Unable to open file '/home/pedro/a/b' for saving (No such file or directory)
Tested on x86_64 Fedora 17.
gdb/
2013-08-09 Pedro Alves <palves@redhat.com>
* breakpoint.c (save_breakpoints): Show tilde-expanded filename in
error message.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 65781db..d49a4db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-08-09 Pedro Alves <palves@redhat.com> + * breakpoint.c (save_breakpoints): Show tilde-expanded filename in + error message. + +2013-08-09 Pedro Alves <palves@redhat.com> + * gcore.c (create_gcore_bfd): Don't use tilde_expand here. (gcore_command): Use tilde_expand here, and when showing the filename to the user, show the expanded version. |