Fix compile error & incorrect push
I accidentally pushed the wrong version of the patch for commit7bb4305982
(where the review comments were not fixed), and I did a bad conflict resolution forccb1ba6229
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
This commit is contained in:
parent
ccb1ba6229
commit
3a49427939
4 changed files with 34 additions and 9 deletions
|
@ -36,10 +36,6 @@
|
|||
#include <pc.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBXXHASH
|
||||
#include <xxhash.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include "gdbcmd.h"
|
||||
#include "serial.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue