This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Some File I/O improvements for embedded programming
- From: Julio Guerra <guerr at julio dot in>
- To: gdb-patches at sourceware dot org
- Cc: Mike Frysinger <vapier at gentoo dot org>
- Date: Sat, 28 Apr 2018 03:19:36 +0200
- Subject: [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