binutils-gdb/gdb/mi
Pedro Alves db2d40f7d0 Introduce switch_to_inferior_no_thread
Several places want to switch context to an inferior and its pspace,
while at the same time switch to "no thread selected".  This commit
adds a function that does that, and uses it in a few places.

gdb/ChangeLog:
2020-01-10  Pedro Alves <palves@redhat.com>

	* inferior.c (switch_to_inferior_no_thread): New function,
	factored out from ...
	(inferior_command): ... here.
	* inferior.h (switch_to_inferior_no_thread): Declare.
	* mi/mi-main.c (run_one_inferior): Use
	switch_to_inferior_no_thread.
2020-01-10 20:05:47 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-break.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-catch.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-disas.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-env.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-file.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-info.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-stack.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-target.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmd-var.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmds.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-cmds.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-common.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-common.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-console.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-console.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-getopt.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-getopt.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-interp.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-interp.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-main.c Introduce switch_to_inferior_no_thread 2020-01-10 20:05:47 +00:00
mi-main.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-out.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-out.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-parse.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-parse.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
mi-symbol-cmds.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00