Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Fabian Cenedese <Cenedese@indel.ch>
To: gdb@sources.redhat.com
Subject: Re: core file not loaded
Date: Wed, 06 Oct 2004 16:22:00 -0000	[thread overview]
Message-ID: <5.2.0.9.1.20041006160537.01bce208@NT_SERVER> (raw)
In-Reply-To: <20041006134021.GB22197@nevyn.them.org>


>> gdb-6.1.1 on cygwin, target=PPC
>
>More specific - what target triplet?

Sorry, --host=i686-pc-cygwin --target=powerpc-eabi

>> I tried to read a core dump file of our embedded target, but gdb gives
>> me an error:
>> 
>> (gdb) core N:/Temp/SAMCLASS/MemDmp00.bin
>> GDB can't read core files on this machine.
>> (gdb) core
>> GDB can't read core files on this machine.
>> 
>> I looked for the error message in the sources and found this:
>> 
>> /* Find a single core_stratum target in the list of targets and return it.
>>    If for some reason there is more than one, return NULL.  */
>> 
>> But I couldn't see what's wrong. What is needed to work with a core file?
>
>The target needs to tell GDB how to load core files.  This is a highly
>OS-specific operation.

My understanding was, that I could take a memory snapshot of the
target (in this case about 4MB) and feed this to gdb so gdb will use
this file for read accesses instead of reading a physical target (in
addition to the symbolfile). Is this wrong? Or is this not a core file?

Thanks

bye  Fabi



  reply	other threads:[~2004-10-06 14:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06 11:50 Fabian Cenedese
2004-10-06 14:06 ` Daniel Jacobowitz
2004-10-06 16:22   ` Fabian Cenedese [this message]
2004-10-06 17:12     ` Daniel Jacobowitz
2004-10-06 17:45       ` Paul Koning
2004-10-06 17:45         ` Kris Warkentin
2004-10-06 17:55         ` Daniel Jacobowitz
2004-10-06 17:41 Xinan Tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.2.0.9.1.20041006160537.01bce208@NT_SERVER \
    --to=cenedese@indel.ch \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox