From: Kevin Buettner <kevinb@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>, Kevin Buettner <kevinb@redhat.com>
Cc: Andrew Cagney <ac131313@redhat.com>, gdb@sources.redhat.com
Subject: Re: frame_register_unwind(): "frame != NULL" assertion failure
Date: Thu, 13 Feb 2003 21:35:00 -0000 [thread overview]
Message-ID: <1030213213526.ZM2489@localhost.localdomain> (raw)
In-Reply-To: Daniel Jacobowitz <drow@mvista.com> "Re: frame_register_unwind(): "frame != NULL" assertion failure" (Feb 13, 4:29pm)
On Feb 13, 4:29pm, Daniel Jacobowitz wrote:
> Subject: Re: frame_register_unwind(): "frame != NULL" assertion failure
> On Thu, Feb 13, 2003 at 02:23:50PM -0700, Kevin Buettner wrote:
> > Andrew,
> >
> > Any ideas about what to do about this assertion failure? This is
> > occurring in a mips-linux native gdb built using current sources.
> > (Okay, they're a few hours old by now...) I was debugging gdb with
> > itself and was running to a breakpoint placed on main().
> >
> > #0 internal_error (
> > file=0x7a1a60 "/home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c", line=187, string=0x7a1aa0 "%s%sAssertion `%s' failed.")
> > at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/utils.c:800
> > #1 0x00577c94 in frame_register_unwind (frame=0x0, regnum=187,
> > optimizedp=0x7a1b20, lvalp=0x7fff68d4, addrp=0x7fff68d8,
> > realnump=0x7fff68e0, bufferp=0x7fff68c0)
> > at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/frame.c:187
> > #2 0x004f8534 in read_next_frame_reg (fi=0x7fff68c0, regno=29)
> > at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/mips-tdep.c:1592
>
> That backtrace must be inaccurate? read_next_frame_reg just passes fi
> to frame_register_unwind...
I'll try to get a better one. gdb was compiled with -O2 and I see:
outer-gdb> down
#2 0x004f8534 in read_next_frame_reg (fi=0x7fff68c0, regno=29)
at /home/devel/kevinb/sourceware-mips64/src.baseline/gdb/mips-tdep.c:1592
1592 frame_register_unwind (fi, regno, &optimized, &lval, &addr, &realnum,
outer-gdb> info address fi
Symbol "fi" is an argument in register s1.
I'll recompile without -O2 and post a new backtrace...
Kevin
next prev parent reply other threads:[~2003-02-13 21:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-13 21:24 Kevin Buettner
2003-02-13 21:29 ` Daniel Jacobowitz
2003-02-13 21:35 ` Kevin Buettner [this message]
2003-02-13 21:48 ` Kevin Buettner
2003-02-13 23:27 ` Kevin Buettner
2003-02-14 14:58 ` Andrew Cagney
2003-02-14 15:14 ` Daniel Jacobowitz
2003-02-14 15:24 ` Kevin Buettner
2003-02-17 15:37 ` Andrew Cagney
2003-02-17 23:21 ` Kevin Buettner
2003-02-18 2:39 ` Andrew Cagney
2003-02-18 1:59 ` Kevin Buettner
2003-02-18 22:51 ` Andrew Cagney
2003-02-20 16:18 ` Kevin Buettner
2003-02-20 16:28 ` Andrew Cagney
2003-02-20 16:36 ` 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=1030213213526.ZM2489@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=ac131313@redhat.com \
--cc=drow@mvista.com \
--cc=gdb@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