8sa1-binutils-gdb/gdb/mi
Simon Marchi 328d42d87e gdb: remove current_top_target function
The current_top_target function is a hidden dependency on the current
inferior.  Since I'd like to slowly move towards reducing our dependency
on the global current state, remove this function and make callers use

  current_inferior ()->top_target ()

There is no expected change in behavior, but this one step towards
making those callers use the inferior from their context, rather than
refer to the global current inferior.

gdb/ChangeLog:

	* target.h (current_top_target): Remove, make callers use the
	current inferior instead.
	* target.c (current_top_target): Remove.

Change-Id: Iccd457036f84466cdaa3865aa3f9339a24ea001d
2021-03-24 18:08:24 -04:00
..
ChangeLog-1999-2003
mi-cmd-break.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-break.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-catch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-disas.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-env.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-file.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-info.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-stack.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-target.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmd-var.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-cmds.c gdb: make some variables static 2021-01-20 20:55:05 -05:00
mi-cmds.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-common.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-common.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-console.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-console.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-getopt.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-getopt.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-interp.c gdb/mi: Remove extra \n from tsv and and traceframe notifications 2021-02-25 16:22:13 +00:00
mi-interp.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-main.c gdb: remove current_top_target function 2021-03-24 18:08:24 -04:00
mi-main.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-out.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-out.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-parse.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-parse.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mi-symbol-cmds.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00