reading register information from corefile

Daniel Jacobowitz drow@false.org
Tue Feb 28 02:30:00 GMT 2006


On Mon, Feb 27, 2006 at 09:46:13PM +0530, Harsha HS wrote:
> Hello,
> 
>  I am trying to build a corss gdb for mips r3k architecture. I am able
> to load any mips executable on gdb and can debug the same
> 
> But when i try to load core file i get the message that "GDB can't
> read core files on this machine".
> 
> Can u please help me by pointing to the code where I have to add to 
> struct target_ops the mips core file format and also the note section
> in the core file to read the register information for a standalone
> embedded application.

No, it's not in target_ops.  Take a look at
set_gdbarch_regset_from_core_section instead.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list