[PATCH 0/2] Fix "info break" crash + make "catch catch" show as catchpoint

Pedro Alves palves@redhat.com
Fri Jul 5 16:00:00 GMT 2019


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



More information about the Gdb-patches mailing list