This is the mail archive of the gdb@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]

GDB under multiple address spaces?


Hi,

We have a platform which consists of multiple address spaces. Each address space image is built independently and has an associated ELF file. At build time one can choose what all address spaces can be part of build or optionally one can choose to dynamically load them. Does GDB support debugging in this kind of environment; specifically some of the issues below
- Resolution of same named global variables in different address spaces?
print var1@address_space1
print var1@address_space2


- Loading and association of symbol-files with address_spaces?
  How to tell GDB that a elf file represents a address space.

- Dynamic loading
How does GDB know the section offsets? How to associate it with an address space?


Any tips of how to port GDB to understand multiple address spaces would be helpful.

thanks,
-rajiv


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