This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] Some File I/O improvements for embedded programming


These patches bring some improvements to the File I/Os to allow advanced uses in
embedded debugging/testing libraries mainly by:
- Exporting the include/gdb/fileio.h which contains the File I/O-specific types
  to be able to reuse them in the target programs sending/receiving them.
- Allowing opening special files, for example to mockup APIs through host's,
  using fifos, etc.

Suggested a few years ago in the mailing-list:
https://sourceware.org/ml/gdb/2016-07/msg00003.html

Julio Guerra (4):
  Remove the restriction of File I/O functions to regular files only
  Do not clear the value of st_dev in File I/O's stat()
  Explicit fixed-width integral File I/O protocol types
  Install gdb/fileio.h

 gdb/ChangeLog        | 20 +++++++++++++++
 gdb/Makefile.in      |  3 ++-
 gdb/common/fileio.c  | 39 +++++++++++++++--------------
 gdb/common/fileio.h  |  8 +++---
 gdb/remote-fileio.c  | 51 ++++++++++----------------------------
 include/gdb/fileio.h | 58 +++++++++++++++-----------------------------
 6 files changed, 78 insertions(+), 101 deletions(-)

-- 
2.17.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]