aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-11-01 09:00:09 -0600
committerTom Tromey <tom@tromey.com>2017-11-04 10:27:17 -0600
commitc80049d3b615691dc902762d5d97551aa9664442 (patch)
treea538ad25dabca7d727f48d80d3b205792f5f6624 /gdb/python/python.c
parent167b0be1b5ef36a5605fcdfba0c84db2ed475e1e (diff)
downloadbinutils-c80049d3b615691dc902762d5d97551aa9664442.zip
binutils-c80049d3b615691dc902762d5d97551aa9664442.tar.gz
binutils-c80049d3b615691dc902762d5d97551aa9664442.tar.bz2
Replace start_rbreak_breakpoints and end_rbreak_breakpoints
This replaces start_rbreak_breakpoints and end_rbreak_breakpoints with a new scoped class. This allows the removal of a cleanup. This also fixes an earlier memory leak regression, by changing "string" to be a std::string. gdb/ChangeLog 2017-11-04 Tom Tromey <tom@tromey.com> * breakpoint.c (scoped_rbreak_breakpoints::scoped_rbreak_breakpoints): Rename from start_rbreak_breakpoints. (scoped_rbreak_breakpoints): Rename from end_rbreak_breakpoints. * breakpoint.h (class scoped_rbreak_breakpoints): New. (start_rbreak_breakpoints, end_rbreak_breakpoints): Remove. * symtab.c (do_end_rbreak_breakpoints): Remove. (rbreak_command): Use scoped_rbreak_breakpoints, std::string.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions