[rfc] [08/09] Get rid of current_gdbarch (infcall)
Markus Deuling
deuling@de.ibm.com
Tue Nov 6 12:05:00 GMT 2007
Ulrich Weigand schrieb:
> Markus Deuling wrote:
>
>> * infcall.c (call_function_by_hand): Use get_frame_arch to get at the
>> current architecture by frame_info.
>
> This part is fine.
>
> is defined for, determined at the time the value is generated.
>
> If we can make that happen, there will be no need to pass an additional
> gdbarch parameter to find_function_addr. Thus, I'd prefer to defer this
> interface change until we have resolved that question.
Ok, then I withdraw this part of the patch. Attached is a new version with only the upper part.
Tested by running testsuite on x86. Ok to commit?
ChangeLog:
* infcall.c (call_function_by_hand): Use get_frame_arch to get at the
current architecture by frame_info.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-infcall
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20071106/bf35b450/attachment.ksh>
More information about the Gdb-patches
mailing list