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

Side by Side Diff: gdb/testsuite/gdb.cell/bt.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.cell/break.exp ('k') | gdb/testsuite/gdb.cell/core.exp » ('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 2009, 2011-2012 Free Software Foundation, Inc. 1 # Copyright 2009, 2011-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
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 if { [gdb_cell_embedspu $spu2_bin $spu2_bin-embed.o {debug}] != "" } { 52 if { [gdb_cell_embedspu $spu2_bin $spu2_bin-embed.o {debug}] != "" } {
53 unsupported "Embedding spu binary failed." 53 unsupported "Embedding spu binary failed."
54 return -1 54 return -1
55 } 55 }
56 if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o $spu2_bin-embed.o] $p pu_bin executable {debug}] != "" } { 56 if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o $spu2_bin-embed.o] $p pu_bin executable {debug}] != "" } {
57 unsupported "Compiling ppu binary failed." 57 unsupported "Compiling ppu binary failed."
58 return -1 58 return -1
59 } 59 }
60 60
61 if [get_compiler_info ${ppu_bin}] { 61 if [get_compiler_info] {
62 return -1 62 return -1
63 } 63 }
64 64
65 gdb_exit 65 gdb_exit
66 gdb_start 66 gdb_start
67 gdb_reinitialize_dir $srcdir/$subdir 67 gdb_reinitialize_dir $srcdir/$subdir
68 gdb_load ${ppu_bin} 68 gdb_load ${ppu_bin}
69 69
70 if ![runto_main] then { 70 if ![runto_main] then {
71 fail "Can't run to main" 71 fail "Can't run to main"
(...skipping 10 matching lines...) Expand all
82 "Switching to thread $thread_id.*" \ 82 "Switching to thread $thread_id.*" \
83 "switch to thread $thread_id" 83 "switch to thread $thread_id"
84 gdb_test "backtrace" \ 84 gdb_test "backtrace" \
85 ".*crash_handler.*base.*offset.*<cross-architecture call>.*main.*spei d.*argp.*envp.*at.*$spu2_file.c.*<cross-architecture call>.*spe_context_run.*ind irect_handler.*base.*offset.*<cross-architecture call>.*main.*speid.*argp.*envp. *at.*$spu_file.c.*<cross-architecture call>.*spe_context_run.*spe_thread.*at.*$p pu_file.c.*" \ 85 ".*crash_handler.*base.*offset.*<cross-architecture call>.*main.*spei d.*argp.*envp.*at.*$spu2_file.c.*<cross-architecture call>.*spe_context_run.*ind irect_handler.*base.*offset.*<cross-architecture call>.*main.*speid.*argp.*envp. *at.*$spu_file.c.*<cross-architecture call>.*spe_context_run.*spe_thread.*at.*$p pu_file.c.*" \
86 "backtrace in thread $thread_id" 86 "backtrace in thread $thread_id"
87 } 87 }
88 88
89 gdb_exit 89 gdb_exit
90 90
91 return 0 91 return 0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.cell/break.exp ('k') | gdb/testsuite/gdb.cell/core.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698