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]

Re: reading register information from corefile


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


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