aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-08-30 15:32:45 +0000
committerPedro Alves <palves@redhat.com>2013-08-30 15:32:45 +0000
commite0162910f16c309b8bc642cfb1558babe92993f7 (patch)
tree3e71924d8fd6eb91da82961aae9fba7396270c16 /gdb/ChangeLog
parent6391ce51cfe734d80b0917facd3788b9bf2e757c (diff)
downloadgdb-e0162910f16c309b8bc642cfb1558babe92993f7.zip
gdb-e0162910f16c309b8bc642cfb1558babe92993f7.tar.gz
gdb-e0162910f16c309b8bc642cfb1558babe92993f7.tar.bz2
restore_selected_frame: tweak warning.
I noticed SRC_LINE has special handling within print_stack_frame (mid statement handling), so I audited all uses, and noticed the one in restore_selected_frame. I actually added this warning myself back in 2008, but reading back, I think we can do better. "reparsed frame" is probably confusing to users. Old: warning: Couldn't restore frame #2 in current thread, at reparsed frame #0 45 w = 0; (gdb) New: warning: Couldn't restore frame #2 in current thread. Bottom (innermost) frame selected: #0 foo () at foo.c:45 45 w = 0; (gdb) Tested on x86_64 Fedora 17. gdb/ 2013-08-30 Pedro Alves <palves@redhat.com> * thread.c (restore_selected_frame): Use SRC_AND_LOC, and change warning text.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2b8d8eb..18ecb44 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2013-08-30 Pedro Alves <palves@redhat.com>
+ * thread.c (restore_selected_frame): Use SRC_AND_LOC, and change
+ warning text.
+
+2013-08-30 Pedro Alves <palves@redhat.com>
+
* bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd):
Adjust arguments to print_stack_frame.