Il 24/03/2013 21:39, Peter Maydell ha scritto: >> > >> > I guess the API was made with x86 in mind. I will see if the >> > requirement can be removed with some ifdefs in the dump.c file. >> > >> > (come to think of it, I guess this ARM code will need to use ELFCLASS64 >> > when we have physical memory > 4GiB (LPAE)) > It would be good to check whether that is correct -- mostly core > files are for dumps of a virtual address space so I don't know > whether gdb/etc would understand an ARM corefile which claimed > ELFCLASS64. (I mean understand it as an AArch32 corefile rather > than AArch64.)
Note that in this case we can choose between physical and virtual address space dumps. Virtual address space is mostly useful with gdb; physical address space can be used for example with "crash", a post-mortem kernel debugger. Paolo