* linux-nat.c (linux_nat_thread_address_space): New.
authorPedro Alves <palves@redhat.com>
Tue, 20 Oct 2009 11:09:01 +0000 (11:09 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 20 Oct 2009 11:09:01 +0000 (11:09 +0000)
commitc069425482903a72eadc818c9c3c685df6170238
tree7a275c1bb27f5ec91032741c0e0e157255a0a9c4
parentdbde1c12721304ec89ee0326187ecedebd9da4ed
* linux-nat.c (linux_nat_thread_address_space): New.
(linux_nat_add_target): Install it.
* progspace.c (address_space_num): New.
* progspace.h (address_space_num): Declare.
* target.c (target_thread_address_space): Really query the target.
* target.h (struct target_ops) <to_thread_address_space>: New
field.
gdb/ChangeLog
gdb/linux-nat.c
gdb/progspace.c
gdb/progspace.h
gdb/target.c
gdb/target.h