gcc/libcc1
Tom Tromey 1a51cb2990 libcc1: share GDB plugin code
The two GDB plugins in libcc1 share a fair amount of code.  This was
done by copy-and-paste, though in reality the underlying code is
nearly identical.

libcc1

	* libcp1.cc (struct libcp1): Derive from base_gdb_plugin.  Remove
	shared code.
	(class libcp1_connection): Remove.
	(rpc): Remove.
	(libcp1_set_verbose, libcp1_compile): Update.
	(cp_call_binding_oracle, cp_call_symbol_address)
	(cp_call_enter_scope, cp_call_leave_scope): Update.
	* libcc1.cc (struct libcc1): Derive from base_gdb_plugin.  Remove
	shared code.
	(class libcc1_connection): Remove.
	(c_call_binding_oracle, c_call_symbol_address): Update.
	(rpc): Remove.
	(libcc1_set_verbose, libcc1_compile): Update.
	* gdbctx.hh: New file.
2021-05-05 00:06:17 -06:00
..
aclocal.m4
callbacks.cc
callbacks.hh libcc1: delete copy constructor and assignment operators 2021-05-05 00:06:16 -06:00
cc1plugin-config.h.in
ChangeLog Daily bump. 2021-05-04 00:16:53 +00:00
compiler-name.hh
compiler.cc libcc1: unify compiler handling 2021-05-05 00:06:17 -06:00
compiler.hh libcc1: unify compiler handling 2021-05-05 00:06:17 -06:00
configure GCC_CET_HOST_FLAGS: Check if host supports multi-byte NOPs 2021-05-03 05:01:23 -07:00
configure.ac
connection.cc libcc1: inline some simple methods 2021-05-05 00:06:16 -06:00
connection.hh libcc1: delete copy constructor and assignment operators 2021-05-05 00:06:16 -06:00
context.cc libcc1: share basic context code 2021-05-05 00:06:17 -06:00
context.hh libcc1: share basic context code 2021-05-05 00:06:17 -06:00
deleter.hh libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
findcomp.cc
findcomp.hh
gdbctx.hh libcc1: share GDB plugin code 2021-05-05 00:06:17 -06:00
libcc1.cc libcc1: share GDB plugin code 2021-05-05 00:06:17 -06:00
libcc1.sym
libcc1plugin.cc libcc1: share basic context code 2021-05-05 00:06:17 -06:00
libcc1plugin.sym
libcp1.cc libcc1: share GDB plugin code 2021-05-05 00:06:17 -06:00
libcp1plugin.cc libcc1: share basic context code 2021-05-05 00:06:17 -06:00
libcp1plugin.sym
Makefile.am libcc1: share basic context code 2021-05-05 00:06:17 -06:00
Makefile.in libcc1: share basic context code 2021-05-05 00:06:17 -06:00
marshall-cp.hh libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
marshall.cc libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
marshall.hh libcc1: use variadic templates for "call" 2021-05-05 00:06:16 -06:00
names.cc
names.hh
rpc.hh libcc1: add more uses of 'deleter' 2021-05-05 00:06:17 -06:00
status.hh