[PATCH] Fix print of value type in a corner case of finish

Antoine Tremblay antoine.tremblay@ericsson.com
Thu Feb 26 15:44:00 GMT 2015


On 02/26/2015 10:18 AM, Pedro Alves wrote:
> I think that we make the test return a big enough
> structure, we'll hit RETURN_VALUE_STRUCT_CONVENTION on most
> architectures (but not x86...)?
Yes that's what led me to believe I needed something arch specific but 
indeed it may not totally be..
> So the regex here is too lax and missed this bug.  Could you
> tweak it to make sure some type was output?
Wow I had totally missed that , Thanks!!

Patch v2 coming up in a few secs...

In that patch I check that I actually get the right struct type :)
(I tested the patch by simulating the condition and it works fine)

Regards,

Antoine



More information about the Gdb-patches mailing list