diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-23 17:37:48 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-09-20 13:49:07 -0600 |
commit | 6b915f7d0caf868c037c387aa4feef0c7085cb48 (patch) | |
tree | 23bf1c3b8cc11dbf4b94e7f25d1fe2da4e76b417 /gdb/ChangeLog | |
parent | 2ad52f6fb3daecd928605384fcaa45ad43178b4e (diff) | |
download | gdb-6b915f7d0caf868c037c387aa4feef0c7085cb48.zip gdb-6b915f7d0caf868c037c387aa4feef0c7085cb48.tar.gz gdb-6b915f7d0caf868c037c387aa4feef0c7085cb48.tar.bz2 |
Simplify TUI disassembly
This simplifies TUI disassembly somewhat, by removing manual memory
management.
gdb/ChangeLog
2019-09-20 Tom Tromey <tom@tromey.com>
* tui/tui-disasm.c (struct tui_asm_line) <addr_string, insn>: Now
std::string.
(tui_disassemble): Add "pos" parameter.
(tui_disasm_window::set_contents): Simplify.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b634e52..00d97c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2019-09-20 Tom Tromey <tom@tromey.com> + * tui/tui-disasm.c (struct tui_asm_line) <addr_string, insn>: Now + std::string. + (tui_disassemble): Add "pos" parameter. + (tui_disasm_window::set_contents): Simplify. + +2019-09-20 Tom Tromey <tom@tromey.com> + * tui/tui-winsource.h (struct tui_source_window_base) <show_source_content>: Now private. * tui/tui-winsource.c |