old-cross-binutils/gdb/tui
Tom Tromey 52059ffd69 Fix struct, union, and enum nesting in C++
In C, an enum or structure defined inside other structure has global
scope just like it had been defined outside the struct in the first
place.  However, in C++, such a nested structure is given a name that
is nested inside the structure.  This patch moves such affected
structures/enums out to global scope, so that code using them works
the same in C++ as it works today in C.

gdb/ChangeLog:
2015-02-27  Tom Tromey  <tromey@redhat.com>
	    Pedro Alves  <palves@redhat.com>

	* dwarf2-frame.c (enum cfa_how_kind, struct
	dwarf2_frame_state_reg_info): Move out of struct
	dwarf2_frame_state.
	* dwarf2read.c (struct tu_stats): Move out of struct
	dwarf2_per_objfile.
	(struct file_entry): Move out of struct line_header.
	(struct nextfield, struct nextfnfield, struct fnfieldlist, struct
	typedef_field_list): Move out of struct field_info.
	* gdbtypes.h (enum dynamic_prop_kind, union dynamic_prop_data):
	Move out of struct dynamic_prop.
	(union type_owner, union field_location, struct field, struct
	range_bounds, union type_specific): Move out of struct main_type.
	(struct fn_fieldlist, struct fn_field, struct typedef_field)
	(VOFFSET_STATIC): Move out of struct cplus_struct_type.
	(struct call_site_target, union call_site_parameter_u, struct
	call_site_parameter): Move out of struct call_site.
	* m32c-tdep.c (enum m32c_prologue_kind): Move out of struct
	m32c_prologue.
	(enum srcdest_kind): Move out of struct srcdest.
	* main.c (enum cmdarg_kind): Move out of struct cmdarg.
	* prologue-value.h (enum prologue_value_kind): Move out of struct
	prologue_value.
	* s390-linux-tdep.c (enum s390_abi_kind): Move out of struct
	gdbarch_tdep.
	* stabsread.c (struct nextfield, struct next_fnfieldlist): Move
	out of struct field_info.
	* symfile.h (struct other_sections): Move out of struct
	section_addr_info.
	* symtab.c (struct symbol_cache_slot): Move out struct
	block_symbol_cache.
	* target-descriptions.c (enum tdesc_type_kind): Move out of
	typedef struct tdesc_type.
	* tui/tui-data.h (enum tui_line_or_address_kind): Move out of
	struct tui_line_or_address.
	* value.c (enum internalvar_kind, union internalvar_data): Move
	out of struct internalvar.
	* xtensa-tdep.h (struct ctype_cache): Move out of struct
	gdbarch_tdep.
2015-02-27 17:19:15 +00:00
..
ChangeLog-1998-2003
tui-command.c Speed up GDB's TUI output 2015-02-04 12:27:28 +01:00
tui-command.h Speed up GDB's TUI output 2015-02-04 12:27:28 +01:00
tui-data.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-data.h Fix struct, union, and enum nesting in C++ 2015-02-27 17:19:15 +00:00
tui-disasm.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-disasm.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-file.c Speed up GDB's TUI output 2015-02-04 12:27:28 +01:00
tui-file.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-hooks.c Consolidate the custom TUI query hook with the default query hook 2015-01-09 13:27:56 -05:00
tui-hooks.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-interp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-io.c Asynchronously resize the TUI 2015-02-18 17:26:06 -05:00
tui-io.h Make sure TABs are expanded in TUI windows on MS-Windows. 2015-01-31 10:47:14 +02:00
tui-layout.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-layout.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-out.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-regs.c Make sure TABs are expanded in TUI windows on MS-Windows. 2015-01-31 10:47:14 +02:00
tui-regs.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-source.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-source.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-stack.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-stack.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-win.c Asynchronously resize the TUI 2015-02-18 17:26:06 -05:00
tui-win.h Really add a prototype for tui_rehighlight_all. 2015-01-16 19:58:04 +02:00
tui-windata.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
tui-windata.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-wingeneral.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-wingeneral.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-winsource.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui-winsource.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tui.c TUI: resize windows to new terminal size before displaying them 2015-02-17 10:05:52 +00:00
tui.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00