binutils-gdb/gdb/tui
Andrew Burgess 583068ca1d gdb: Move declarations from symtab.h to source.h
Declarations for functions in source.c are split between source.h and
symtab.h.  This commit moves the small number that are in symtab.h
into source.h.  There's just one file that needs to add an include of
source.h in order to build.

I've moved the function header comments from source.c to source.h
inline with the recommended GDB style.

gdb/ChangeLog:

	* source.c (select_source_symtab): Move header comment to
	declaration in source.h.
	(forget_cached_source_info_for_objfile): Likewise.
	(forget_cached_source_info): Likewise.
	(identify_source_line): Likewise.
	* source.h (identify_source_line): Move declaration from symtab.h
	and add comment from source.c
	(print_source_lines): Likewise.
	(forget_cached_source_info_for_objfile): Likewise.
	(forget_cached_source_info): Likewise.
	(select_source_symtab): Likewise.
	(enum print_source_lines_flag): Move definition from symtab.h.
	* symtab.h (identify_source_line): Move declaration to source.h.
	(print_source_lines): Likewise.
	(forget_cached_source_info_for_objfile): Likewise.
	(forget_cached_source_info): Likewise.
	(select_source_symtab): Likewise.
	(enum print_source_lines_flag): Move definition to source.h.
	* tui/tui-hooks.c: Add 'source.h' include.
2019-01-08 12:19:40 +00:00
..
ChangeLog-1998-2003
tui-command.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-command.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-data.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-data.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-disasm.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-disasm.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-hooks.c gdb: Move declarations from symtab.h to source.h 2019-01-08 12:19:40 +00:00
tui-hooks.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-interp.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-io.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-io.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-layout.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-layout.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-out.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-out.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-regs.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-regs.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-source.c Use xstrdup in tui_set_source_content 2019-01-03 15:39:56 -07:00
tui-source.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-stack.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-stack.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-win.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-win.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-windata.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-windata.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-wingeneral.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-wingeneral.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-winsource.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-winsource.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00