From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3170 invoked by alias); 12 Aug 2012 08:58:03 -0000 Received: (qmail 3152 invoked by uid 22791); 12 Aug 2012 08:58:03 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 12 Aug 2012 08:57:52 +0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/10944] Assertion `get_frame_type (frame) == DUMMY_FRAME' failed Date: Sun, 12 Aug 2012 08:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.1 X-Bugzilla-Changed-Fields: 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-q3/txt/msg00198.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=10944 --- Comment #5 from Jan Kratochvil 2012-08-12 08:57:11 UTC --- GNU gdb (GDB) 7.5.50.20120812-cvs This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-none-eabi". Reading symbols from /home/jkratoch/redhat/gdb-clean/gdb/1...done. (gdb) target remote virt:1234 Remote debugging using virt:1234 warning: A handler for the OS ABI "GNU/Linux" is not built into this configuration of GDB. Attempting to continue with the default arm settings. 0x43608de0 in ?? () (gdb) b main Cannot access memory at address 0x0 Breakpoint 1 at 0x859c: file 1.c, line 5. (gdb) c Continuing. Breakpoint 1, main () at 1.c:5 5 int main (void) { return 0; } (gdb) p f (2, "ATZ") $1 = void (gdb) b f Breakpoint 2 at 0x855c: file 1.c, line 2. (gdb) p f (2, "ATZ") Breakpoint 2, f (x=2, s=0x11018 "ATZ") at 1.c:2 2 void f (int x, const char *s) {} The program being debugged stopped while in a function called from GDB. Evaluation of the expression containing the function (f) will be abandoned. When the function is done executing, GDB will silently stop. (gdb) bt #0 f (x=2, s=0x11018 "ATZ") at 1.c:2 #1 #2 main () at 1.c:5 (gdb) l 1 #include 2 void f (int x, const char *s) {} 3 void *malloc (size_t size) 4 { return realloc (NULL, size); } 5 int main (void) { return 0; } -- 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.