This is the mail archive of the gdb-patches@sources.redhat.com 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] |
On Oct 23, 12:26pm, Andrew Cagney wrote:
> On Oct 22, 9:37pm, Andrew Cagney wrote:
> >
>> The attached rewrites the PPC64 GNU/Linux convert_from_func_ptr_addr >> method so that it makes use of the explicit "struct target_ops" >> parameter I recently added (previously it was indirectly using >> current_target).
> > IMO, this version of the code is harder to read than the old version.
> Can you explain what using an explicit `struct target_ops'' parameter > buys us?
By using the explicit "struct target_ops", I've eliminated the assumption that the _single_ _global_ current_target contains the function descriptor.
Yes. But what does this buy us? I.e, what will we be able to do after this patch that we couldn't do before?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |