This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/2] Eliminate catch_{errors|exceptions|exceptions_with_msg}


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]