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

Side by Side Diff: gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04.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.hp/gdb.objdbg/objdbg03.exp ('k') | gdb/testsuite/gdb.java/Makefile.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}/objdbg04 11 set srcsubdir ${srcdir}/${subdir}/objdbg04
12 set objdbgdir ${objdir}/${subdir}/objdbg04 12 set objdbgdir ${objdir}/${subdir}/objdbg04
13 set binfile ${objdbgdir}/${testfile} 13 set binfile ${objdbgdir}/${testfile}
14 set toolssubdir ${srcdir}/${subdir}/tools 14 set toolssubdir ${srcdir}/${subdir}/tools
15 set symaddrfile ${toolssubdir}/symaddr 15 set symaddrfile ${toolssubdir}/symaddr
16 16
17 # Create and source the file that provides information about the compiler 17 # Create and source the file that provides information about the compiler
18 # used to compile the test case. 18 # used to compile the test case.
19 if [get_compiler_info ${binfile}] { 19 if [get_compiler_info] {
20 return -1 20 return -1
21 } 21 }
22 22
23 if {!$hp_aCC_compiler && !$hp_cc_compiler} { 23 if {!$hp_aCC_compiler && !$hp_cc_compiler} {
24 return 0 24 return 0
25 } 25 }
26 26
27 if { [gdb_compile "${toolssubdir}/test-objdbg.cc" "${objdbgdir}/test-objdbg.o" o bject "debug c++ {additional_flags=-I${toolssubdir} +objdebug}"] != "" } { 27 if { [gdb_compile "${toolssubdir}/test-objdbg.cc" "${objdbgdir}/test-objdbg.o" o bject "debug c++ {additional_flags=-I${toolssubdir} +objdebug}"] != "" } {
28 untested objdbg04.exp 28 untested objdbg04.exp
29 return -1 29 return -1
(...skipping 27 matching lines...) Expand all
57 gdb_exit 57 gdb_exit
58 gdb_start 58 gdb_start
59 gdb_reinitialize_dir ${srcsubdir} 59 gdb_reinitialize_dir ${srcsubdir}
60 gdb_load ${binfile}${filenum} 60 gdb_load ${binfile}${filenum}
61 61
62 gdb_test "ptype Adder" "type = template <class T> (class |)Adder {..*T val.*;. *}(.*template instantiations:.*Adder<int>|)" 62 gdb_test "ptype Adder" "type = template <class T> (class |)Adder {..*T val.*;. *}(.*template instantiations:.*Adder<int>|)"
63 gdb_test "ptype Adder<int>" "type = (class |)Adder<int> {.*private:.*int val;. *public:.*void set( |)\\(int\\);.*int get( |)\\(void\\);.*int add( |)\\(int\\);. *}" 63 gdb_test "ptype Adder<int>" "type = (class |)Adder<int> {.*private:.*int val;. *public:.*void set( |)\\(int\\);.*int get( |)\\(void\\);.*int add( |)\\(int\\);. *}"
64 gdb_test "ptype Adder" "type = template <class T> (class |)Adder {..*T val.*;. *}(.*template instantiations:.*Adder<int>|)" 64 gdb_test "ptype Adder" "type = template <class T> (class |)Adder {..*T val.*;. *}(.*template instantiations:.*Adder<int>|)"
65 65
66 } 66 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03.exp ('k') | gdb/testsuite/gdb.java/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698