From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26676 invoked by alias); 4 Mar 2003 14:48:07 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 26669 invoked from network); 4 Mar 2003 14:48:06 -0000 Received: from unknown (HELO smtp220.tiscali.dk) (62.79.79.114) by 172.16.49.205 with SMTP; 4 Mar 2003 14:48:06 -0000 Received: from cpmail.dk.tiscali.com (mail.tiscali.dk [212.54.64.159]) by smtp220.tiscali.dk (8.12.6/8.12.6) with ESMTP id h24Em5LP058837 for ; Tue, 4 Mar 2003 15:48:05 +0100 (CET) (envelope-from jrydberg@night.trouble.net) Received: from cockmaster (213.204.135.135) by cpmail.dk.tiscali.com (6.0.053) id 3E4B39AB0024ADBA for gdb@sources.redhat.com; Tue, 4 Mar 2003 15:47:36 +0100 Date: Tue, 04 Mar 2003 14:48:00 -0000 From: Johan Rydberg To: gdb@sources.redhat.com Subject: mips-big-elf craches Message-ID: <20030304160043.A24263@cockmaster> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-03/txt/msg00080.txt.bz2 I get the following crash when I try to run against my own developed simulator (http://www.nongnu.org/guss). It seems that the "get_next_frame" fn returns NULL for some reason. Transcript: (top-gdb) run Starting program: /home/jrydberg/g2/src/b/gdb/./gdb GNU gdb 2003-02-13-cvs Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=mips-big-elf". Setting up the environment for debugging gdb. .gdbinit:5: Error in sourced command file: No symbol table is loaded. Use the "file" command. (gdb) set debug remote 1 (gdb) target remote localhost:1234 Remote debugging using localhost:1234 Sending packet: $Hc-1#09...Ack Packet received: OK Sending packet: $qC#b4...Ack Packet received: Sending packet: $qOffsets#4b...Ack Packet received: Sending packet: $?#3f...Ack Packet received: S05 Sending packet: $Hg0#df...Ack Packet received: OK Sending packet: $g#67...Ack Packet received: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800ffffc00000000000000000000000000000000000000000000000000000000bfc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6d20040346b014028c313400100000000000000d8f6ffbf9db2234093e10c080060274000ca0d08aa920408c43414400000000088d01508f8f6ffbf28f7ffbf50d40040 Breakpoint 1, internal_error (file=0x81c7649 "../../gdb/frame.c", line=187, string=0x8190c62 "%s%sAssertion `%s' failed.") at ../../gdb/utils.c:800 800 va_start (ap, string); (top-gdb) bt #0 internal_error (file=0x81c7649 "../../gdb/frame.c", line=187, string=0x8190c62 "%s%sAssertion `%s' failed.") at ../../gdb/utils.c:800 #1 0x080f9702 in frame_register_unwind (frame=0x0, regnum=29, optimizedp=0xbfffed8c, lvalp=0xbfffed90, addrp=0xbfffed94, realnump=0xbfffed98, bufferp=0xbfffed70) at ../../gdb/frame.c:187 #2 0x080c6cf4 in read_next_frame_reg (fi=0x0, regno=29) at ../../gdb/mips-tdep.c:1592 #3 0x080c7720 in heuristic_proc_desc (start_pc=0, limit_pc=3217031168, next_frame=0x0, cur_frame=1) at ../../gdb/mips-tdep.c:2140 #4 0x080c7e1a in find_proc_desc (pc=3217031168, next_frame=0x0, cur_frame=1) at ../../gdb/mips-tdep.c:2403 #5 0x080c7f94 in mips_init_extra_frame_info (fromleaf=0, fci=0x821f498) at ../../gdb/mips-tdep.c:2477 #6 0x080bcc80 in gdbarch_init_extra_frame_info (gdbarch=0x8221da8, fromleaf=0, frame=0x821f498) at ../../gdb/gdbarch.c:4436 #7 0x080facdf in get_prev_frame (next_frame=0x821f450) at ../../gdb/frame.c:1321 #8 0x080f9f2e in unwind_to_current_frame (ui_out=0x8221678, args=0x821f450) at ../../gdb/frame.c:496 #9 0x080f442e in catcher (func=0x80f9f20 , func_uiout=0x8221678, func_args=0x821f450, func_val=0xbfffefe0, func_caught=0xbfffefe4, errstring=0x0, mask=2) at ../../gdb/top.c:424 #10 0x080f44da in catch_exceptions (uiout=0x8221678, func=0x80f9f20 , func_args=0x821f450, errstring=0x0, mask=2) at ../../gdb/top.c:474 #11 0x080f9fc7 in get_current_frame () at ../../gdb/frame.c:518 #12 0x080ad8b8 in normal_stop () at ../../gdb/infrun.c:2986 ...