| Index: gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp
|
| diff --git a/gdb/testsuite/gdb.arch/amd64-tailcall-ret.exp b/gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp
|
| similarity index 73%
|
| copy from gdb/testsuite/gdb.arch/amd64-tailcall-ret.exp
|
| copy to gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp
|
| index 8460893fa3d337e5fe726e0e3194d735a7e290c3..73082b21c8d95148d7364263fe6e5b0f8b0f146d 100644
|
| --- a/gdb/testsuite/gdb.arch/amd64-tailcall-ret.exp
|
| +++ b/gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright (C) 2012 Free Software Foundation, Inc.
|
| +# Copyright (C) 2012-2013 Free Software Foundation, Inc.
|
| #
|
| # This program is free software; you can redistribute it and/or modify
|
| # it under the terms of the GNU General Public License as published by
|
| @@ -17,7 +17,7 @@ set opts {}
|
| standard_testfile .S
|
|
|
| if [info exists COMPILE] {
|
| - # make check RUNTESTFLAGS="gdb.arch/amd64-tailcall-ret.exp COMPILE=1"
|
| + # make check RUNTESTFLAGS="gdb.arch/amd64-entry-value-inline.exp COMPILE=1"
|
| standard_testfile
|
| lappend opts debug optimize=-O2
|
| } elseif { ![istarget x86_64-*-* ] || ![is_lp64_target] } {
|
| @@ -33,12 +33,8 @@ if ![runto_main] {
|
| return -1
|
| }
|
|
|
| -gdb_breakpoint "g"
|
| -gdb_continue_to_breakpoint "g" ".* v = 2;"
|
| +set srcfile $testfile.c
|
| +gdb_breakpoint [gdb_get_line_number "break-here"]
|
|
|
| -gdb_test "return" { f \(\); /\* second \*/} "return" \
|
| - {Make g return now\? \(y or n\) } "y"
|
| -
|
| -gdb_continue_to_breakpoint "g" ".* v = 2;"
|
| -
|
| -gdb_test "finish" " v = 3;"
|
| +gdb_continue_to_breakpoint "break-here" ".* break-here .*"
|
| +gdb_test "p y" " = 25"
|
|
|