Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Orjan Friberg <orjan.friberg@axis.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Extending corefile.exp to handle remote targets
Date: Thu, 05 Aug 2004 15:38:00 -0000	[thread overview]
Message-ID: <41125457.3060908@gnu.org> (raw)
In-Reply-To: <41125017.6030901@axis.com>

> I'm looking at testing the core dump functionality for CRIS (remote target, Linux-based).  (The gcore functionality is not an option for a remote target, right?).

There's also auxv.exp and, to a lesser extent, bigcore.exp.

I've actually been thinking of submitting a patch that splits auxv.exp 
in two - separately test auxv with corefile.  That way it's easier to 
differentiate between broken native and broken corefile auxv.

But what ever.

> I was thinking I should extend corefile.exp to work with a remote target, probably adding a register restoration check, and possibly even unifying it with gcore.exp - or is there a reason for the difference between the two?  On the surface it looks like the only difference is how the core file is generated.
> 
> Any hints or warnings before I proceed?

Watch out for BFD!

Writing cross core-files doesn't work because the relevant BFD code 
assumes HOST == TARGET :-(

It's been suggested that we [gdb] should instead implement our own local 
core file manipulation routines and bypass what's provided by BFD.

Andrew



  reply	other threads:[~2004-08-05 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-05 15:19 Orjan Friberg
2004-08-05 15:38 ` Andrew Cagney [this message]
2004-08-05 15:47 ` Daniel Jacobowitz
2004-08-06  8:05   ` Orjan Friberg
2004-08-11 19:17     ` Michael Snyder
2004-08-05 16:08 ` Michael Chastain

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=41125457.3060908@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=orjan.friberg@axis.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