mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* 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.
This commit is contained in:
@@ -89,6 +89,12 @@ free_address_space (struct address_space *aspace)
|
||||
xfree (aspace);
|
||||
}
|
||||
|
||||
int
|
||||
address_space_num (struct address_space *aspace)
|
||||
{
|
||||
return aspace->num;
|
||||
}
|
||||
|
||||
/* Start counting over from scratch. */
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user