From c0621699ffdbeea387ea37a90258939540b26424 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 22 Nov 2013 19:18:28 +0000 Subject: [PATCH] Rename gdb.dwarf2/dw2-bad-cfi.* to gdb.dwarf2/dw2-unspecified-ret-addr.*. gdb/testsuite/ 2013-11-22 Pedro Alves * 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. --- gdb/testsuite/ChangeLog | 9 ++++++++ .../{dw2-bad-cfi.S => dw2-unspecified-ret-addr.S} | 26 +++++++++++----------- .../{dw2-bad-cfi.c => dw2-unspecified-ret-addr.c} | 0 ...w2-bad-cfi.exp => dw2-unspecified-ret-addr.exp} | 0 4 files changed, 22 insertions(+), 13 deletions(-) rename gdb/testsuite/gdb.dwarf2/{dw2-bad-cfi.S => dw2-unspecified-ret-addr.S} (91%) rename gdb/testsuite/gdb.dwarf2/{dw2-bad-cfi.c => dw2-unspecified-ret-addr.c} (100%) rename gdb/testsuite/gdb.dwarf2/{dw2-bad-cfi.exp => dw2-unspecified-ret-addr.exp} (100%) 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 + + * 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 * 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 similarity index 91% rename from gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.S rename to 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 similarity index 100% rename from gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.c rename to 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 similarity index 100% rename from gdb/testsuite/gdb.dwarf2/dw2-bad-cfi.exp rename to gdb/testsuite/gdb.dwarf2/dw2-unspecified-ret-addr.exp -- 2.7.4