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

Re: Reading Linux core dumps in gdb for CRIS


Daniel Jacobowitz wrote:
> 
> Are you reading the corefile in on the native debugger in the same way
> (with the same sequence of commands)?  If you are, I'd be very
> surprised if it works - unless GDB doesn't parse the prologue on i386
> maybe?

Yes, same sequence of commands on native debugger: symbol-file,
core-file.  Backtrace didn't work though.

> Don't use symbol-file; use file (or exec-file?) or specify the file on
> gdb's command line.  Then we will open the file and map it, and
> everything will work out as expected.

Aah.  I had a feeling I was barking up the wrong tree, and indeed I
was.  Thanks a lot, it works fine now.

-- 
Orjan Friberg              E-mail: orjan.friberg@axis.com
Axis Communications AB     Phone:  +46 46 272 17 68


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