From: simon.marchi@polymtl.ca
To: gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@efficios.com>
Subject: [pushed] gdbsupport/packed.h: cleanup includes
Date: Sun, 18 Oct 2026 20:49:22 -0400 [thread overview]
Message-ID: <20261019004924.979799-1-simon.marchi@polymtl.ca> (raw)
From: Simon Marchi <simon.marchi@efficios.com>
When opening this file with clangd, it shows that traits.h is unused,
remove it. It also shows that HOST_CHAR_BIT can't be found, include
host-defs.h for that.
Change-Id: I2cd7626232425846d276021b62f6ff6829842dae
---
gdbsupport/packed.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdbsupport/packed.h b/gdbsupport/packed.h
index 70ffb712e192..9a9d3dd966c1 100644
--- a/gdbsupport/packed.h
+++ b/gdbsupport/packed.h
@@ -18,7 +18,7 @@
#ifndef GDBSUPPORT_PACKED_H
#define GDBSUPPORT_PACKED_H
-#include "traits.h"
+#include "host-defs.h"
#include <atomic>
/* Each instantiation and full specialization of the packed template
base-commit: 51a3543256371959571afd7b1ed06e4637a6a193
--
2.55.0
reply other threads:[~2026-10-19 0:50 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=20261019004924.979799-1-simon.marchi@polymtl.ca \
--to=simon.marchi@polymtl.ca \
--cc=gdb-patches@sourceware.org \
--cc=simon.marchi@efficios.com \
/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