]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: don't include hashtab.h in defs.h
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 22 Apr 2024 20:10:16 +0000 (16:10 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 01:34:19 +0000 (21:34 -0400)
commit740ccea39ecf04c96025a04c5f97de28c71ff8b5
treebb7ac2e092436d44cbfa27aede6347f2a44a4e2d
parent6e7c49c2dd9ab0803894925c2ec422ea5aeddfb8
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>
gdb/defs.h
gdb/dwarf2/die.h
gdb/dwarf2/index-common.h
gdb/extension.h