diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2019-11-21 09:32:15 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-11-21 09:32:15 -0500 |
commit | 87fb00ea229f69a659ea044588b88bec03ae3a9c (patch) | |
tree | e6b9a29e88d72ebc9e8109c35e481494c417b433 /gdb/testsuite | |
parent | e19511a60cda301feacdb6244375363b08dccf7d (diff) | |
download | fsf-binutils-gdb-87fb00ea229f69a659ea044588b88bec03ae3a9c.zip fsf-binutils-gdb-87fb00ea229f69a659ea044588b88bec03ae3a9c.tar.gz fsf-binutils-gdb-87fb00ea229f69a659ea044588b88bec03ae3a9c.tar.bz2 |
gdb: remove gen_ret_current_ui_field_ptr
I think it would be clearer to not use gen_ret_current_ui_field_ptr to
generate the implementation of current_ui_gdb_stdout_ptr et al. It
doesn't save much code, but adds a layer of complexity for the reader.
Plus, it doesn't work well with IDEs, for example if you ask to find all
usages the m_gdb_stdout field.
gdb/ChangeLog:
* top.c (current_ui_gdb_stdout_ptr): Spell out by hand.
(current_ui_gdb_stdin_ptr): Likewise.
(current_ui_gdb_stderr_ptr): Likewise.
(current_ui_gdb_stdlog_ptr): Likewise.
(current_ui_current_uiout_ptr): Likewise.
(gen_ret_current_ui_field_ptr): Remove.
Change-Id: I86f821c9d119453701caedf0e47124ccddfbab2d
Diffstat (limited to 'gdb/testsuite')
0 files changed, 0 insertions, 0 deletions