Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Guinevere Larsen <guinevere@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 6/6] gdb/record: Define new version of the record-save section
Date: Thu, 16 Apr 2026 09:41:56 -0300	[thread overview]
Message-ID: <5de0615d-c637-4025-9bd5-c2cc8063f1e5@redhat.com> (raw)
In-Reply-To: <86pl3zla0b.fsf@gnu.org>

On 4/16/26 3:00 AM, Eli Zaretskii wrote:
>> From: Guinevere Larsen <guinevere@redhat.com>
>> Cc: Guinevere Larsen <guinevere@redhat.com>
>> Date: Wed, 15 Apr 2026 15:58:36 -0300
>>
>> With the changes to the internal representation of the history, we can
>> no longer support the previous record save format. This commit makes it
>> official, documenting the new format and changing the magic number.
>> ---
>>   gdb/NEWS          |  3 +++
>>   gdb/record-full.c | 35 +++++++++++++++++++++++++++++++----
>>   2 files changed, 34 insertions(+), 4 deletions(-)
> Thanks.
>
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -42,6 +42,9 @@
>>   
>>   * Support for the binary file format dbx has been removed.
>>   
>> +* The format for a saved execution record has been updated, and
>> +  previous formats are no longer supported.
> What's a "saved execution record", and where is it used in GDB?

If a user records the execution of the inferior, using record full, and 
they use the command "record save", they will save the execution log to 
a corefile. That's what I'm referring to.

>    I
> think the NEWS entry should say something about that, or else it's too
> mysterious.
It is a pretty niche feature, hidden in the "obscure" command set, so I 
figured it didn't need to be explained too much
>
> Reviewed-By: Eli Zaretskii <eliz@gnu.org>
>
This is confusing to me. You're supposed to add the review tag when 
you're satisfied with the patch and approving it to go through. So, do 
you think the explanation I gave is enough, or do you want me to explain 
it more on the news file?

-- 
Cheers,
Guinevere Larsen
It/she


  reply	other threads:[~2026-04-16 12:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15 18:58 [PATCH 0/6] Refactor the internals of record-full Guinevere Larsen
2026-04-15 18:58 ` [PATCH 1/6] gdb/record: Refactor record history Guinevere Larsen
2026-04-15 18:58 ` [PATCH 2/6] gdb/record: remove record_full_insn_num Guinevere Larsen
2026-04-15 18:58 ` [PATCH 3/6] gdb/record: c++ify internal structures of record-full.c Guinevere Larsen
2026-04-15 18:58 ` [PATCH 4/6] gdb/record: make record_full_history more c++-like Guinevere Larsen
2026-04-15 18:58 ` [PATCH 5/6] gdb/record: extract the PC to record_full_instruction Guinevere Larsen
2026-04-15 18:58 ` [PATCH 6/6] gdb/record: Define new version of the record-save section Guinevere Larsen
2026-04-16  6:00   ` Eli Zaretskii
2026-04-16 12:41     ` Guinevere Larsen [this message]
2026-04-16 13:45       ` Eli Zaretskii
2026-04-16 14:03         ` Guinevere Larsen
2026-04-16 15:01           ` Eli Zaretskii

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=5de0615d-c637-4025-9bd5-c2cc8063f1e5@redhat.com \
    --to=guinevere@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@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