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] Sanitize gdbarch access on probe/SDT API


On Friday, December 06 2013, Pedro Alves wrote:

> On 12/06/2013 03:49 PM, Sergio Durigan Junior wrote:
>>> > With that out of the way, would it work to pass the frame pointer down
>>> >instead of the gdbarch?
>> You mean that the callers should pass the frame pointers, instead of the
>> relying on the callees to get it by themselves?
>
> Something like that.  I meant, the patch added a gdbarch parameter to
> a few functions, and then passes get_frame_arch (frame) down.

Sure, it can be done.  I will wait for Tom to commit that cleanup patch
of his, and then I'll rebase my modifications on top of it and do this
tweak you're asking.

Thanks,

-- 
Sergio


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