[commit] Recover from struct-return internal errors

Andrew Cagney ac131313@redhat.com
Thu Nov 20 18:44:00 GMT 2003


> On Thu, 20 Nov 2003 13:07:18 -0500, Andrew Cagney <ac131313@redhat.com> said:
> 
> 
>> +	-re "A problem internal to GDB has been detected" {
>> +	    fail "${test} (GDB internal error 1)"
>> +	    gdb_internal_error_resync
>> +	}
> 
> 
> Could you get rid of some of these by using gdb_test_multiple instead
> of send_gdb/gdb_expect?  I haven't looked at structs.exp in detail, so
> I don't have any idea how possible that might be.

I've not really looked at gdb_test_multiple either so I guess we're even 
:-)  I do know that I can't use "gdb_test" as additional processing is 
required dependant on the output.

Andrew




More information about the Gdb-patches mailing list