8sa1-binutils-gdb/gdb/tui
Andrew Burgess e65b52456b gdb/tui: Remove casts of NULL during assignment.
In the following code:

    struct symbol *wsym = (struct symbol *) NULL;

the cast of NULL is redundant, it adds noise, and is just one more thing
to change if the type of wsym ever changes.  There are a relatively
small number of places in gdb where the above code pattern is used.
Usually the cast is removed like this:

    struct symbol *wsym = NULL;

This commit updates all the places within the gdb/tui directory where we
cast NULL during assignment, removing the cast.

gdb/ChangeLog:

	* tui/tui-data.c (win_with_focus): Remove cast of NULL pointer.
	(tui_next_win): Likewise.
	(tui_prev_win): Likewise.
	(tui_partial_win_by_name): Likewise.
	(tui_init_generic_part): Likewise.
	(init_content_element): Likewise.
	(tui_del_window): Likewise.
	(tui_free_window): Likewise.
	(tui_del_data_windows): Likewise.
	(tui_free_data_content): Likewise.
	* tui/tui-layout.c (make_source_or_disasm_window): Likewise.
	* tui/tui-regs.c (tui_show_register_group): Likewise.
	* tui/tui-win.c (tui_resize_all): Likewise.
	(tui_set_focus): Likewise.
	(tui_set_win_height): Likewise.
	(make_invisible_and_set_new_height): Likewise.
	* tui/tui-windata.c (tui_delete_data_content_windows): Likewise.
	* tui/tui-wingeneral.c (make_visible): Likewise.
2015-09-04 16:50:41 +01:00
..
ChangeLog-1998-2003
tui-command.c Remove buggy xterm workaround in tui_dispatch_ctrl_char() 2015-05-14 08:18:06 -04:00
tui-command.h
tui-data.c gdb/tui: Remove casts of NULL during assignment. 2015-09-04 16:50:41 +01:00
tui-data.h Remove fields curch and cur_line from TUI_CMD_WIN 2015-08-20 23:06:47 -04:00
tui-disasm.c Replace some xmalloc-family functions with XNEW-family ones 2015-08-26 17:18:12 -04:00
tui-disasm.h
tui-file.c
tui-file.h
tui-hooks.c tui: replace deprecated_register_changed_hook with observer 2015-07-08 14:44:30 -04:00
tui-hooks.h
tui-interp.c
tui-io.c tui: don't overwrite a secondary prompt that was given no input 2015-08-21 16:18:39 -04:00
tui-io.h
tui-layout.c gdb/tui: Remove casts of NULL during assignment. 2015-09-04 16:50:41 +01:00
tui-layout.h gdb: Remove register class specific layout names. 2015-05-21 20:47:24 +02:00
tui-out.c
tui-regs.c gdb/tui: Remove casts of NULL during assignment. 2015-09-04 16:50:41 +01:00
tui-regs.h
tui-source.c TUI: avoid calling strcpy() on identical string objects 2015-04-27 21:19:58 -04:00
tui-source.h
tui-stack.c TUI: Make sure to update registers if frame information has changed 2015-07-01 12:13:57 -04:00
tui-stack.h TUI: Make sure to update registers if frame information has changed 2015-07-01 12:13:57 -04:00
tui-win.c gdb/tui: Remove casts of NULL during assignment. 2015-09-04 16:50:41 +01:00
tui-win.h
tui-windata.c gdb/tui: Remove casts of NULL during assignment. 2015-09-04 16:50:41 +01:00
tui-windata.h
tui-wingeneral.c gdb/tui: Remove casts of NULL during assignment. 2015-09-04 16:50:41 +01:00
tui-wingeneral.h
tui-winsource.c Make type-safe the 'content' field of struct tui_gen_win_info 2015-04-27 21:19:53 -04:00
tui-winsource.h
tui.c gdb: New 'tui enable' and 'tui disable' commands. 2015-05-22 12:18:49 +02:00
tui.h gdb: Remove register class specific layout names. 2015-05-21 20:47:24 +02:00