public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: gdb-patches@sourceware.org
Subject: [PATCH v2 0/3] fileio error cleanups
Date: Mon, 29 Aug 2022 12:29:23 -0400	[thread overview]
Message-ID: <20220829162926.3752040-1-simon.marchi@polymtl.ca> (raw)
In-Reply-To: <20220826195459.2540898-1-simon.marchi@efficios.com>

This is a v2 of:

  https://inbox.sourceware.org/gdb-patches/20220826195459.2540898-1-simon.marchi@efficios.com/

I only updated patch 3:

  - The commit message claimed the function was renamed, but the code
    didn't actually rename it.  Now it does.
  - I noticed that remote.c contained an identical fileio error to errno
    function, so change remote.c to use the common function too.

Simon Marchi (3):
  gdbsupport: move include/gdb/fileio.h contents to fileio.h
  gdbsupport: convert FILEIO_* macros to an enum
  gdbsupport: move fileio_errno_to_host to fileio.{h,cc} and rename

 gdb/gdb_bfd.c          |  70 +++-----------------
 gdb/inf-child.c        |  14 ++--
 gdb/inf-child.h        |  14 ++--
 gdb/linux-nat.c        |   6 +-
 gdb/linux-nat.h        |   6 +-
 gdb/linux-tdep.c       |   2 +-
 gdb/remote.c           | 139 +++++++++++++--------------------------
 gdb/sparc64-tdep.c     |   8 +--
 gdb/target.c           |  48 +++++++-------
 gdb/target.h           |  29 +++++----
 gdbserver/hostio.cc    |   2 +-
 gdbserver/win32-low.cc |   2 +-
 gdbsupport/fileio.cc   |  55 +++++++++++++++-
 gdbsupport/fileio.h    | 120 +++++++++++++++++++++++++++++++++-
 include/gdb/fileio.h   | 144 -----------------------------------------
 15 files changed, 293 insertions(+), 366 deletions(-)
 delete mode 100644 include/gdb/fileio.h


base-commit: 27d582267a1d06e94661979f8893799ac235a768
-- 
2.37.2


  parent reply	other threads:[~2022-08-29 16:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 19:54 [PATCH 1/3] gdbsupport: move include/gdb/fileio.h contents to fileio.h Simon Marchi
2022-08-26 19:54 ` [PATCH 2/3] gdbsupport: convert FILEIO_* macros to an enum Simon Marchi
2022-08-26 19:54 ` [PATCH 3/3] gdbsupport: move fileio_errno_to_host to fileio.{h.cc} and rename Simon Marchi
2022-08-29 16:29 ` Simon Marchi [this message]
2022-08-29 16:29   ` [PATCH v2 1/3] gdbsupport: move include/gdb/fileio.h contents to fileio.h Simon Marchi
2022-09-21 18:13     ` Simon Marchi
2022-08-29 16:29   ` [PATCH v2 2/3] gdbsupport: convert FILEIO_* macros to an enum Simon Marchi
2022-08-29 16:29   ` [PATCH v2 3/3] gdbsupport: move fileio_errno_to_host to fileio.{h, cc} and rename Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220829162926.3752040-1-simon.marchi@polymtl.ca \
    --to=simon.marchi@polymtl.ca \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).