From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17375 invoked by alias); 13 Dec 2004 15:46:20 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15766 invoked from network); 13 Dec 2004 15:45:04 -0000 Received: from unknown (HELO krynn.se.axis.com) (193.13.178.10) by sourceware.org with SMTP; 13 Dec 2004 15:45:04 -0000 Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.83.5.18]) by krynn.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id iBDFj0mp024059; Mon, 13 Dec 2004 16:45:00 +0100 Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id iBDFixdD030722; Mon, 13 Dec 2004 16:44:59 +0100 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id iBDFixrT030718; Mon, 13 Dec 2004 16:44:59 +0100 Date: Mon, 13 Dec 2004 16:09:00 -0000 Message-Id: <200412131544.iBDFixrT030718@ignucius.se.axis.com> From: Hans-Peter Nilsson To: orjan.friberg@axis.com CC: kettenis@gnu.org, gdb-patches@sources.redhat.com, hans-peter.nilsson@axis.com In-reply-to: <41BDAA01.6080101@axis.com> (message from Orjan Friberg on Mon, 13 Dec 2004 15:41:05 +0100) Subject: Re: [CRIS] Reading core file selects "wrong" mach X-SW-Source: 2004-12/txt/msg00357.txt.bz2 > Date: Mon, 13 Dec 2004 15:41:05 +0100 > From: Orjan Friberg > 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