diff options
author | Pedro Alves <palves@redhat.com> | 2016-04-21 17:28:58 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-04-21 17:28:58 +0100 |
commit | 88c3cd8dcb60606a25a16ea11149219db00f847b (patch) | |
tree | 1221168a6fe473811cff84d11b477380668d35f2 /gdb/ChangeLog | |
parent | 00f4a6024f23a592a34b8a9bf46e28aa0b747fc5 (diff) | |
download | gdb-88c3cd8dcb60606a25a16ea11149219db00f847b.zip gdb-88c3cd8dcb60606a25a16ea11149219db00f847b.tar.gz gdb-88c3cd8dcb60606a25a16ea11149219db00f847b.tar.bz2 |
Switch gdb's TRY/CATCH to sjlj again
We don't currently handle the case of gdb's readline callback throwing
gdb C++ exceptions across a readline that wasn't built with
-fexceptions. The end result is:
(gdb) whatever-command-that-causes-an-error
terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
Aborted
$
Until that is fixed, revert back to sjlj-based exceptions again.
gdb/ChangeLog:
2016-04-21 Pedro Alves <palves@redhat.com>
* common/common-exceptions.h (GDB_XCPT_TRY): Add comment.
(GDB_XCPT): Always define as GDB_XCPT_SJMP.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e09030..b6282e6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2016-04-21 Pedro Alves <palves@redhat.com> + * common/common-exceptions.h (GDB_XCPT_TRY): Add comment. + (GDB_XCPT): Always define as GDB_XCPT_SJMP. + +2016-04-21 Pedro Alves <palves@redhat.com> + * aix-thread.c (pdc_read_data, pdc_write_data): Add cast. (aix_thread_resume): Use PTRACE_TYPE_ARG5. * rs6000-nat.c (rs6000_ptrace64): Use PTRACE_TYPE_ARG5. |