binutils-gdb/gdb/compile
Jan Kratochvil e68c32d53e compile: set debug compile: Display GCC driver filename
As discussed in
	How to use compile & execute function in GDB
	https://sourceware.org/ml/gdb/2015-04/msg00026.html

GDB currently searches for compilers on /usr/bin/ARCH-OS-gcc and
chooses a match from there.  However, it is not currently possible for
the user to display which compiler was selected.  Up until now, GDB's
compiler interface was not up-to-date with GCC's one, which means that
it wasn't possible to obtain this information.  This patch implements
the mechanisms necessary for that.

gdb/ChangeLog
2017-08-23  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* compile/compile.c (compile_to_object): Conditionally call
	set_verbose.  Conditionally call compile or compile_v0.

include/ChangeLog
2017-08-23  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gcc-interface.h (enum gcc_base_api_version): Add
	GCC_FE_VERSION_1.
	(struct gcc_base_vtable): Rename compile to compile_v0.  Update
	comment for compile.  New methods set_verbose and compile.
2017-08-23 11:15:03 -04:00
..
compile-c-support.c Add STRINGIFY to gdb/common/preprocessor.h 2017-06-22 10:59:42 +01:00
compile-c-symbols.c Convert lvalue reference type check to general reference type check 2017-03-20 13:47:54 -07:00
compile-c-types.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compile-internal.h Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy 2017-02-02 11:11:47 +00:00
compile-loc2c.c compile-loc2c: Fix uninitialized variable error 2017-07-09 20:25:46 +02:00
compile-object-load.c Use gdb::unique_xmalloc_ptr when calling tilde_expand 2017-08-05 15:52:49 -06:00
compile-object-load.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compile-object-run.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compile-object-run.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compile.c compile: set debug compile: Display GCC driver filename 2017-08-23 11:15:03 -04:00
compile.h Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy 2017-02-02 11:11:47 +00:00