diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-04-22 16:10:16 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-22 21:34:19 -0400 |
commit | 740ccea39ecf04c96025a04c5f97de28c71ff8b5 (patch) | |
tree | bb7ac2e092436d44cbfa27aede6347f2a44a4e2d /gdb/extension.h | |
parent | 6e7c49c2dd9ab0803894925c2ec422ea5aeddfb8 (diff) | |
download | binutils-740ccea39ecf04c96025a04c5f97de28c71ff8b5.zip binutils-740ccea39ecf04c96025a04c5f97de28c71ff8b5.tar.gz binutils-740ccea39ecf04c96025a04c5f97de28c71ff8b5.tar.bz2 |
gdb: don't include hashtab.h in defs.h
Nothing in defs.h actually uses this.
Add some includes for some spots using things from hashtab.h. Note that
if the GDB build doesn't use libxxhash, hashtab.h is included by
gdbsupport/common-utils.h, so all files still see hashtab.h. It puzzled
me for some time why I didn't see build failures in my build (which
didn't use libxxhash) but the buildbot gave build failures (it uses
libxxhash).
Change-Id: I8efd68decdaf579f048941c7537cd689885caa2a
Approved-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/extension.h')
-rw-r--r-- | gdb/extension.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/extension.h b/gdb/extension.h index 5260bcb..9ba1299 100644 --- a/gdb/extension.h +++ b/gdb/extension.h @@ -22,6 +22,7 @@ #include "mi/mi-cmds.h" #include "gdbsupport/array-view.h" +#include "hashtab.h" #include <optional> struct breakpoint; |