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] Fix print of value type in a corner case of finish



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


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