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

Side by Side Diff: gdb/testsuite/gdb.base/setshow.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
« no previous file with comments | « gdb/testsuite/gdb.base/setshow.c ('k') | gdb/testsuite/gdb.base/setvar.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1992, 1994, 1996-1998, 2001, 2003, 2007-2012 Free Software 1 # Copyright 1992, 1994, 1996-1998, 2001, 2003, 2007-2012 Free Software
2 # Foundation, Inc. 2 # Foundation, Inc.
3 3
4 # This program is free software; you can redistribute it and/or modify 4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by 5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or 6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version. 7 # (at your option) any later version.
8 # 8 #
9 # This program is distributed in the hope that it will be useful, 9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 12 # GNU General Public License for more details.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. 15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 16
17 # This file was written by Michael Snyder (msnyder@cygnus.com) 17 # This file was written by Michael Snyder (msnyder@cygnus.com)
18 18
19 if $tracelevel then {
20 strace $tracelevel
21 }
22
23 19
24 set testfile "setshow" 20 set testfile "setshow"
25 set srcfile ${testfile}.c 21 set srcfile ${testfile}.c
26 set binfile ${objdir}/${subdir}/${testfile} 22 set binfile ${objdir}/${subdir}/${testfile}
27 if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable {debug}] != "" } { 23 if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable {debug}] != "" } {
28 untested setshow.exp 24 untested setshow.exp
29 return -1 25 return -1
30 } 26 }
31 27
32 # Start with a fresh gdb 28 # Start with a fresh gdb
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 #test set width 90 235 #test set width 90
240 gdb_test_no_output "set width 90" "set width 90" 236 gdb_test_no_output "set width 90" "set width 90"
241 #test show width 90 237 #test show width 90
242 gdb_test "show width" "Number of characters gdb thinks are in a line is 90..*" " show width (90)" 238 gdb_test "show width" "Number of characters gdb thinks are in a line is 90..*" " show width (90)"
243 #test set write on 239 #test set write on
244 # This is only supported on targets which use exec.o. 240 # This is only supported on targets which use exec.o.
245 gdb_test_no_output "set write on" "set write on" 241 gdb_test_no_output "set write on" "set write on"
246 #test show write on 242 #test show write on
247 # This is only supported on targets which use exec.o. 243 # This is only supported on targets which use exec.o.
248 gdb_test "show write" "Writing into executable and core files is on..*" "show wr ite (on)" 244 gdb_test "show write" "Writing into executable and core files is on..*" "show wr ite (on)"
249 #test set symbol-reloading on
250 gdb_test_no_output "set symbol-reloading on" "set symbol-reloading on"
251 #test show symbol-reloading on
252 gdb_test "show symbol-reloading" "Dynamic symbol table reloading multiple times in one run is on..*" "show symbol-reloading (on)"
253 #test show user 245 #test show user
254 gdb_test_no_output "show user" "show user" 246 gdb_test_no_output "show user" "show user"
255 #test set verbose on 247 #test set verbose on
256 gdb_test_no_output "set verbose on" "set verbose on" 248 gdb_test_no_output "set verbose on" "set verbose on"
257 #test show verbose on 249 #test show verbose on
258 gdb_test "show verbose" "Verbose printing of informational messages is on..*" "s how verbose (on)" 250 gdb_test "show verbose" "Verbose printing of informational messages is on..*" "s how verbose (on)"
259 #test set verbose off 251 #test set verbose off
260 gdb_test_no_output "set verbose off" "set verbose off" 252 gdb_test_no_output "set verbose off" "set verbose off"
261 #test show verbose off 253 #test show verbose off
262 gdb_test "show verbose" "Verbosity is off..*" "show verbose (off)" 254 gdb_test "show verbose" "Verbosity is off..*" "show verbose (off)"
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/setshow.c ('k') | gdb/testsuite/gdb.base/setvar.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698