Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] mips-tdep.c: Fix inferior function call breakage
Date: Mon, 27 Jan 2003 19:57:00 -0000	[thread overview]
Message-ID: <1030127195746.ZM23807@localhost.localdomain> (raw)
In-Reply-To: Andrew Cagney <ac131313@redhat.com> "Re: [RFA] mips-tdep.c: Fix inferior function call breakage" (Jan 27,  2:21pm)

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
...


  reply	other threads:[~2003-01-27 19:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23  7:26 Kevin Buettner
2003-01-23 17:00 ` Daniel Jacobowitz
2003-01-23 21:00 ` Andrew Cagney
2003-01-23 22:42   ` Daniel Jacobowitz
2003-01-24  3:55   ` Kevin Buettner
2003-01-27 19:21     ` Andrew Cagney
2003-01-27 19:57       ` Kevin Buettner [this message]
2003-01-27 22:59         ` Andrew Cagney
2003-01-27 23:57           ` Kevin Buettner
2003-01-28 13:14             ` Andrew Cagney
2003-01-28 16:32               ` Kevin Buettner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1030127195746.ZM23807@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=ac131313@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox