#ifndef GDB_DWARF2_INDEX_COMMON_H
#define GDB_DWARF2_INDEX_COMMON_H
-#include "extract-store-integer.h"
#include "hashtab.h"
/* The suffix for an index file. */
architecture-independent. */
typedef uint32_t offset_type;
-/* Unpack a 32-bit little-endian value. */
-
-static inline offset_type
-gdb_index_unpack (const gdb_byte *value)
-{
- return (offset_type) extract_unsigned_integer (value, sizeof (offset_type),
- BFD_ENDIAN_LITTLE);
-}
-
/* The hash function for strings in the mapped index. This is the same as
SYMBOL_HASH_NEXT, but we keep a separate copy to maintain control over the
implementation. This is necessary because the hash function is tied to the