From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8287 invoked by alias); 24 Jan 2003 03:55:01 -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 8280 invoked from network); 24 Jan 2003 03:55:01 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 24 Jan 2003 03:55:01 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h0O3Q3f22913 for ; Thu, 23 Jan 2003 22:26:03 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0O3sxa19174; Thu, 23 Jan 2003 22:54:59 -0500 Received: from localhost.localdomain (vpn50-2.rdu.redhat.com [172.16.50.2]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0O3sxt15413; Thu, 23 Jan 2003 22:54:59 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h0O3srf29668; Thu, 23 Jan 2003 20:54:53 -0700 Date: Fri, 24 Jan 2003 03:55:00 -0000 From: Kevin Buettner Message-Id: <1030124035453.ZM29667@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: [RFA] mips-tdep.c: Fix inferior function call breakage" (Jan 23, 4:00pm) References: <1030123072642.ZM24777@localhost.localdomain> <3E3057F0.5000906@redhat.com> To: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [RFA] mips-tdep.c: Fix inferior function call breakage MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-01/txt/msg00715.txt.bz2 On Jan 23, 4:00pm, Andrew Cagney wrote: > Kevin, can you post a backtrace showing how the program came to be > there? #0 heuristic_proc_start (pc=268437552) at /ocotillo2/mips64linux-021009-branch/devo/gdb/mips-tdep.c:1794 #1 0x080ead9f in find_proc_desc (pc=268437552, next_frame=0x0, cur_frame=1) at /ocotillo2/mips64linux-021009-branch/devo/gdb/mips-tdep.c:2399 #2 0x080eaf49 in mips_init_extra_frame_info (fromleaf=0, fci=0x83f8990) at /ocotillo2/mips64linux-021009-branch/devo/gdb/mips-tdep.c:2473 #3 0x080e0484 in gdbarch_init_extra_frame_info (gdbarch=0x8424428, fromleaf=0, frame=0x83f8990) at /ocotillo2/mips64linux-021009-branch/devo/gdb/gdbarch.c:4122 #4 0x0809f589 in create_new_frame (addr=1099511626816, pc=268437552) at /ocotillo2/mips64linux-021009-branch/devo/gdb/blockframe.c:273 #5 0x080cd089 in run_stack_dummy (addr=268438080, buffer=0x8460058) at /ocotillo2/mips64linux-021009-branch/devo/gdb/infcmd.c:1002 #6 0x080b6c90 in hand_function_call (function=0x8464a90, nargs=0, args=0xbffff054) at /ocotillo2/mips64linux-021009-branch/devo/gdb/valops.c:1762 #7 0x080b2716 in evaluate_subexp_standard (expect_type=0x0, exp=0x8501c68, pos=0xbffff2e4, noside=EVAL_NORMAL) at /ocotillo2/mips64linux-021009-branch/devo/gdb/eval.c:938 #8 0x080b0cbc in evaluate_subexp (expect_type=0x0, exp=0x8501c68, pos=0xbffff2e4, noside=EVAL_NORMAL) at /ocotillo2/mips64linux-021009-branch/devo/gdb/eval.c:69 #9 0x080b0e5e in evaluate_expression (exp=0x8501c68) at /ocotillo2/mips64linux-021009-branch/devo/gdb/eval.c:158 #10 0x080be66c in print_command_1 (exp=0x83f2a35 "hello()", inspect=0, voidprint=0) at /ocotillo2/mips64linux-021009-branch/devo/gdb/printcmd.c:926 #11 0x080be7d6 in call_command (exp=0x83f2a35 "hello()", from_tty=1) at /ocotillo2/mips64linux-021009-branch/devo/gdb/printcmd.c:988 #12 0x0808d0f2 in do_cfunc (c=0x83fdb60, args=0x83f2a35 "hello()", from_tty=1) at /ocotillo2/mips64linux-021009-branch/devo/gdb/cli/cli-decode.c:53 #13 0x0808e96e in cmd_func (cmd=0x83fdb60, args=0x83f2a35 "hello()", from_tty=1) at /ocotillo2/mips64linux-021009-branch/devo/gdb/cli/cli-decode.c:1527 ... Hmm, that's from a branch, but it happens with current sources too. If you wish, I can generate another backtrace with current sources... Kevin