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] Multi-process + multi-arch: GDB


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


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