aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-11-22 19:18:28 +0000
committerPedro Alves <palves@redhat.com>2013-11-22 19:19:13 +0000
commitc0621699ffdbeea387ea37a90258939540b26424 (patch)
tree7c2af529c8f6fc01635fbb5c81dbcb44327c89c5 /gdb/testsuite
parentf57e61cdf634ed7ff8c18edee8154fd92f8b2583 (diff)
downloadgdb-c0621699ffdbeea387ea37a90258939540b26424.zip
gdb-c0621699ffdbeea387ea37a90258939540b26424.tar.gz
gdb-c0621699ffdbeea387ea37a90258939540b26424.tar.bz2
Rename gdb.dwarf2/dw2-bad-cfi.* to gdb.dwarf2/dw2-unspecified-ret-addr.*.
gdb/testsuite/ 2013-11-22 Pedro Alves <palves@redhat.com> * gdb.dwarf2/dw2-bad-cfi.S: Rename to ... * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust. * gdb.dwarf2/dw2-bad-cfi.c: Rename to ... * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this. * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ... * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog9
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.S (renamed from gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S)26
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.c (renamed from gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.c)0
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.exp (renamed from gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.exp)0
4 files changed, 22 insertions, 13 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index e8bdc10..37537bc 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2013-11-22 Pedro Alves <palves@redhat.com>
+
+ * gdb.dwarf2/dw2-bad-cfi.S: Rename to ...
+ * gdb.dwarf2/dw2-unspecified-ret-addr.S: ... this. Adjust.
+ * gdb.dwarf2/dw2-bad-cfi.c: Rename to ...
+ * gdb.dwarf2/dw2-unspecified-ret-addr.c: ... this.
+ * gdb.dwarf2/dw2-bad-cfi.exp: Rename to ...
+ * gdb.dwarf2/dw2-unspecified-ret-addr.exp: ... this.
+
2013-11-22 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/dw2-bad-cfi.S: Update comment.
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S b/gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.S
index ab3a967..d9c2809 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.S
@@ -1,16 +1,16 @@
-# This file was created by running dw2-bad-cfi.c
+# This file was created by running dw2-unspecified-ret-addr.c
# through 'gcc -g -dA -S', and then hand-editing
# the CFI in "callee" to suit.
- .file "dw2-bad-cfi.c"
+ .file "dw2-unspecified-ret-addr.c"
.text
.Ltext0:
.globl callee
.type callee, @function
callee:
.LFB0:
- .file 1 "dw2-bad-cfi.c"
- # dw2-bad-cfi.c:20
+ .file 1 "dw2-unspecified-ret-addr.c"
+ # dw2-unspecified-ret-addr.c:20
.loc 1 20 0
.cfi_startproc
# BLOCK 2 seq:0
@@ -22,7 +22,7 @@ callee:
*/
movq %rsp, %rbp
/* .cfi_def_cfa_register 6 */
- # dw2-bad-cfi.c:21
+ # dw2-unspecified-ret-addr.c:21
.loc 1 21 0
popq %rbp
/* .cfi_def_cfa 7, 8 */
@@ -39,7 +39,7 @@ callee:
.type main, @function
main:
.LFB1:
- # dw2-bad-cfi.c:25
+ # dw2-unspecified-ret-addr.c:25
.loc 1 25 0
.cfi_startproc
# BLOCK 2 seq:0
@@ -49,13 +49,13 @@ main:
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
- # dw2-bad-cfi.c:26
+ # dw2-unspecified-ret-addr.c:26
.loc 1 26 0
call callee
- # dw2-bad-cfi.c:27
+ # dw2-unspecified-ret-addr.c:27
.loc 1 27 0
movl $0, %eax
- # dw2-bad-cfi.c:28
+ # dw2-unspecified-ret-addr.c:28
.loc 1 28 0
popq %rbp
.cfi_def_cfa 7, 8
@@ -74,7 +74,7 @@ main:
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit)
.long .LASF0 # DW_AT_producer: "GNU C 4.7.2 20121109 (Red Hat 4.7.2-8) -mtune=generic -march=x86-64 -g"
.byte 0x1 # DW_AT_language
- .long .LASF1 # DW_AT_name: "dw2-bad-cfi.c"
+ .long .LASF1 # DW_AT_name: "dw2-unspecified-ret-addr.c"
.long .LASF2 # DW_AT_comp_dir: "/home/tromey/gnu/gdb/devel/binutils-gdb/gdb/testsuite/gdb.dwarf2"
.quad .Ltext0 # DW_AT_low_pc
.quad .Letext0 # DW_AT_high_pc
@@ -82,7 +82,7 @@ main:
.uleb128 0x2 # (DIE (0x2d) DW_TAG_subprogram)
# DW_AT_external
.long .LASF3 # DW_AT_name: "callee"
- .byte 0x1 # DW_AT_decl_file (dw2-bad-cfi.c)
+ .byte 0x1 # DW_AT_decl_file (dw2-unspecified-ret-addr.c)
.byte 0x13 # DW_AT_decl_line
# DW_AT_prototyped
.quad .LFB0 # DW_AT_low_pc
@@ -93,7 +93,7 @@ main:
.uleb128 0x3 # (DIE (0x46) DW_TAG_subprogram)
# DW_AT_external
.long .LASF4 # DW_AT_name: "main"
- .byte 0x1 # DW_AT_decl_file (dw2-bad-cfi.c)
+ .byte 0x1 # DW_AT_decl_file (dw2-unspecified-ret-addr.c)
.byte 0x18 # DW_AT_decl_line
# DW_AT_prototyped
.long 0x63 # DW_AT_type
@@ -206,7 +206,7 @@ main:
.LASF3:
.string "callee"
.LASF1:
- .string "dw2-bad-cfi.c"
+ .string "dw2-unspecified-ret-addr.c"
.LASF2:
.string "/home/tromey/gnu/gdb/devel/binutils-gdb/gdb/testsuite/gdb.dwarf2"
.LASF4:
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.c b/gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.c
index f5b415b..f5b415b 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.c
+++ b/gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.c
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.exp b/gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.exp
index 12b1275..12b1275 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.exp