This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Non-uniform address spaces
- From: Michael Eager <eager at eagercon dot com>
- To: gdb at sources dot redhat dot com
- Date: Sat, 23 Jun 2007 09:31:31 -0700
- Subject: Non-uniform address spaces
Any suggestions on how to support a target which has
a non-uniform address space? An address is a tuple which
includes a processor id, a thread id, and an offset.
There is a mapping function which translates the tuple
into a physical address.
Ideally, it would be nice to replace the current definition
of CORE_ADDR with a struct and add functions to to do
operations like increment/decrement address. But the
assumption that the address space is flat and that you
can do arithmetic on addresses is pervasive.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077