public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Make main_ui be heap allocated
@ 2016-06-21 16:33 sergiodj+buildbot
  2016-06-21 16:39 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: sergiodj+buildbot @ 2016-06-21 16:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98d9f24ed15c5ca33bff06647d87b85e22e586d2 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 98d9f24ed15c5ca33bff06647d87b85e22e586d2

Make main_ui be heap allocated

This is preparation for being able to create more than one UI object.

The change to gdb_main to stop using catch_errors is necessary because
catch_errors references current_uiout, which expands to
current_ui->m_current_ui, which would crash because current_ui is not
initialized yet at that point.  It didn't trigger earlier in the
series because before this patch, main_ui/current_ui always start out
non-NULL.

gdb/ChangeLog:
2016-06-21  Pedro Alves  <palves@redhat.com>

	* event-top.c (main_ui_): Delete.
	(main_ui, current_ui, ui_list): No longer initialize here.
	* main.c (captured_main): UI initialization code factored out to
	new new_ui function.
	(gdb_main): Wrap captured_main with TRY/CATCH instead of
	catch_errors.
	* top.c (highest_ui_num): New global.
	(new_ui): New function.
	* top.h (struct ui) <num>: New field.
	(new_ui): New declaration.


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-07-15  9:16 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 16:33 [binutils-gdb] Make main_ui be heap allocated sergiodj+buildbot
2016-06-21 16:39 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
2016-06-21 16:42 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2016-06-21 16:48 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2016-06-21 16:54 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-06-21 17:00 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2016-06-21 17:12 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2016-06-22  1:05 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2016-06-22  1:12 ` Failures on Debian-i686, " sergiodj+buildbot
2016-06-22  2:36 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-06-22  5:12 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
2016-06-22  5:59 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-06-23  6:34 ` Failures on Fedora-ppc64be-cc-with-index, " sergiodj+buildbot
2016-06-23  6:44 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2016-06-23  7:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2016-06-23  8:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-06-23 10:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-06-23 10:56 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
2016-06-23 11:26 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2016-06-23 11:51 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
2016-07-15  8:50 ` Failures on Ubuntu-AArch64-m64, " sergiodj+buildbot
2016-07-15  9:16 ` Failures on Ubuntu-AArch64-native-gdbserver-m64, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).