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

Side by Side Diff: gdb/testsuite/gdb.base/so-impl-ld.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/skip.exp ('k') | gdb/testsuite/gdb.base/so-indr-cl.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 1997-2001, 2003, 2005, 2007-2012 Free Software Foundation, 1 # Copyright 1997-2001, 2003, 2005, 2007-2012 Free Software Foundation,
2 # Inc. 2 # 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 if $tracelevel then {
18 strace $tracelevel
19 }
20
21 17
22 if {[skip_shlib_tests]} { 18 if {[skip_shlib_tests]} {
23 return 0 19 return 0
24 } 20 }
25 21
26 set testfile "so-impl-ld" 22 set testfile "so-impl-ld"
27 set libfile "solib1" 23 set libfile "solib1"
28 set srcfile $srcdir/$subdir/$testfile.c 24 set srcfile $srcdir/$subdir/$testfile.c
29 set libsrc $srcdir/$subdir/$libfile.c 25 set libsrc $srcdir/$subdir/$libfile.c
30 set binfile $objdir/$subdir/$testfile 26 set binfile $objdir/$subdir/$testfile
31 set lib_sl $objdir/$subdir/$libfile.sl 27 set lib_sl $objdir/$subdir/$libfile.sl
32 28
33 set lib_opts debug 29 set lib_opts debug
34 set exec_opts [list debug shlib=$lib_sl] 30 set exec_opts [list debug shlib=$lib_sl]
35 31
36 if [get_compiler_info ${binfile}] { 32 if [get_compiler_info] {
37 return -1 33 return -1
38 } 34 }
39 35
40 if [get_compiler_info ${binfile}] { 36 if [get_compiler_info] {
41 return -1 37 return -1
42 } 38 }
43 39
44 if [test_compiler_info "hpcc-*"] { 40 if [test_compiler_info "hpcc-*"] {
45 lappend exec_opts "additional_flags=-Ae" 41 lappend exec_opts "additional_flags=-Ae"
46 } 42 }
47 43
48 if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" 44 if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != ""
49 || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { 45 || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} {
50 untested "Couldn't compile $libsrc or $srcfile." 46 untested "Couldn't compile $libsrc or $srcfile."
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 88 }
93 89
94 gdb_exit 90 gdb_exit
95 return 0 91 return 0
96 92
97 93
98 94
99 95
100 96
101 97
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/skip.exp ('k') | gdb/testsuite/gdb.base/so-indr-cl.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698