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

Side by Side Diff: gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.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 # Copyright 1997-1999, 2007-2012 Free Software Foundation, Inc. 1 # Copyright 1997-1999, 2007-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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 # a new frame on the inferior's stack (correct), it's going to use 74 # a new frame on the inferior's stack (correct), it's going to use
75 # that space for the array literals (incorrect). Remember that those 75 # that space for the array literals (incorrect). Remember that those
76 # array literals may need to be live long after the inferior function 76 # array literals may need to be live long after the inferior function
77 # call returns; GDB can't tell. 77 # call returns; GDB can't tell.
78 # 78 #
79 # What makes the confusion worse is that there *is* a relationship 79 # What makes the confusion worse is that there *is* a relationship
80 # between array literals and inferior function calls --- GDB uses 80 # between array literals and inferior function calls --- GDB uses
81 # inferior function calls to evaluate array literals. But many people 81 # inferior function calls to evaluate array literals. But many people
82 # jump to other, incorrect conclusions about this. 82 # jump to other, incorrect conclusions about this.
83 83
84 if $tracelevel then {
85 strace $tracelevel
86 }
87
88 84
89 if { [skip_hp_tests] } then { continue } 85 if { [skip_hp_tests] } then { continue }
90 86
91 set testfile "callfwmall" 87 set testfile "callfwmall"
92 set srcfile ${testfile}.c 88 set srcfile ${testfile}.c
93 set binfile ${objdir}/${subdir}/${testfile} 89 set binfile ${objdir}/${subdir}/${testfile}
94 90
95 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug}] != "" } { 91 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug}] != "" } {
96 untested callfwmall.exp 92 untested callfwmall.exp
97 return -1 93 return -1
98 } 94 }
99 95
100 # Create and source the file that provides information about the compiler 96 # Create and source the file that provides information about the compiler
101 # used to compile the test case. 97 # used to compile the test case.
102 98
103 if [get_compiler_info ${binfile}] { 99 if [get_compiler_info] {
104 return -1; 100 return -1;
105 } 101 }
106 102
107 if {$hp_aCC_compiler} { 103 if {$hp_aCC_compiler} {
108 set prototypes 1 104 set prototypes 1
109 } else { 105 } else {
110 set prototypes 0 106 set prototypes 0
111 } 107 }
112 108
113 109
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 if { ![runto_main] } { 325 if { ![runto_main] } {
330 gdb_suppress_tests; 326 gdb_suppress_tests;
331 } 327 }
332 } 328 }
333 } 329 }
334 330
335 gdb_test "next" ".*" 331 gdb_test "next" ".*"
336 do_function_calls 332 do_function_calls
337 333
338 return 0 334 return 0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.c ('k') | gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698