[PATCH] Make AX engine fail gracefully due to unknown types

Luis Gustavo luis_gustavo@mentor.com
Wed Mar 7 18:23:00 GMT 2012


Hi,

The target-side conditionals patch exposes the AX engine to a wider 
range of use cases, and it does not seem to be prepared to handle all 
those right now.

One example is handling of unsupported types, like float. The proposed 
fix makes the AX engine fail gracefully when it sees unknown/unsupported 
types. It does this without compromising the debugging session like an 
internal error.

This fixes the internal error seen in gdb.cp/mb-templates.exp, where we 
have two locations for a single conditional breakpoint (i==1). The 
problem here is that i is INT for one of the locations and FLOAT for the 
other.

With the fix, GDB handles those two locations' conditions appropriately.

I've also reverted the KFAIL workaround for mb-templates.exp.

Regtested in X86.

Ok?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz13781.diff
Type: text/x-patch
Size: 2860 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120307/fbcd3372/attachment.bin>


More information about the Gdb-patches mailing list