update comment in dw2-bad-cfi.S.
authorTom Tromey <tromey@redhat.com>
Fri, 22 Nov 2013 19:08:15 +0000 (12:08 -0700)
committerTom Tromey <tromey@redhat.com>
Fri, 22 Nov 2013 19:08:15 +0000 (12:08 -0700)
Pedro asked me to add a comment to dw2-bad-cfi.S explaining the nature
of the badness.

I'm checking this in.

2013-11-22  Tom Tromey  <tromey@redhat.com>

* gdb.dwarf2/dw2-bad-cfi.S: Update comment.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S

index 74a1e06..e8bdc10 100644 (file)
@@ -1,5 +1,9 @@
 2013-11-22  Tom Tromey  <tromey@redhat.com>
 
+       * gdb.dwarf2/dw2-bad-cfi.S: Update comment.
+
+2013-11-22  Tom Tromey  <tromey@redhat.com>
+
        * gdb.dwarf2/dw2-bad-cfi.c: New file.
        * gdb.dwarf2/dw2-bad-cfi.exp: New file.
        * gdb.dwarf2/dw2-bad-cfi.S: New file.
index 9a97889..ab3a967 100644 (file)
@@ -26,7 +26,8 @@ callee:
        .loc 1 21 0
        popq    %rbp
 /*     .cfi_def_cfa 7, 8 */
-       # Our little lies.
+       /* The bug we introduce is that the return address column is
+          unspecified.  In this case, there is no way to unwind.  */
        .cfi_undefined 6
        .cfi_return_column 6
 # SUCC: EXIT [100.0%]