Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Zarges, Olav" <Olav.Zarges@imc-berlin.de>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Cc: Daniel Jacobowitz <drow@false.org>
Subject: Re: gdb-6.5 produces infinite backtrace on ARM
Date: Thu, 07 Sep 2006 16:15:00 -0000	[thread overview]
Message-ID: <450045B5.1070402@imc-berlin.de> (raw)
In-Reply-To: <20060906155248.GA4902@nevyn.them.org>


Daniel Jacobowitz wrote:
>> The stack-list-frames command does not return any stack info at all if
>> error(...) is called. Therefore CDT is not discarding anything. The is
>> just the error message.
> 
> Sorry - I misread your trace.  OK, I see what's generally wrong...

Glad to hear...

In order to supply other members of our dev-team with a working gdb
I tried to apply the patch you published on

http://sourceware.org/ml/gdb-patches/2006-08/msg00131.html

to the gdb-6.5-release I use. But the files did not match. CVS-head didn't
work either. You probably have a revised version.

Then I just added my changes (warnings instead of errors) and your new
frame_register_unwind_location() function and its invocation to
gdb-6.5-release source tree. Gdb then crashes after hitting the second
breakpoint.

It works if you patch your patch:

===================================================================
                                int *optimizedp, enum lval_type *lvalp,
                                CORE_ADDR *addrp, int *realnump)
{
-	while (this_frame->level >= 0)
+	while (this_frame != 0 && this_frame->level >= 0)


Do you plan to publish a patch on top of gdb-6.5-release for this issue?


-- 
Olav A. Zarges


  reply	other threads:[~2006-09-07 16:15 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15  8:15 Zarges, Olav
2006-08-15 12:41 ` Daniel Jacobowitz
2006-08-15 13:54   ` Zarges, Olav
2006-08-19  5:24   ` Daniel Jacobowitz
2006-08-21 11:35     ` Zarges, Olav
2006-08-21 12:42       ` Daniel Jacobowitz
2006-08-21 14:37         ` Zarges, Olav
2006-08-21 14:54           ` Daniel Jacobowitz
2006-09-06 13:32         ` Zarges, Olav
2006-09-06 14:44           ` Daniel Jacobowitz
2006-09-06 15:03             ` Zarges, Olav
2006-09-06 15:19               ` Daniel Jacobowitz
2006-09-06 15:38                 ` Zarges, Olav
2006-09-06 15:52                   ` Daniel Jacobowitz
2006-09-07 16:15                     ` Zarges, Olav [this message]
2006-09-07 17:38                       ` Daniel Jacobowitz
2006-09-10 14:49                 ` Daniel Jacobowitz
2006-09-19  1:40     ` Michael Snyder
2006-09-19  3:17       ` Daniel Jacobowitz

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=450045B5.1070402@imc-berlin.de \
    --to=olav.zarges@imc-berlin.de \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /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