From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18100 invoked by alias); 27 Jan 2003 19:57:55 -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 18083 invoked from network); 27 Jan 2003 19:57:55 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 27 Jan 2003 19:57:55 -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 h0RJSgf22449 for ; Mon, 27 Jan 2003 14:28:42 -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 h0RJvra21680; Mon, 27 Jan 2003 14:57:53 -0500 Received: from localhost.localdomain (vpn50-39.rdu.redhat.com [172.16.50.39]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0RJvqt07853; Mon, 27 Jan 2003 14:57:52 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h0RJvkv23808; Mon, 27 Jan 2003 12:57:46 -0700 Date: Mon, 27 Jan 2003 19:57:00 -0000 From: Kevin Buettner Message-Id: <1030127195746.ZM23807@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: [RFA] mips-tdep.c: Fix inferior function call breakage" (Jan 27, 2:21pm) References: <1030123072642.ZM24777@localhost.localdomain> <3E3057F0.5000906@redhat.com> <1030124035453.ZM29667@localhost.localdomain> <3E3586B9.9080100@redhat.com> To: Andrew Cagney Subject: Re: [RFA] mips-tdep.c: Fix inferior function call breakage Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-01/txt/msg00737.txt.bz2 On Jan 27, 2:21pm, Andrew Cagney wrote: > Subject: Re: [RFA] mips-tdep.c: Fix inferior function call breakage > Thanks, > > > #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 > > Things went wrong here (with the below calling the above). However, ... > > > #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 > > ... I've eliminated that call from "infcmd.c"! > > > Hmm, that's from a branch, but it happens with current sources too. If > > you wish, I can generate another backtrace with current sources... > > Yes. #0 heuristic_proc_start (pc=268437552) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/mips-tdep.c:1796 #1 0x080d1e3b in find_proc_desc (pc=268437552, next_frame=0x0, cur_frame=1) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/mips-tdep.c:2406 #2 0x080d1feb in mips_init_extra_frame_info (fromleaf=0, fci=0x82ceed8) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/mips-tdep.c:2478 #3 0x080c670c in gdbarch_init_extra_frame_info (gdbarch=0x82d91e0, fromleaf=0, frame=0x82ceed8) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/gdbarch.c:4422 #4 0x08106e57 in create_new_frame (addr=1099511626816, pc=268437552) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/frame.c:890 #5 0x081066b5 in get_current_frame () at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/frame.c:506 #6 0x08089261 in bpstat_stop_status (pc=0x82b2f20, not_a_sw_breakpoint=0) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/breakpoint.c:2724 #7 0x080b621f in handle_inferior_event (ecs=0xbfffee00) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/infrun.c:1805 #8 0x080b51fe in wait_for_inferior () at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/infrun.c:1006 #9 0x080b5025 in proceed (addr=268438080, siggnal=TARGET_SIGNAL_0, step=0) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/infrun.c:804 #10 0x080b2e95 in run_stack_dummy (addr=268438080, buffer=0x837a228) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/infcmd.c:1039 #11 0x0809c735 in hand_function_call (function=0x8316e68, nargs=0, args=0xbffff064) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/valops.c:1672 #12 0x0809844e in evaluate_subexp_standard (expect_type=0x0, exp=0x885fec0, pos=0xbffff2f4, noside=EVAL_NORMAL) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/eval.c:940 #13 0x080969f0 in evaluate_subexp (expect_type=0x0, exp=0x885fec0, pos=0xbffff2f4, noside=EVAL_NORMAL) at /ocotillo2/sourceware-mips64/ocotillo-cross-mips64/../src/gdb/eval.c:70 ...