binutils-gdb/gdb/compile
Tom Tromey b10bae1875 Avoid crash when "compile" expression uses cooked register
If the "compile" command is used with an expression that happens to
require a cooked register, then GDB can crash.  This patch does not
fix the bug, but at least turns the crash into an error instead.

2021-01-23  Tom Tromey  <tom@tromey.com>

	PR compile/25575
	* compile/compile-loc2c.c (note_register): New function.
	(pushf_register_address, pushf_register): Use it.
2021-01-23 20:33:25 -07:00
..
compile-c-support.c Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
compile-c-symbols.c Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
compile-c-types.c gdb: remove TYPE_OBJFILE_OWNED macro 2021-01-22 12:23:40 -05:00
compile-c.h Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
compile-cplus-symbols.c
compile-cplus-types.c gdb: remove TYPE_OBJFILE_OWNED macro 2021-01-22 12:23:40 -05:00
compile-cplus.h
compile-internal.h Remove call to reset from compile_to_object 2021-01-23 17:48:48 -07:00
compile-loc2c.c Avoid crash when "compile" expression uses cooked register 2021-01-23 20:33:25 -07:00
compile-object-load.c
compile-object-load.h
compile-object-run.c
compile-object-run.h
compile.c Remove call to reset from compile_to_object 2021-01-23 17:48:48 -07:00
compile.h Use std::vector for "registers_used" in compile feature 2021-01-23 20:33:25 -07:00
gcc-c-plugin.h
gcc-cp-plugin.h