Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Guinevere Larsen via Gdb <gdb@sourceware.org>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Wondering if record save should be deprecated
Date: Wed, 10 Jul 2024 16:58:32 -0300	[thread overview]
Message-ID: <3efbc686-a7ec-4699-85ba-b96ea4ec2bad@redhat.com> (raw)

Hi everyone!

I decided to try a bit of a different workflow for reverse debugging and 
noticed that using "record save", then loading that file in a new gdb 
session, and I noticed this generated an assert. The assert itself is 
not too hard to solve (Hannes had a patch ready when I mentioned it in 
IRC), but it had me wondering: this bug is present since GDB 10, and 
there are no bugs in bugzilla about it.

In fact, searching for "record save" only has a stack overflow question 
from 2.5 years ago that uses precsave, but is about a separate topic. 
Everything else, including the few reverse debugging tutorials I've 
seen, never mention this option.

Does it make sense for us to continue supporting this feature that was 
nigh unusable for 5 releases without anyone noticing? Does anyone 
reading this makes use of this feature and managed to somehow avoid that 
crash?

-- 
Cheers,
Guinevere Larsen
She/Her/Hers


             reply	other threads:[~2024-07-10 19:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10 19:58 Guinevere Larsen via Gdb [this message]
2024-07-11 16:52 ` Keith Seitz via Gdb
2024-07-16 12:24 ` Luis Machado via Gdb
2024-07-16 13:27   ` Guinevere Larsen via Gdb

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=3efbc686-a7ec-4699-85ba-b96ea4ec2bad@redhat.com \
    --to=gdb@sourceware.org \
    --cc=blarsen@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