diff options
author | Tom Tromey <tom@tromey.com> | 2019-09-10 12:56:09 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-09-20 13:49:12 -0600 |
commit | f074b67ec812612637342a1647da9158a1e77de0 (patch) | |
tree | f0cdc8bf43671b2cc89c0bd9e02167fb826c18e9 /gprof/corefile.h | |
parent | 63c4bf1922d5553edb213606270b0e2782bbe4c8 (diff) | |
download | gdb-f074b67ec812612637342a1647da9158a1e77de0.zip gdb-f074b67ec812612637342a1647da9158a1e77de0.tar.gz gdb-f074b67ec812612637342a1647da9158a1e77de0.tar.bz2 |
Use make_unique_xstrdup in TUI
This changes a couple of spots in the TUI to use make_unique_xstrdup.
This simplifies the code slightly.
gdb/ChangeLog
2019-09-20 Tom Tromey <tom@tromey.com>
* tui/tui-source.c (tui_source_window::set_contents): Use
make_unique_xstrdup.
* tui/tui-disasm.c (tui_disasm_window::set_contents): Use
make_unique_xstrdup.
Diffstat (limited to 'gprof/corefile.h')
0 files changed, 0 insertions, 0 deletions