diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-05 10:02:45 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-06-27 14:50:10 -0600 |
commit | 0c6aef226ede6ef6547adb170fb5afb002e96257 (patch) | |
tree | dd3e16398c5500834e1b7b34fcfa6c793a6f5c53 /gdb/ChangeLog | |
parent | 6317728958287f0876f04941267de5d87eefa578 (diff) | |
download | fsf-binutils-gdb-0c6aef226ede6ef6547adb170fb5afb002e96257.zip fsf-binutils-gdb-0c6aef226ede6ef6547adb170fb5afb002e96257.tar.gz fsf-binutils-gdb-0c6aef226ede6ef6547adb170fb5afb002e96257.tar.bz2 |
Remove a VEC from py-unwind.c
This removes a use of VEC from py-unwind.c, replacing it wit
std::vector. It also changes saved_regs to hold a gdbpy_ref<>,
simplifying the memory management.
Tested against gdb.python on x86-64 Fedora 26.
gdb/ChangeLog
2018-06-27 Tom Tromey <tom@tromey.com>
* python/py-unwind.c (unwind_info_object) <saved_regs>: Now a
std::vector.
(unwind_infopy_str, pyuw_create_unwind_info)
(unwind_infopy_add_saved_register, pyuw_sniffer)
(unwind_infopy_dealloc, unwind_infopy_add_saved_register):
Update.
(struct saved_reg): Add constructor.
<value>: Now a gdbpy_ref<>.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a125b72..2075f47 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2018-06-27 Tom Tromey <tom@tromey.com> + * python/py-unwind.c (unwind_info_object) <saved_regs>: Now a + std::vector. + (unwind_infopy_str, pyuw_create_unwind_info) + (unwind_infopy_add_saved_register, pyuw_sniffer) + (unwind_infopy_dealloc, unwind_infopy_add_saved_register): + Update. + (struct saved_reg): Add constructor. + <value>: Now a gdbpy_ref<>. + +2018-06-27 Tom Tromey <tom@tromey.com> + * machoread.c (macho_symfile_read): Define "symbol_table" earlier. 2018-06-27 Simon Marchi <simon.marchi@ericsson.com> |