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

Side by Side Diff: gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03.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 # Test reading debug information from in object files. 1 # Test reading debug information from in object files.
2 2
3 if { [skip_hp_tests] } { continue } 3 if { [skip_hp_tests] } { continue }
4 4
5 if { ![istarget "hppa*-*-hpux*"] } { 5 if { ![istarget "hppa*-*-hpux*"] } {
6 verbose "HPUX test ignored for non-hppa targets." 6 verbose "HPUX test ignored for non-hppa targets."
7 return 0 7 return 0
8 } 8 }
9 9
10 set testfile "test" 10 set testfile "test"
11 set srcsubdir ${srcdir}/${subdir}/objdbg03 11 set srcsubdir ${srcdir}/${subdir}/objdbg03
12 set objdbgdir ${objdir}/${subdir}/objdbg03 12 set objdbgdir ${objdir}/${subdir}/objdbg03
13 set binfile ${objdbgdir}/${testfile} 13 set binfile ${objdbgdir}/${testfile}
14 set toolssubdir ${srcdir}/${subdir}/tools 14 set toolssubdir ${srcdir}/${subdir}/tools
15 if [istarget "hppa64-*-*"] { 15 if [istarget "hppa64-*-*"] {
16 set symaddrfile ${toolssubdir}/symaddr.pa64 16 set symaddrfile ${toolssubdir}/symaddr.pa64
17 } else { 17 } else {
18 set symaddrfile ${toolssubdir}/symaddr 18 set symaddrfile ${toolssubdir}/symaddr
19 } 19 }
20 20
21 # Create and source the file that provides information about the compiler 21 # Create and source the file that provides information about the compiler
22 # used to compile the test case. 22 # used to compile the test case.
23 if [get_compiler_info ${binfile}] { 23 if [get_compiler_info] {
24 return -1 24 return -1
25 } 25 }
26 26
27 if {!$hp_aCC_compiler && !$hp_cc_compiler} { 27 if {!$hp_aCC_compiler && !$hp_cc_compiler} {
28 return 0 28 return 0
29 } 29 }
30 30
31 if { [gdb_compile "${toolssubdir}/test-objdbg.cc" "${objdbgdir}/test-objdbg.o" o bject "debug c++ {additional_flags=-I${toolssubdir} +objdebug}"] != "" } { 31 if { [gdb_compile "${toolssubdir}/test-objdbg.cc" "${objdbgdir}/test-objdbg.o" o bject "debug c++ {additional_flags=-I${toolssubdir} +objdebug}"] != "" } {
32 untested objdbg03.exp 32 untested objdbg03.exp
33 return -1 33 return -1
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 gdb_test "p &data2" "..* = \\(int \[*\]\\) 0x${exec_output_data2}" 156 gdb_test "p &data2" "..* = \\(int \[*\]\\) 0x${exec_output_data2}"
157 gdb_test "p &data3" "..* = \\(int \[*\]\\) 0x${exec_output_data3}" 157 gdb_test "p &data3" "..* = \\(int \[*\]\\) 0x${exec_output_data3}"
158 gdb_test "p &data10" "..* = \\(int \[*\]\\) 0x${exec_output_data10}" 158 gdb_test "p &data10" "..* = \\(int \[*\]\\) 0x${exec_output_data10}"
159 gdb_test "p &data11" "..* = \\(int \[*\]\\) 0x${exec_output_data11}" 159 gdb_test "p &data11" "..* = \\(int \[*\]\\) 0x${exec_output_data11}"
160 gdb_test "p &common1" "..* = \\(int \[*\]\\) 0x${exec_output_common1}" 160 gdb_test "p &common1" "..* = \\(int \[*\]\\) 0x${exec_output_common1}"
161 gdb_test "p &common2" "..* = \\(int \[*\]\\) 0x${exec_output_common2}" 161 gdb_test "p &common2" "..* = \\(int \[*\]\\) 0x${exec_output_common2}"
162 gdb_test "p &common3" "..* = \\(int \[*\]\\) 0x${exec_output_common3}" 162 gdb_test "p &common3" "..* = \\(int \[*\]\\) 0x${exec_output_common3}"
163 gdb_test "p &common10" "..* = \\(int \[*\]\\) 0x${exec_output_common10}" 163 gdb_test "p &common10" "..* = \\(int \[*\]\\) 0x${exec_output_common10}"
164 gdb_test "p &common11" "..* = \\(int \[*\]\\) 0x${exec_output_common11}" 164 gdb_test "p &common11" "..* = \\(int \[*\]\\) 0x${exec_output_common11}"
165 } 165 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp ('k') | gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698