aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-22 12:08:15 -0700
committerTom Tromey <tromey@redhat.com>2013-11-22 12:08:15 -0700
commitf57e61cdf634ed7ff8c18edee8154fd92f8b2583 (patch)
tree9a459079f80aa37a150044aec256355dc576ef6b
parentda2b2fdf57a96f7a5b6b153e94afb747e212b17f (diff)
downloadfsf-binutils-gdb-f57e61cdf634ed7ff8c18edee8154fd92f8b2583.zip
fsf-binutils-gdb-f57e61cdf634ed7ff8c18edee8154fd92f8b2583.tar.gz
fsf-binutils-gdb-f57e61cdf634ed7ff8c18edee8154fd92f8b2583.tar.bz2
update comment in dw2-bad-cfi.S.
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.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 74a1e06..e8bdc10 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S b/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S
index 9a97889..ab3a967 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S
@@ -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%]