[v2,0/2] gdb: Fix open_source_file error handling

Message ID 20230210015942.3180401-1-amerey@redhat.com
Headers
Series gdb: Fix open_source_file error handling |

Message

Aaron Merey Feb. 10, 2023, 1:59 a.m. UTC
  v1: https://sourceware.org/pipermail/gdb-patches/2023-February/196529.html

v2 implements the following suggestions:
https://sourceware.org/pipermail/gdb-patches/2023-February/196693.html

Aaron Merey (2):
  Move implementation of perror_with_name to gdbsupport
  gdb/source: Fix open_source_file error handling

 gdb/debuginfod-support.h | 15 +++++++++------
 gdb/source-cache.c       |  2 +-
 gdb/source.c             | 40 ++++++++++++++++++++++++++++++----------
 gdb/source.h             |  5 +++--
 gdb/utils.c              | 36 ------------------------------------
 gdbserver/utils.cc       | 22 ----------------------
 gdbsupport/errors.cc     | 24 ++++++++++++++++++++++++
 gdbsupport/errors.h      | 13 ++++++++++---
 8 files changed, 77 insertions(+), 80 deletions(-)