[0/2] Changes to error reporting from the expression parser

Message ID cover.1703361278.git.aburgess@redhat.com
Headers
Series Changes to error reporting from the expression parser |

Message

Andrew Burgess Dec. 23, 2023, 7:56 p.m. UTC
  While working on another patch I wished that the error reporting from
the expression parser was better.  This series is my attempt to make
it better.

---

Andrew Burgess (2):
  gdb: improve error reporting from expression parser
  gdb: don't try to style content in error calls

 gdb/ada-exp.y                               |  2 +-
 gdb/c-exp.y                                 |  5 +----
 gdb/d-exp.y                                 |  5 +----
 gdb/f-exp.y                                 |  5 +----
 gdb/go-exp.y                                |  5 +----
 gdb/m2-exp.y                                |  5 +----
 gdb/p-exp.y                                 |  5 +----
 gdb/parse.c                                 | 16 ++++++++++++++++
 gdb/parser-defs.h                           |  9 +++++++++
 gdb/procfs.c                                |  6 ++----
 gdb/testsuite/gdb.ada/bp_c_mixed_case.exp   |  4 ++--
 gdb/testsuite/gdb.base/exprs.exp            |  7 +++++++
 gdb/testsuite/gdb.base/quit.exp             |  2 +-
 gdb/testsuite/gdb.base/settings.exp         |  4 ++--
 gdb/testsuite/gdb.base/watch_thread_num.exp |  2 +-
 gdb/testsuite/gdb.cp/local-static.exp       |  2 +-
 gdb/testsuite/gdb.dlang/expression.exp      |  2 +-
 17 files changed, 49 insertions(+), 37 deletions(-)


base-commit: 316e74cec34cde2468e50aadafc62ce86d1971a6