This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Eliminate catch_{errors|exceptions|exceptions_with_msg}
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 4 Oct 2017 18:08:00 +0100
- Subject: [PATCH 0/2] Eliminate catch_{errors|exceptions|exceptions_with_msg}
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4BA504DAFB
Here are the patches originally posted in this thread:
https://sourceware.org/ml/gdb-patches/2017-09/msg00834.html
a little bit cleaned up, and now tested: a few tests needed
adjustment.
The original patches were written on top of Tromey's original
function_view-ify patch. This time I squashed my patches with his, so
parts of these patches are Tom's too.
Pedro Alves (2):
Eliminate catch_errors
Eliminate catch_exceptions/catch_exceptions_with_msg
gdb/breakpoint.c | 188 ++++++++++++++-------------------
gdb/breakpoint.h | 3 +
gdb/common/common-exceptions.c | 8 +-
gdb/common/common-exceptions.h | 6 +-
gdb/exceptions.c | 122 ---------------------
gdb/exceptions.h | 60 -----------
gdb/gdb.h | 58 ----------
gdb/gdbthread.h | 6 ++
gdb/infrun.c | 58 +++++-----
gdb/main.c | 23 ++--
gdb/mi/mi-cmd-break.c | 13 ++-
gdb/mi/mi-cmd-catch.c | 1 -
gdb/mi/mi-interp.c | 74 ++++++-------
gdb/mi/mi-main.c | 49 +++++----
gdb/objc-lang.c | 44 +++-----
gdb/record-full.c | 38 +++----
gdb/remote-fileio.c | 35 +++---
gdb/solib-aix.c | 2 +-
gdb/solib-darwin.c | 2 +-
gdb/solib-dsbt.c | 10 +-
gdb/solib-frv.c | 2 +-
gdb/solib-svr4.c | 10 +-
gdb/solib-target.c | 2 +-
gdb/solib.c | 16 ++-
gdb/solist.h | 7 +-
gdb/symfile-mem.c | 57 ++++------
gdb/symmisc.c | 47 ++++-----
gdb/testsuite/gdb.mi/mi-pthreads.exp | 2 +-
gdb/testsuite/lib/selftest-support.exp | 4 +-
gdb/thread.c | 86 +--------------
gdb/windows-nat.c | 35 ++++--
31 files changed, 343 insertions(+), 725 deletions(-)
delete mode 100644 gdb/gdb.h
--
2.5.5