This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Obviously i forgot to mention that this fixes PR 13781... :-)


On 03/07/2012 03:22 PM, Luis Gustavo wrote:
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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]