Re: [patch] More suggestive displaced-stepping memory error message

Yao Qi
2012-04-11T08:53:28Z

On 04/11/2012 04:41 PM, Jan Kratochvil wrote:
>> > So far,
>> > displaced_step_prepare returns 1 for success and 0 for queued request.
>> > We can add one more return value -1 for `unable to do displaced
>> > stepping', so that caller can go non-displaced-stepping path.
> We could discuss first more the cases when it can happen and it is not some
> GDB bug. So far I know only about the ld.so initialization.
>
> As I see there are concerns about the message I will just check in this part,
> it should be sufficient for troubleshooting.

Looks like it is a corner case, and throwing an error message is fine to me.

--
Yao (é½å°§)