diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-19 16:04:32 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-19 16:07:59 -0400 |
commit | 559798f82800e1d7a2ef8b86da4a0e169e07efee (patch) | |
tree | 30bcb4aefb6814b2e86bb85738de53b8a819cfc3 /gdb/nat | |
parent | ebb8507cee4edcb6b355a04159a4d4822f756e1c (diff) | |
download | gdb-559798f82800e1d7a2ef8b86da4a0e169e07efee.zip gdb-559798f82800e1d7a2ef8b86da4a0e169e07efee.tar.gz gdb-559798f82800e1d7a2ef8b86da4a0e169e07efee.tar.bz2 |
gdb: fix include for gdb_signal in target/waitstatus.h
clangd tells me that the gdb_signals.h include in target/waitstatus.h is
unused. This include was probably to give access to `enum gdb_signal`,
but this is in fact defined in gdb/signals.h. Change the include to
gdb/signals.h. Include gdbsupport/gdb_signals.h in some files that were
relying on the transitive include.
Change-Id: I6f4361b3d801394bf29abe8c1393aff110aa0ad6
Diffstat (limited to 'gdb/nat')
-rw-r--r-- | gdb/nat/fork-inferior.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/nat/fork-inferior.c b/gdb/nat/fork-inferior.c index a5900fe..4378177 100644 --- a/gdb/nat/fork-inferior.c +++ b/gdb/nat/fork-inferior.c @@ -26,6 +26,7 @@ #include "gdbsupport/pathstuff.h" #include "gdbsupport/signals-state-save-restore.h" #include "gdbsupport/gdb_tilde_expand.h" +#include "gdbsupport/gdb_signals.h" #include <vector> extern char **environ; |