gdb: move type_map_instance to compile/compile.c
It's only used in compile/compile.c, it doesn't need to be in a header. Change-Id: Ic5bec996b7b0cd7130055d1e8ff238b5ac4292a3 Reviewed-By: Bruno Larsen <blarsen@redhat.com>
This commit is contained in:
parent
57ffc61c6d
commit
c85555b1a8
2 changed files with 13 additions and 13 deletions
|
@ -26,19 +26,6 @@ extern bool compile_debug;
|
|||
|
||||
struct block;
|
||||
|
||||
/* An object that maps a gdb type to a gcc type. */
|
||||
|
||||
struct type_map_instance
|
||||
{
|
||||
/* The gdb type. */
|
||||
|
||||
struct type *type;
|
||||
|
||||
/* The corresponding gcc type handle. */
|
||||
|
||||
gcc_type gcc_type_handle;
|
||||
};
|
||||
|
||||
/* An object of this type holds state associated with a given
|
||||
compilation job. */
|
||||
|
||||
|
|
|
@ -74,6 +74,19 @@ struct symbol_error
|
|||
char *message;
|
||||
};
|
||||
|
||||
/* An object that maps a gdb type to a gcc type. */
|
||||
|
||||
struct type_map_instance
|
||||
{
|
||||
/* The gdb type. */
|
||||
|
||||
struct type *type;
|
||||
|
||||
/* The corresponding gcc type handle. */
|
||||
|
||||
gcc_type gcc_type_handle;
|
||||
};
|
||||
|
||||
/* Hash a type_map_instance. */
|
||||
|
||||
static hashval_t
|
||||
|
|
Loading…
Add table
Reference in a new issue