[PATCHv1,0/2] Fix regression passing core files on GDB command line

Message ID cover.1730020661.git.aburgess@redhat.com
Headers
Series Fix regression passing core files on GDB command line |

Message

Andrew Burgess Oct. 27, 2024, 9:19 a.m. UTC
  My recent work on filename completion managed to break some cases for
passing a core file to GDB from the command line.

Patch #1 is a minor cleanup.

Patch #2 fixes the regression.

Thanks,
Andrew

---

Andrew Burgess (2):
  gdb: make core_target_open static
  gdb: allow core file containing special characters on the command line

 gdb/corelow.c                       |   8 +-
 gdb/gdbcore.h                       |   4 -
 gdb/main.c                          |  17 ++--
 gdb/testsuite/gdb.base/corefile.exp | 116 +++++++++++++---------------
 gdbsupport/pathstuff.cc             |  21 +++++
 gdbsupport/pathstuff.h              |   6 ++
 6 files changed, 95 insertions(+), 77 deletions(-)


base-commit: a723c56efb07c4f8b3f6a3ed4b878a2f8f5572cc