aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-09-26 20:01:25 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-09-26 20:01:25 +0000
commitb5eef7aadcf73494325b269973cfa6635b201161 (patch)
tree8f084d7d49585d3d1a1a01c38dd5bee39008bdef
parent5b856f360b037357d147f20b7c20d3d463692b18 (diff)
downloadgdb-b5eef7aadcf73494325b269973cfa6635b201161.zip
gdb-b5eef7aadcf73494325b269973cfa6635b201161.tar.gz
gdb-b5eef7aadcf73494325b269973cfa6635b201161.tar.bz2
Fix set debug frame output
gdb/ 2013-09-26 Jan Kratochvil <jan.kratochvil@redhat.com> Fix set debug frame output. * frame.c (fprint_frame_type): Add TAILCALL_FRAME entry. Move SENTINEL_FRAME entry lower to match enum frame_type order.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/frame.c7
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5a26dcd..a906fe9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2013-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix set debug frame output.
+ * frame.c (fprint_frame_type): Add TAILCALL_FRAME entry. Move
+ SENTINEL_FRAME entry lower to match enum frame_type order.
+
2013-09-26 Pierre Muller <muller@sourceware.org>
Replace constant values 8 to 15 by AMD64_R8_REGNUM to
diff --git a/gdb/frame.c b/gdb/frame.c
index d52c26a..eace738 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -314,8 +314,8 @@ fprint_frame_type (struct ui_file *file, enum frame_type type)
case INLINE_FRAME:
fprintf_unfiltered (file, "INLINE_FRAME");
return;
- case SENTINEL_FRAME:
- fprintf_unfiltered (file, "SENTINEL_FRAME");
+ case TAILCALL_FRAME:
+ fprintf_unfiltered (file, "TAILCALL_FRAME");
return;
case SIGTRAMP_FRAME:
fprintf_unfiltered (file, "SIGTRAMP_FRAME");
@@ -323,6 +323,9 @@ fprint_frame_type (struct ui_file *file, enum frame_type type)
case ARCH_FRAME:
fprintf_unfiltered (file, "ARCH_FRAME");
return;
+ case SENTINEL_FRAME:
+ fprintf_unfiltered (file, "SENTINEL_FRAME");
+ return;
default:
fprintf_unfiltered (file, "<unknown type>");
return;