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

Side by Side Diff: gdb/testsuite/gdb.stabs/weird.exp

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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.stabs/gdb11479.exp ('k') | gdb/testsuite/gdb.threads/attach-into-signal.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 1997-1999, 2001, 2003-2004, 2006-2012 Free Software 1 # Copyright 1997-2013 Free Software Foundation, Inc.
2 # Foundation, Inc.
3 2
4 # 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
5 # 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
6 # the Free Software Foundation; either version 3 of the License, or 5 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version. 6 # (at your option) any later version.
8 # 7 #
9 # 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,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 11 # GNU General Public License for more details.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 return -1 285 return -1
287 } 286 }
288 287
289 remote_file build delete ${srcfile} 288 remote_file build delete ${srcfile}
290 289
291 # Start with a fresh gdb 290 # Start with a fresh gdb
292 gdb_exit 291 gdb_exit
293 gdb_start 292 gdb_start
294 gdb_reinitialize_dir $srcdir/$subdir 293 gdb_reinitialize_dir $srcdir/$subdir
295 294
296 set binfile [remote_download host ${binfile} object.o] 295 set binfile [gdb_remote_download host ${binfile} \
296 » » [standard_output_file object.o]]
297 send_gdb "file $binfile\n" 297 send_gdb "file $binfile\n"
298 # If $binfile is very long, a \r (but not a \n) will echo in the 298 # If $binfile is very long, a \r (but not a \n) will echo in the
299 # middle of the echo of the command. So to match the echo, we 299 # middle of the echo of the command. So to match the echo, we
300 # would like to match anything not containing \n 300 # would like to match anything not containing \n
301 # (we would prefer to be sure not to match any warning message). 301 # (we would prefer to be sure not to match any warning message).
302 # But \[^\n\]* doesn't seem to work, so instead use the heuristic 302 # But \[^\n\]* doesn't seem to work, so instead use the heuristic
303 # that a filename won't contain a space and a warning message will. 303 # that a filename won't contain a space and a warning message will.
304 # But spaces following by backspaces aren't really spaces. 304 # But spaces following by backspaces aren't really spaces.
305 gdb_expect 60 { 305 gdb_expect 60 {
306 -re "^file (\[^ \]| +\008)*\r*\n" { 306 -re "^file (\[^ \]| +\008)*\r*\n" {
(...skipping 14 matching lines...) Expand all
321 return -1 321 return -1
322 } 322 }
323 eof { fail "(eof) cannot read weirdx.o" } 323 eof { fail "(eof) cannot read weirdx.o" }
324 } 324 }
325 325
326 do_tests 326 do_tests
327 327
328 remote_file host delete ${binfile} 328 remote_file host delete ${binfile}
329 329
330 return 0 330 return 0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.stabs/gdb11479.exp ('k') | gdb/testsuite/gdb.threads/attach-into-signal.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698