public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>
To: Luis Machado <luis.machado@arm.com>,
	Pedro Alves <pedro@palves.net>, <gdb-patches@sourceware.org>
Subject: Re: [PATCH v4] gdb/arm: Stop unwinding on error, but do not assert
Date: Fri, 14 Oct 2022 15:32:15 +0200	[thread overview]
Message-ID: <a9cc57c9-e699-9504-ec50-0e7cc4e4d9ed@foss.st.com> (raw)
In-Reply-To: <eff4abe8-8b17-1f1d-69c0-159b52d19b39@arm.com>



On 2022-10-14 14:03, Luis Machado wrote:
> On 10/14/22 12:45, Pedro Alves wrote:
>> On 2022-10-13 7:11 p.m., Torbjörn SVENSSON wrote:
>>> When it's impossible to read the FPCCR and XPSR, the unwinding is
>>> unpredictable as the it's not possible to determine the correct
>>> frame size or padding.
>>> The only sane thing to do in this condition is to stop the unwinding.
>>>
>>> Example session wihtout this patch:
>>
>> wihtout -> without
>>
>> Thank you, this version LGTM.  This way, there's a better chance gdb can
>> distinguish different "outermost" frames, e.g., for watchpoints on 
>> local vars,
>> or for stepping from a "broken" frame, to another "broken" frame.
>>
>> I'll defer final approval to Luis.
>>
>> Reviewed-by: Pedro Alves <pedro@palves.net>
> 
> LGTM.


Pushed.

      reply	other threads:[~2022-10-14 13:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13 18:11 Torbjörn SVENSSON
2022-10-14 11:45 ` Pedro Alves
2022-10-14 11:47   ` Torbjorn SVENSSON
2022-10-14 12:03   ` Luis Machado
2022-10-14 13:32     ` Torbjorn SVENSSON [this message]

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=a9cc57c9-e699-9504-ec50-0e7cc4e4d9ed@foss.st.com \
    --to=torbjorn.svensson@foss.st.com \
    --cc=gdb-patches@sourceware.org \
    --cc=luis.machado@arm.com \
    --cc=pedro@palves.net \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).