binutils-gdb/gdb/tui
Simon Marchi 0f8e203412 gdb: add context getter/setter to cmd_list_element
Straightforward replacement of get_cmd_context / set_cmd_context with
cmd_list_element methods.

gdb/ChangeLog:

	* cli/cli-decode.h (struct cmd_list_element) <set_context,
	context>: New.
	<context>: Rename to...
	<m_context>: ... this.
	* cli/cli-decode.c (set_cmd_context, get_cmd_context): Remove.
	* command.h (set_cmd_context, get_cmd_context): Remove, use
	cmd_list_element::set_context and cmd_list_element::context
	everywhere instead.

Change-Id: I5016b0079014e3f17d1aa449ada7954473bf2b5d
2021-06-25 21:35:40 -04:00
..
ChangeLog-1998-2003
tui-command.c
tui-command.h
tui-data.c
tui-data.h Initial TUI mouse support 2021-06-04 16:15:01 +02:00
tui-disasm.c [gdb/tui] Fix len_without_escapes in tui-disasm.c 2021-04-06 10:40:11 +02:00
tui-disasm.h
tui-file.c
tui-file.h
tui-hooks.c gdbsupport, gdb: give names to observers 2021-04-24 19:26:41 -04:00
tui-hooks.h
tui-interp.c gdbsupport, gdb: give names to observers 2021-04-24 19:26:41 -04:00
tui-io.c Make the TUI command window support the mouse 2021-06-17 11:57:56 +01:00
tui-io.h gdb/tui: fix issue with handling the return character 2021-02-08 09:51:46 +00:00
tui-layout.c gdb: add context getter/setter to cmd_list_element 2021-06-25 21:35:40 -04:00
tui-layout.h gdb/tui: don't add windows to global list from tui_layout🪟:apply 2021-02-08 11:18:33 +00:00
tui-location.c gdb/tui: remove special handling of locator/status window 2021-01-28 17:00:30 +00:00
tui-location.h gdb/tui: remove special handling of locator/status window 2021-01-28 17:00:30 +00:00
tui-out.c
tui-out.h
tui-regs.c Don't draw register sub windows outside the visible area 2021-02-07 19:13:45 +01:00
tui-regs.h
tui-source.c gdb/tui: remove special handling of locator/status window 2021-01-28 17:00:30 +00:00
tui-source.h
tui-stack.c gdb: move all "current target" wrapper implementations to target.c 2021-03-24 18:07:30 -04:00
tui-stack.h gdb/tui: remove special handling of locator/status window 2021-01-28 17:00:30 +00:00
tui-win.c Make the TUI command window support the mouse 2021-06-17 11:57:56 +01:00
tui-win.h
tui-wingeneral.c gdb/tui: remove special handling of locator/status window 2021-01-28 17:00:30 +00:00
tui-wingeneral.h
tui-winsource.c gdb: remove iterate_over_breakpoints function 2021-05-27 14:58:37 -04:00
tui-winsource.h
tui.c Make the TUI command window support the mouse 2021-06-17 11:57:56 +01:00
tui.h gdb/tui: remove special handling of locator/status window 2021-01-28 17:00:30 +00:00