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