Re: [PATCH] Multi-process + multi-arch: GDB

Pedro Alves
2012-11-09T18:47:45Z

On 11/09/2012 06:32 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> Please go ahead. 400 lines to touch, but you can easily
> Pedro> sed/script it, I guess. I'd rather keep get_target_gdbarch()
> Pedro> than do a full expansion to "current_inferior ()->gdbarch",
> Pedro> though.
>
> I was going to keep it, but rename it 'target_gdbarch', and drop the
> macro entirely.

I tried to follow the get_current_arch() precedent (was originally
current_gdbarch). Looking again, I messed up a bit, as get_target_arch()
would be even more in spirit.

But anyway is fine with me. You choose. ;-)

--
Pedro Alves