summaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-09-26 20:01:24 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-09-26 20:01:24 +0000
commit0365be41f904f540069211e8a2966b9aa0034e54 (patch)
tree7bd85d2f37be68bb4858c19f04693af4722a6ef5 /gdb/frame.c
parent079a0e43a24ef0f4490aea722599e632bd955182 (diff)
downloadgdb-0365be41f904f540069211e8a2966b9aa0034e54.tar.gz
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.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index d52c26a667a..eace738903f 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;