Move compile_instance to compile.c
This simple patch moves any code related to compile_instance into compile.c, reserving compile-c-* files strictly for C language support. gdb/ChangeLog: * compile/compile-c-symbols.c (struct symbol_error) (hash_symbol_error, eq_symbol_error, del_symbol_error) (compile_instance::insert_symbol_error) (compile_instance::error_symbol_once): Move to ... * compile/compile.c: ... here.
This commit is contained in:
parent
9cdfd9a26e
commit
946d3d10e7
6 changed files with 203 additions and 193 deletions
|
@ -25,6 +25,19 @@ extern int 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. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue