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] Fix "info break" crash + make "catch catch" show as catchpoint


This series fixes the issues I first discovered at:

  https://sourceware.org/ml/gdb-patches/2019-07/msg00078.html

The first patch fixes the crash.  It turns out that the "-qualified" /
wildmatching stuff was not really to blame.

The second patch changes the way "info breakpoints" shows these C++
exception catchpoints.  Currently we show them as breakpoints, after
the patch, we'll show them as catchpoints.

Pedro Alves (2):
  Fix "info break" + "catch catch" + -static-{libstdc++,libgcc}
  "catch catch/throw/rethrow", breakpoint -> catchpoint

 gdb/break-catch-throw.c                            |  25 +++--
 gdb/breakpoint.c                                   | 116 ++++++++++-----------
 gdb/breakpoint.h                                   |   7 +-
 gdb/python/py-breakpoint.c                         |   8 +-
 gdb/testsuite/gdb.cp/except-multi-location-lib.cc  |  25 +++++
 gdb/testsuite/gdb.cp/except-multi-location-main.cc |  36 +++++++
 gdb/testsuite/gdb.cp/except-multi-location.exp     |  87 ++++++++++++++++
 gdb/testsuite/gdb.cp/exception.exp                 |  18 +---
 gdb/testsuite/gdb.python/py-breakpoint.exp         |   5 +-
 9 files changed, 230 insertions(+), 97 deletions(-)
 create mode 100644 gdb/testsuite/gdb.cp/except-multi-location-lib.cc
 create mode 100644 gdb/testsuite/gdb.cp/except-multi-location-main.cc
 create mode 100644 gdb/testsuite/gdb.cp/except-multi-location.exp

-- 
2.14.5


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