This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] don't test long long return on h8
- From: Michael Snyder <msnyder at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 23 Jul 2003 11:56:49 -0700
- Subject: [PATCH] don't test long long return on h8
long long is returned like a struct on h8 (by reference), and gdb can't
do that.
2003-07-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/return2.exp: Don't test long-long return.
Index: gdb.base/return2.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/return2.exp,v
retrieving revision 1.3
diff -p -r1.3 return2.exp
*** gdb.base/return2.exp 16 Jul 2001 18:49:43 -0000 1.3
--- gdb.base/return2.exp 23 Jul 2003 18:53:02 -0000
*************** proc return2_tests { } {
*** 109,115 ****
return_1 "short"
return_1 "int"
return_1 "long"
! if { ! [istarget "m6811-*-*"] } then {
return_1 "long_long"
}
return_1 "float"
--- 109,115 ----
return_1 "short"
return_1 "int"
return_1 "long"
! if { ! [istarget "m6811-*-*"] && ![istarget "h8300*-*"] } then {
return_1 "long_long"
}
return_1 "float"