public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug pascal/18972] New: Gives an not code signed error
@ 2015-09-16 14:12 vlkirsch at pt dot lu
0 siblings, 0 replies; only message in thread
From: vlkirsch at pt dot lu @ 2015-09-16 14:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=18972
Bug ID: 18972
Summary: Gives an not code signed error
Product: gdb
Version: 7.10
Status: NEW
Severity: normal
Priority: P2
Component: pascal
Assignee: unassigned at sourceware dot org
Reporter: vlkirsch at pt dot lu
Target Milestone: 7.10
Created attachment 8614
--> https://sourceware.org/bugzilla/attachment.cgi?id=8614&action=edit
Error when trying to run a simple app.
I am running gdb together with Lazarus 1.4.0 and FPC 2.6.4 on a iMAC (Retina
5K)
under OS x Yosemite 10.10.5.
I have codesigned gdb. It gives me the error as shown in attachement.
Can you help me please. Léon Kirsch.
--
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-18613-listarch-gdb-prs=sources.redhat.com@sourceware.org Wed Sep 16 16:27:13 2015
Return-Path: <gdb-prs-return-18613-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 109984 invoked by alias); 16 Sep 2015 16:27:13 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 109959 invoked by uid 48); 16 Sep 2015 16:27:13 -0000
From: "arnez at linux dot vnet.ibm.com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug corefiles/18964] [mips] 7.9 regression: internal-error:
mips-tdep.c:1098: bad register size
Date: Wed, 16 Sep 2015 16:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: corefiles
X-Bugzilla-Version: 7.9
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: arnez at linux dot vnet.ibm.com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18964-4717-NSERdJqlj6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18964-4717@http.sourceware.org/bugzilla/>
References: <bug-18964-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-q3/txt/msg00317.txt.bz2
Content-length: 1531
https://sourceware.org/bugzilla/show_bug.cgi?id\x18964
--- Comment #5 from Andreas Arnez <arnez at linux dot vnet.ibm.com> ---
(In reply to Pedro Alves from comment #4)
> This being a -tdep.c file, you probably don't need a mips-hosted gdb.
>
> A --target=mips-linux-gnu build probably suffices.
Right, I can reproduce the problem with "set arch mips" followed by "target
core i386-biarch-core.core". Not sure whether that's equivalent to Luis'
scenario. Anyway, in my test there's a register size mismatch between the raw
PC register (regno 37, 4 bytes) and the pseudo-register representing the PC
(regno 116, 8 bytes). The pseudo-register's size is derived from the
determined ABI (MIPS_ABI_N64), which is derived from the core file's bit size
(64). The raw register's size is determined in mips_isa_regsize() and derived
from the gdbarch's bfd_arch_info (bfd_mips_arch in this case, which means
32-bit). The use of bfd_arch_info is a fall-back when we don't have a valid
target description. And that's the case because
mips_linux_core_read_description returns NULL for this invalid core file.
So, bottom line it seems to me that the problem is caused by the MIPS tdep code
being confused about the nature of the target's architecture, particularly its
bit size.
I don't have a suggestion for a patch, since my understanding of the existing
logic's purpose is still too vague. Thus I'd prefer leaving it to a MIPS
expert to provide a fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-16 14:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-16 14:12 [Bug pascal/18972] New: Gives an not code signed error vlkirsch at pt dot lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).