diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-03-02 15:32:22 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-03-07 16:30:08 -0500 |
commit | f4db482bac97b12de5b25c203e3d24116e2a46bb (patch) | |
tree | 221fb2b3037af3d4f6ca2b111edb3938e9833e94 /binutils/strings.c | |
parent | 4779ed9757fa71e6743fb7fc1f9eeae8267ae36c (diff) | |
download | binutils-f4db482bac97b12de5b25c203e3d24116e2a46bb.zip binutils-f4db482bac97b12de5b25c203e3d24116e2a46bb.tar.gz binutils-f4db482bac97b12de5b25c203e3d24116e2a46bb.tar.bz2 |
gdb: make get_interp_info return a reference
get_interp_info and get_current_interp_info always return non-nullptr,
so they can return a reference instead of a pointer.
Since we don't need to copy it, make ui_interp_info non-copyiable, to
avoid a copying it in a local variable, instead of getting a reference.
Change-Id: I6d8dea92dc26a58ea340d04862db6b8d9cf906a0
Reviewed-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'binutils/strings.c')
0 files changed, 0 insertions, 0 deletions