Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2008-2012 Free Software Foundation, Inc. 1 # Copyright 2008-2012 Free Software Foundation, Inc.
2 2
3 # This program is free software; you can redistribute it and/or modify 3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by 4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or 5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version. 6 # (at your option) any later version.
7 # 7 #
8 # This program is distributed in the hope that it will be useful, 8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details. 11 # GNU General Public License for more details.
12 # 12 #
13 # You should have received a copy of the GNU General Public License 13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. 14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
16 # This file is part of the GDB testsuite. 16 # This file is part of the GDB testsuite.
17 # 17 #
18 # 'reverse-finish' used to have a bug where user breakpoints set at 18 # 'reverse-finish' used to have a bug where user breakpoints set at
19 # the functions entry would be ignored. Make sure the bug doesn't 19 # the functions entry would be ignored. Make sure the bug doesn't
20 # reappear. 20 # reappear.
21 21
22 if ![supports_reverse] { 22 if ![supports_reverse] {
23 return 23 return
24 } 24 }
25 25
26 set testfile "finish-reverse-bkpt" 26 standard_testfile finish-reverse.c
27 set srcfile finish-reverse.c
28 27
29 if { [prepare_for_testing $testfile.exp "$testfile" $srcfile] } { 28 if { [prepare_for_testing $testfile.exp "$testfile" $srcfile] } {
30 return -1 29 return -1
31 } 30 }
32 31
33 if ![runto_main] then { 32 if ![runto_main] then {
34 fail "Can't run to main" 33 fail "Can't run to main"
35 return 0 34 return 0
36 } 35 }
37 36
(...skipping 10 matching lines...) Expand all
48 47
49 gdb_test "break \*void_func" \ 48 gdb_test "break \*void_func" \
50 "Breakpoint $decimal at .*" \ 49 "Breakpoint $decimal at .*" \
51 "set breakpoint at void_func's entry" 50 "set breakpoint at void_func's entry"
52 51
53 gdb_test "reverse-finish" \ 52 gdb_test "reverse-finish" \
54 ".*Breakpoint .*, void_func.*" \ 53 ".*Breakpoint .*, void_func.*" \
55 "reverse-finish from void_func trips breakpoint at entry" 54 "reverse-finish from void_func trips breakpoint at entry"
56 55
57 gdb_test "frame" "#0 void_func.*" "no spurious proceed after breakpoint stop" 56 gdb_test "frame" "#0 void_func.*" "no spurious proceed after breakpoint stop"
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.reverse/finish-reverse.exp ('k') | gdb/testsuite/gdb.reverse/i386-precsave.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698