Tom de Vries 7ab9679411 [gdb/symtab] Enable ada .gdb_index
Currently the .gdb_index is not enabled for ada executables (PR24713).

Fix this by adding the required support in write_psymbols, similar to how that
is done for .debug_names in debug_names::insert.

Tested on x86_64-linux, with native and target board cc-with-gdb-index.

gdb/ChangeLog:

2020-06-10  Tom de Vries  <tdevries@suse.de>

	PR ada/24713
	* dwarf2/index-write.c (struct mapped_symtab): Add m_string_obstack.
	(write_psymbols): Enable .gdb_index for ada.
	* dwarf2/read.c: Remove comment stating .gdb_index is unsupported for
	ada.

gdb/testsuite/ChangeLog:

2020-06-10  Tom de Vries  <tdevries@suse.de>

	* gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2020-06-10 14:46:53 +02:00
..
2020-04-24 13:40:33 -06:00
2020-05-20 07:21:49 -06:00
2020-05-11 10:28:17 -07:00
2020-05-11 10:28:17 -07:00
2020-05-11 10:28:17 -07:00
2020-05-11 10:28:17 -07:00
2020-05-11 10:28:17 -07:00
2020-05-11 10:28:17 -07:00
2020-05-11 10:28:17 -07:00
2020-05-11 10:28:17 -07:00
2020-04-24 13:40:33 -06:00
2020-04-24 13:40:33 -06:00
2020-04-24 13:40:33 -06:00
2020-05-11 10:28:17 -07:00
2020-04-24 13:40:33 -06:00