From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5978 invoked by alias); 16 Feb 2012 04:44:45 -0000 Received: (qmail 5895 invoked by uid 22791); 16 Feb 2012 04:44:44 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Feb 2012 04:43:58 +0000 From: "vapier at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/9734] result of sim_create_inferior not checked in remote-sim.c Date: Thu, 16 Feb 2012 04:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vapier at gentoo dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 6.8 X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q1/txt/msg00259.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=9734 Mike Frysinger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vapier at gentoo dot org --- Comment #3 from Mike Frysinger 2012-02-16 04:42:16 UTC --- i tested over here and indeed, the code path suggested in the summary results in gdb attempting to dump core. i'll post a patch to use error(). $ ./gdb/gdb /tftpboot/u-boot (gdb) target sim Connected to the simulator. (gdb) load Loading section .text.pre, size 0xf0 lma 0x3f00000 Loading section .text.init, size 0x170 lma 0x3f000f0 Loading section .text, size 0x2af90 lma 0x3f00260 Loading section .rodata, size 0x12d04 lma 0x3f2b1f0 Loading section .data, size 0xa524 lma 0x3f3def4 Loading section .u_boot_cmd, size 0x8a4 lma 0x3f48418 Loading section .text_l1, size 0x28 lma 0x3f48cbc Start address 0x3f00000 Transfer rate: 2385696 bits in <1 sec. (gdb) run Starting program: /tftpboot/u-boot thread.c:72: internal-error: inferior_thread: Assertion `tp' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y thread.c:72: internal-error: inferior_thread: Assertion `tp' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y Aborted (core dumped) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.