public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
From: Roland McGrath <roland@sourceware.org>
To: gdb-cvs@sourceware.org
Subject: [binutils-gdb] gdb: LoongArch: Remove nonportable #include
Date: Fri,  3 Jun 2022 06:13:26 +0000 (GMT)	[thread overview]
Message-ID: <20220603061326.193B33857BAC@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d9ad47747aacc9326f9e880cbe6077e5c4988456

commit d9ad47747aacc9326f9e880cbe6077e5c4988456
Author: Roland McGrath <mcgrathr@google.com>
Date:   Thu Jun 2 22:59:23 2022 -0700

    gdb: LoongArch: Remove nonportable #include
    
    Don't use gregset.h in *-tdep.c since it's not usable on
    hosts that don't have <sys/procfs.h>.  It's not needed by
    this file, and should only be needed by *-nat.c files.

Diff:
---
 gdb/loongarch-linux-tdep.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/loongarch-linux-tdep.c b/gdb/loongarch-linux-tdep.c
index f6854298569..372643761b1 100644
--- a/gdb/loongarch-linux-tdep.c
+++ b/gdb/loongarch-linux-tdep.c
@@ -20,7 +20,6 @@
 
 #include "defs.h"
 #include "glibc-tdep.h"
-#include "gregset.h"
 #include "inferior.h"
 #include "linux-tdep.h"
 #include "loongarch-tdep.h"


                 reply	other threads:[~2022-06-03  6:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220603061326.193B33857BAC@sourceware.org \
    --to=roland@sourceware.org \
    --cc=gdb-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).