aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-10-22 13:37:37 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-10-22 13:41:12 -0500
commit3a49427939764f53e196ae10013c72fcffb8c085 (patch)
tree3fd19bc98d4e2d2b6b6cce5f182683c61d4f6d92 /gdb/utils.c
parentccb1ba62299edce72053dd567b9d384814e11885 (diff)
downloadgdb-3a49427939764f53e196ae10013c72fcffb8c085.zip
gdb-3a49427939764f53e196ae10013c72fcffb8c085.tar.gz
gdb-3a49427939764f53e196ae10013c72fcffb8c085.tar.bz2
Fix compile error & incorrect push
I accidentally pushed the wrong version of the patch for commit 7bb43059820c5febb4509b15202a93efde442bc6 (where the review comments were not fixed), and I did a bad conflict resolution for ccb1ba62299edce72053dd567b9d384814e11885 leading to a compile error when libxxhash is available. This fixes both issues. gdb/ChangeLog: 2019-10-22 Christian Biesinger <cbiesinger@google.com> * symtab.c (struct demangled_name_entry): Add a constructor. (free_demangled_name_entry): New function to call the destructor for demangled_name_entry. (create_demangled_names_hash): Pass free_demangled_name_entry to htab_create_alloc. (symbol_set_names): Call placement new for demangled_name_entry. * utils.c: No longer include xxhash.h here, now that fast_hash is inlined in the header. * utils.h: Instead, include it here. Change-Id: If776099d39a65a12733d42efcb859feca1b07a39
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 1b62e55..3afb8e5 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -36,10 +36,6 @@
#include <pc.h>
#endif
-#ifdef HAVE_LIBXXHASH
-#include <xxhash.h>
-#endif
-
#include <signal.h>
#include "gdbcmd.h"
#include "serial.h"