diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-31 11:30:22 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-28 14:13:27 -0600 |
commit | 22f8b65e9bd75ac66d7874da8dc844dd3c42ce8b (patch) | |
tree | 56ff8697ca328ab48f78ed3a681b533fbfc794ef /gdb/ui-file.c | |
parent | 48ac197b0c209ccf1f2de9704eb6cdf7c5c73a8e (diff) | |
download | binutils-22f8b65e9bd75ac66d7874da8dc844dd3c42ce8b.zip binutils-22f8b65e9bd75ac66d7874da8dc844dd3c42ce8b.tar.gz binutils-22f8b65e9bd75ac66d7874da8dc844dd3c42ce8b.tar.bz2 |
Simplify the CLI set_logging logic
The CLI's set_logging logic seemed unnecessarily complicated to me.
This patch simplifies it, with an eye toward changing it to use RAII
objects in a subsequent patch.
I did not touch the corresponding MI code. That code seems incorrect
(nothing ever uses raw_stdlog, and nothing ever sets
saved_raw_stdlog). I didn't attempt to fix this, because I question
whether this is even useful for MI.
Diffstat (limited to 'gdb/ui-file.c')
0 files changed, 0 insertions, 0 deletions