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 /gdb/nat | |
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 'gdb/nat')
-rw-r--r-- | gdb/nat/aarch64-linux-hw-point.h | 2 | ||||
-rw-r--r-- | gdb/nat/amd64-linux-siginfo.h | 2 | ||||
-rw-r--r-- | gdb/nat/x86-dregs.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gdb/nat/aarch64-linux-hw-point.h b/gdb/nat/aarch64-linux-hw-point.h index 83a0a09..d155144 100644 --- a/gdb/nat/aarch64-linux-hw-point.h +++ b/gdb/nat/aarch64-linux-hw-point.h @@ -19,7 +19,7 @@ #ifndef NAT_AARCH64_LINUX_HW_POINT_H #define NAT_AARCH64_LINUX_HW_POINT_H -#include "gdbsupport/break-common.h" /* For enum target_hw_bp_type. */ +#include "gdbsupport/break-common.h" #include "nat/aarch64-hw-point.h" diff --git a/gdb/nat/amd64-linux-siginfo.h b/gdb/nat/amd64-linux-siginfo.h index 498cb2e..3f62991 100644 --- a/gdb/nat/amd64-linux-siginfo.h +++ b/gdb/nat/amd64-linux-siginfo.h @@ -20,7 +20,7 @@ #ifndef NAT_AMD64_LINUX_SIGINFO_H #define NAT_AMD64_LINUX_SIGINFO_H -#include <signal.h> /* For siginfo_t. */ +#include <signal.h> /* When GDB is built as a 64-bit application on Linux, the PTRACE_GETSIGINFO data is always presented in 64-bit layout. Since diff --git a/gdb/nat/x86-dregs.h b/gdb/nat/x86-dregs.h index 093a234..21a23be 100644 --- a/gdb/nat/x86-dregs.h +++ b/gdb/nat/x86-dregs.h @@ -33,7 +33,7 @@ (32 bytes on 64 bit hosts). */ -#include "gdbsupport/break-common.h" /* target_hw_bp_type */ +#include "gdbsupport/break-common.h" /* Low-level function vector. */ |