[FYI] Sort includes for files gdb/[a-f]*.[chyl].
Andreas Schwab
schwab@linux-m68k.org
Sat Apr 6 06:48:00 GMT 2019
On Apr 05 2019, Tom Tromey <tom@tromey.com> wrote:
> diff --git a/gdb/aarch64-fbsd-nat.c b/gdb/aarch64-fbsd-nat.c
> index bb187a600d0..cb4130a2844 100644
> --- a/gdb/aarch64-fbsd-nat.c
> +++ b/gdb/aarch64-fbsd-nat.c
> @@ -18,16 +18,18 @@
> along with this program. If not, see <http://www.gnu.org/licenses/>. */
>
> #include "defs.h"
> -#include "target.h"
>
> -#include <sys/types.h>
> -#include <sys/ptrace.h>
> +/* Standard C includes. */
> #include <machine/reg.h>
> +#include <sys/ptrace.h>
> +#include <sys/types.h>
These are not really "Standard C includes".
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Gdb-patches
mailing list