From c85555b1a8676145695cf5783df4d95c509ed82f Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 13 Dec 2022 22:34:29 -0500 Subject: 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 --- gdb/compile/compile.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gdb/compile/compile.c') diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 853361d..c07686c 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -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 -- cgit v1.1