Wondering if record save should be deprecated

Guinevere Larsen blarsen@redhat.com
Wed Jul 10 19:58:32 GMT 2024


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



More information about the Gdb mailing list