diff options
author | Tom Tromey <tom@tromey.com> | 2016-11-08 11:11:55 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-01-10 19:13:46 -0700 |
commit | 6349f452e01ddb7a1e64b8a63c93a9c9abc95725 (patch) | |
tree | 90083421b411483f6dbf9c18ebe0906b3a00fbe4 /gdb/psymtab.c | |
parent | c0171de646ddd85bac9d4bb1ebdf601f7ba7eeab (diff) | |
download | gdb-6349f452e01ddb7a1e64b8a63c93a9c9abc95725.zip gdb-6349f452e01ddb7a1e64b8a63c93a9c9abc95725.tar.gz gdb-6349f452e01ddb7a1e64b8a63c93a9c9abc95725.tar.bz2 |
Introduce htab_up and use gdbpy_enter in py-framefilter.c
This introduces a new "htab_up" typedef, which is a std::unique_ptr
that can call htab_delete. Then it changes some code in
py-framefilter.c to use both gdbpy_enter and the new htab_up.
2017-01-10 Tom Tromey <tom@tromey.com>
* utils.h (htab_deleter): New struct.
(htab_up): New typedef.
* python/py-framefilter.c (gdbpy_apply_frame_filter): Use
gdbpy_enter, gdbpy_ref, htab_up.
Diffstat (limited to 'gdb/psymtab.c')
0 files changed, 0 insertions, 0 deletions