Skip to content

[Bug] gef.autosave_breakpoints_file was removed #965

@Summon528

Description

@Summon528

GEF+GDB version

GEF: (Standalone)
Blob Hash(/home/xxx/.gef-a85368fc771dcbb4db2b41818781e182845015b9.py): 1a409c397646df9c0b8549d576cd7c7f8ec1ef47
SHA256(/home/xxx/.gef-a85368fc771dcbb4db2b41818781e182845015b9.py): f096ff3bf50df08dbbc698a919360014f86f1eea315011cdabebd72a30a5bce8
GDB: 13.2
GDB-Python: 3.11

Operating System

openSUSE Tumbleweed

Describe the issue you encountered

gef.autosave_breakpoints_file doesn't seem to save breakpoints file.

Do you read the docs and look at previously closed issues/PRs for similar cases?

No

Architecture impacted

  • X86
  • X64
  • ARM
  • ARM64
  • MIPS
  • MIPS64
  • PPC
  • PPC64
  • RISCV

Describe your issue. Without a proper reproduction step-by-step, your issue will be ignored.

  1. In .gef.rc set autosave_breakpoints_file = /home/xxx/bps
  2. Start gdb, add some breakpoints, quit
  3. No file is created

Minimalist test case

No response

Additional context?

Looks like the code was removed in #839. The define hook-quit does not exist in the current code base anymore and I don't see any replacement code unless I'm missing something.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions