public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Luis Machado <luis.machado@arm.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Simon Marchi <simon.marchi@polymtl.ca>,
	Torbjorn SVENSSON <torbjorn.svensson@foss.st.com>,
	tom@tromey.com, gdb-patches@sourceware.org
Subject: Re: GDB 13 release -- 2023-01-21 Update
Date: Tue, 31 Jan 2023 14:33:26 +0000	[thread overview]
Message-ID: <7e60e8ec-9ee4-424a-c594-8093a9f9a992@arm.com> (raw)
In-Reply-To: <16313f2c-90a1-4fa7-2af3-ef420cad18f6@arm.com>

On 1/31/23 13:57, Luis Machado wrote:
> Hi Joel,
> 
> On 1/31/23 07:03, Joel Brobecker wrote:
>> Hi Luis,
>>
>> On Mon, Jan 30, 2023 at 11:23:06AM +0000, Luis Machado wrote:
>>> On 1/29/23 11:52, Joel Brobecker wrote:
>>>>>>>>       - With that said, the patch appears to simply add a cache,
>>>>>>>>         so the logic of it all doesn't appear to be extremely
>>>>>>>>         complicated. So I would rate the risk to be low.
>>>>>>>
>>>>>>> That's what it seems to me.
>>>>>>>
>>>>>>> I think another round of testing would be a good step to make sure there are no hidden bugs.
>>>>>> My understanding is that the problem was making debugging borderline
>>>>>> impossible.  Or at least, really, really unpleasant.  So I think it
>>>>>> qualifies as a bug fix, and that the benefit is worth the risk.
>>>>>
>>>>> Right. Past a short number of frames, unwinding got really really slow.
>>>>
>>>> The part that I haven't been clear on is whether this affected everyone
>>>> on Arm-32bit, or everyone on both Arm and AArch64, or just a subset
>>>> of the users?
>>>
>>> Just a subset.
>>>
>>> It affects 32-bit m-profile Arm targets that report the additional stack pointers.  This is either
>>> the org.gnu.gdb.arm.m-system feature or the org.gnu.gdb.arm.secext feature.
>>>
>>> I'm fairly sure these features are only reported by emulators and bare-metal targets.
>>>
>>> Now, a 64-bit gdb can debug 32-bit Arm as well, so you could have a 64-bit gdb running into this too
>>> if the target is a 32-bit m-profile Arm. But the target is still 32-bit Arm.
>>>
>>> This doesn't affect AArch64 at all.
>>
>> Thanks for the extra effort explaining the impact. This is much clear
>> for me, now. With your permission, I'd like to copy the text above
>> as a comment in the PR. Would that be OK?> 
> 
> Yes, that's fine. Let me know if you want me to do it.
> 
>>>> Regardless of the above, I agree we can backport. To avoid confusion,
>>>> can I leave this to you, Luis, to confirm that the two patches I identified
>>>> previously are the only two patches that need to be backported, and
>>>> can you backport those for us, with a round of testing if you haven't
>>>> done so already, just to double-check?
>>>
>>> Sure. I gave it a try with master and the test results look the same with or without the patches.
>>>
>>> Unfortunately the 32-bit Arm test results are not too clean as there is quite a bit of noise from
>>> failing watchpoints tests.
>>>
>>> I'll try with GDB 13 just to be sure.
>>
>> Thank you. Once you've finished testing, whatever that might be,
>> you can go ahead and push the patches. As disussed earlier, we all
>> agree the risk of bad impact is very low.
>>
>> Let me know when this is done. It's starting to look like we might
>> have a pre-release created this weekend! Maybe earlier, if I can
>> carve some time out of my work schedule.
>>
> 
> I ran checks with the gdb 13 branch and the results look the same for a patched gdb compared to
> an unpatched one.
> 
> I'll cherry-pick both commits to gdb 13 once sourceware is back up.

Done now.

  reply	other threads:[~2023-01-31 14:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-21  6:08 Joel Brobecker
2023-01-25 20:18 ` Torbjorn SVENSSON
2023-01-27  6:30   ` Joel Brobecker
2023-01-27  6:38     ` Luis Machado
2023-01-27 17:17       ` Simon Marchi
2023-01-28  8:39         ` Luis Machado
2023-01-29 11:52           ` Joel Brobecker
2023-01-30 11:23             ` Luis Machado
2023-01-31  7:03               ` Joel Brobecker
2023-01-31 13:57                 ` Luis Machado
2023-01-31 14:33                   ` Luis Machado [this message]
2023-02-02  3:44                   ` Joel Brobecker

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=7e60e8ec-9ee4-424a-c594-8093a9f9a992@arm.com \
    --to=luis.machado@arm.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@polymtl.ca \
    --cc=tom@tromey.com \
    --cc=torbjorn.svensson@foss.st.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).