Fix set debug frame output
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Sep 2013 20:01:25 +0000 (20:01 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Sep 2013 20:01:25 +0000 (20:01 +0000)
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.

gdb/ChangeLog
gdb/frame.c

index 5a26dcd8522c74928066fd57f17b0fcd7c0026c4..a906fe9f250994287688a7ac51889d11b35d9a39 100644 (file)
@@ -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
index d52c26a667a62896c8412b5b30f8a7284bd80214..eace738903fedb47d857f73c9652880d5fff673e 100644 (file)
@@ -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;
This page took 0.031375 seconds and 4 git commands to generate.