public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Revert "gdb/gdbserver: fix some defined but unused function warnings" Date: Tue, 26 Mar 2024 18:58:43 +0000 (GMT) [thread overview] Message-ID: <20240326185843.D81B93858CDA@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4c48ff3e92ab45de7b8bb9de30fcc6d70669e2ab commit 4c48ff3e92ab45de7b8bb9de30fcc6d70669e2ab Author: Andrew Burgess <aburgess@redhat.com> Date: Tue Mar 26 18:50:48 2024 +0000 Revert "gdb/gdbserver: fix some defined but unused function warnings" This reverts commit f4c19f89ef43dbce8065532c808e1aeb05d08994. Diff: --- gdb/nat/x86-linux-tdesc.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gdb/nat/x86-linux-tdesc.c b/gdb/nat/x86-linux-tdesc.c index 8a02f77fa6a..c438dfae84f 100644 --- a/gdb/nat/x86-linux-tdesc.c +++ b/gdb/nat/x86-linux-tdesc.c @@ -160,8 +160,6 @@ static constexpr x86_tdesc_feature x86_linux_all_tdesc_features[] = { { X86_XSTATE_X87, true, false, false } }; -#if defined __i386__ || !defined IN_PROCESS_AGENT - /* Return a compile time constant which is a mask of all the cpu features that are checked for when building an i386 target description. */ @@ -177,10 +175,6 @@ x86_linux_i386_tdesc_feature_mask () return mask; } -#endif /* __i386__ || !IN_PROCESS_AGENT */ - -#ifdef __x86_64__ - /* Return a compile time constant which is a mask of all the cpu features that are checked for when building an amd64 target description. */ @@ -211,8 +205,6 @@ x86_linux_x32_tdesc_feature_mask () return mask; } -#endif /* __x86_64__ */ - /* Return a compile time constant which is a count of the number of cpu features that are checked for when building an i386 target description. */ @@ -230,8 +222,6 @@ x86_linux_i386_tdesc_count () return (1 << count); } -#if defined __x86_64__ || defined IN_PROCESS_AGENT - /* Return a compile time constant which is a count of the number of cpu features that are checked for when building an amd64 target description. */ @@ -266,8 +256,6 @@ x86_linux_x32_tdesc_count () return (1 << count); } -#endif /* __x86_64__ || IN_PROCESS_AGENT */ - #ifdef IN_PROCESS_AGENT /* See linux-x86-tdesc.h. */
reply other threads:[~2024-03-26 18:58 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=20240326185843.D81B93858CDA@sourceware.org \ --to=aburgess@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: linkBe 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).