public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Simplify exception handling
@ 2019-04-08 15:37 sergiodj+buildbot
  2019-04-08 15:53 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: sergiodj+buildbot @ 2019-04-08 15:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5c10118216867e133c132b4f46e19fb6aa9258a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c5c10118216867e133c132b4f46e19fb6aa9258a

Simplify exception handling

Now that cleanups have been removed, TRY/CATCH can't be SJLJ-based any
more.  This patch simplifies the exception handling code, by removing
the non-working variants.

Note that the "pure" C++ exception handling code is removed as well; I
think the route forward must be to change exceptions to be
self-destructing, so that try_scope_depth can simply be removed.

Some longjmp-based code remains, as it is needed to throw an exception
through readline.

gdb/ChangeLog
2019-04-08  Tom Tromey  <tom@tromey.com>

	* common/common-exceptions.h (GDB_XCPT_SJMP, GDB_XCPT_TRY)
	(GDB_XCPT_RAW_TRY, GDB_XCPT): Remove.
	(TRY, CATCH, END_CATCH): Remove some definitions.
	* common/common-exceptions.c: Don't use GDB_XCPT.
	(catcher_list_size): Remove.
	(throw_exception, throw_it): Simplify.


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

end of thread, other threads:[~2019-04-24 14:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 15:37 [binutils-gdb] Simplify exception handling sergiodj+buildbot
2019-04-08 15:53 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
2019-04-11 13:30 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2019-04-11 14:12 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
2019-04-12 15:05 ` *** COMPILATION FAILED *** Failures on NetBSD-x86_64-m64, branch master *** BREAKAGE *** sergiodj+buildbot
2019-04-12 18:48 ` Failures on Fedora-i686, branch master sergiodj+buildbot
2019-04-12 19:12 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2019-04-12 19:16 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2019-04-12 19:20 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2019-04-12 20:36 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2019-04-21  0:27 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2019-04-24 14:50 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " 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).