diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-05-30 16:25:23 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-05-30 16:25:23 -0400 |
commit | 98841bd33223b2e62c98856dd29ab2d9cd7d1cdc (patch) | |
tree | 21248fce7bb5fe1a6087ccad52b169ad3ab9a8bb /gdb/tui/tui-source.c | |
parent | 002310d77de404189b80ff4b951b7dd27152fa71 (diff) | |
download | gdb-users/simark/try-remove-unused-includes-tui.zip gdb-users/simark/try-remove-unused-includes-tui.tar.gz gdb-users/simark/try-remove-unused-includes-tui.tar.bz2 |
gdb: cleanup includes in tui/users/simark/try-remove-unused-includes-tui
Remove includes reported as unused by clangd. Then, add any includes
necessary to get rid of errors (includes possibly relying on previous
includes)..
I didn't remove the includes of gdb-safe-ctypes.h, because it appears to
do some some preprocessor magic. I'm afraid that removing these
includes could change the behavior unintentionally.
Change-Id: I4c5b652355c3bbce022fe0d447a72dc4e1d17d34
Diffstat (limited to 'gdb/tui/tui-source.c')
-rw-r--r-- | gdb/tui/tui-source.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/tui/tui-source.c b/gdb/tui/tui-source.c index 5c17aba..444c0f7 100644 --- a/gdb/tui/tui-source.c +++ b/gdb/tui/tui-source.c @@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <math.h> -#include <ctype.h> #include "symtab.h" #include "frame.h" #include "breakpoint.h" @@ -28,16 +27,11 @@ #include "objfiles.h" #include "filenames.h" #include "source-cache.h" - -#include "tui/tui.h" -#include "tui/tui-data.h" -#include "tui/tui-io.h" #include "tui/tui-status.h" #include "tui/tui-win.h" #include "tui/tui-winsource.h" #include "tui/tui-source.h" #include "tui/tui-location.h" -#include "gdb_curses.h" /* Function to display source in the source window. */ bool |