This is the mail archive of the gdb@sources.redhat.com 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: arm core analysis on x86 host


On Mon, Mar 28, 2005 at 07:48:44PM -0500, Jon Ringle wrote:
> On Monday 28 March 2005 18:57, Daniel Jacobowitz wrote:
> > On Mon, Mar 28, 2005 at 06:29:19PM -0500, Jon Ringle wrote:
> > > 1) Can the current gdb analyze an arm core dump?
> > > 2) If not, I would appreciate some pointers to help me add this support.
> >
> > Take a look at any target which registers core functions in a tdep
> > file, instead of a nat file.  arm-linux still does it in the nat file.
> > That just needs to be fixed.
> 
> I looked at mips-linux-tdep.c as an example and it uses:
> 	deprecated_add_core_fns (&regset_core_fns);
> 
> Is there a non-deprecated version I should be use instead? Is there a better 
> example to follow?

Try anything using set_gdbarch_regset_from_core_section.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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