From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
To: orjan.friberg@axis.com
Cc: kettenis@gnu.org, gdb-patches@sources.redhat.com,
hans-peter.nilsson@axis.com
Subject: Re: [CRIS] Reading core file selects "wrong" mach
Date: Mon, 13 Dec 2004 16:09:00 -0000 [thread overview]
Message-ID: <200412131544.iBDFixrT030718@ignucius.se.axis.com> (raw)
In-Reply-To: <41BDAA01.6080101@axis.com> (message from Orjan Friberg on Mon, 13 Dec 2004 15:41:05 +0100)
> Date: Mon, 13 Dec 2004 15:41:05 +0100
> From: Orjan Friberg <orjanf@axis.com>
> I guess the answer to this is 'no', but would it be possible (and correct) to
> use whatever machine was set when loading the corresponding program into GDB?
(I assume by that, you mean "as opposed to the core file".)
IMHO when there's a difference, the mach setting from the core
file should override (or at least augment) what's in the
program, because the core file supposedly comes from the "real"
hardware, so it supposedly has a narrower mach setting than that
in the program. Incompatible differences should be flagged as
an error (as in: wrong program used with the core file).
So, in my opinion "no".
(In this case, I think there should be no difference in mach
settings between core and program, but that wasn't the
question.)
brgds, H-P
next prev parent reply other threads:[~2004-12-13 15:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 14:00 Orjan Friberg
2004-12-01 16:14 ` Randolph Chung
2004-12-02 10:15 ` Orjan Friberg
2004-12-02 15:42 ` Randolph Chung
2004-12-02 17:18 ` Mark Kettenis
2004-12-13 15:12 ` Orjan Friberg
2004-12-13 16:09 ` Hans-Peter Nilsson [this message]
2004-12-13 20:22 ` Mark Kettenis
2005-01-14 17:10 ` Orjan Friberg
2005-01-14 18:40 ` Hans-Peter Nilsson
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=200412131544.iBDFixrT030718@ignucius.se.axis.com \
--to=hans-peter.nilsson@axis.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@gnu.org \
--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