From: Daniel Jacobowitz <drow@false.org>
To: Harsha HS <harsha.hs.81@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: reading register information from corefile
Date: Tue, 28 Feb 2006 23:49:00 -0000 [thread overview]
Message-ID: <20060228155027.GA28777@nevyn.them.org> (raw)
In-Reply-To: <a4e409320602280745t549a4a71h2d08e3549785852a@mail.gmail.com>
On Tue, Feb 28, 2006 at 09:15:57PM +0530, Harsha HS wrote:
> I am trying to build a corss gdb for mips r3k architecture. When i try
> to load core file i get the message that "GDB can't read core files on
> this machine", as the function find_target_core returns NULL.
>
> find_target_core scans the struct target_ops for the core_stratum and
> returns the appropriate target structure.
>
> Can u please help me on how to initialize the struct target_ops with
> the relevent values to support the loading of the core file specific
> to mips target.
It sounds like you didn't link in core file support. Add it to
the list of target-specific files for your target - look at some of the
Linux or BSD targets for an example.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2006-02-28 15:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-27 16:33 Harsha HS
2006-02-28 2:30 ` Daniel Jacobowitz
2006-02-28 19:18 ` Harsha HS
2006-02-28 23:49 ` Daniel Jacobowitz [this message]
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=20060228155027.GA28777@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=harsha.hs.81@gmail.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