diff options
author | Tom Tromey <tom@tromey.com> | 2023-09-19 20:34:23 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-09-20 11:45:16 -0600 |
commit | ef0f16ccf8c3f09a3e986329c1428789ef17f17f (patch) | |
tree | eeec07619180cc7c3ad56e555fdf914d9b863595 /gdbserver | |
parent | 0b7de6d3ee07653e97e65a2968742c93b7102f62 (diff) | |
download | gdb-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.zip gdb-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.tar.gz gdb-ef0f16ccf8c3f09a3e986329c1428789ef17f17f.tar.bz2 |
Remove explanatory comments from includes
I noticed a comment by an include and remembered that I think these
don't really provide much value -- sometimes they are just editorial,
and sometimes they are obsolete. I think it's better to just remove
them. Tested by rebuilding.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdbserver')
-rw-r--r-- | gdbserver/linux-low.h | 2 | ||||
-rw-r--r-- | gdbserver/target.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/linux-low.h b/gdbserver/linux-low.h index 6dc9319..f7cedf6 100644 --- a/gdbserver/linux-low.h +++ b/gdbserver/linux-low.h @@ -28,7 +28,7 @@ /* Included for ptrace type definitions. */ #include "nat/linux-ptrace.h" -#include "target/waitstatus.h" /* For enum target_stop_reason. */ +#include "target/waitstatus.h" #include "tracepoint.h" #include <list> diff --git a/gdbserver/target.h b/gdbserver/target.h index d993e36..f13ee40 100644 --- a/gdbserver/target.h +++ b/gdbserver/target.h @@ -21,7 +21,7 @@ #ifndef GDBSERVER_TARGET_H #define GDBSERVER_TARGET_H -#include <sys/types.h> /* for mode_t */ +#include <sys/types.h> #include "target/target.h" #include "target/resume.h" #include "target/wait.h" |