aboutsummaryrefslogtreecommitdiff
path: root/ld/ldfile.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-10-21 10:58:08 -0600
committerTom Tromey <tom@tromey.com>2019-11-05 15:23:36 -0700
commit5d0510553eb447bf6861f4641b5ae3aaf9503a13 (patch)
treee5e9abf7cc0fdc983ac6dbcc32c8659a712b17b2 /ld/ldfile.h
parentade7beeae467e81b809fc124d8bfc2f3c4a8c8ab (diff)
downloadgdb-5d0510553eb447bf6861f4641b5ae3aaf9503a13.zip
gdb-5d0510553eb447bf6861f4641b5ae3aaf9503a13.tar.gz
gdb-5d0510553eb447bf6861f4641b5ae3aaf9503a13.tar.bz2
Change tui_source_element::line to have type std::string
This changes tui_source_element::line to be of type std::string. This reduces the number of copies made. gdb/ChangeLog 2019-11-05 Tom Tromey <tom@tromey.com> * tui/tui-winsource.h (struct tui_source_element) <line>: Now a std::string. * tui/tui-winsource.c (tui_show_source_line): Update. * tui/tui-source.c (tui_source_window::set_contents): Update. * tui/tui-disasm.c (tui_disasm_window::set_contents): Update. Change-Id: Id600f3e1d386a2911f187366e05e2ec599068dd2
Diffstat (limited to 'ld/ldfile.h')
0 files changed, 0 insertions, 0 deletions