public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Some File I/O improvements for embedded programming
@ 2018-04-28  1:19 Julio Guerra
  2018-04-28  1:19 ` [PATCH 1/4] Remove the restriction of File I/O functions to regular files only Julio Guerra
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Julio Guerra @ 2018-04-28  1:19 UTC (permalink / raw)
  To: gdb-patches; +Cc: Mike Frysinger

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-05-02 16:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-28  1:19 [PATCH 0/4] Some File I/O improvements for embedded programming Julio Guerra
2018-04-28  1:19 ` [PATCH 1/4] Remove the restriction of File I/O functions to regular files only Julio Guerra
2018-04-30  1:54   ` Simon Marchi
2018-04-28  1:19 ` [PATCH 3/4] Explicit fixed-width integral File I/O protocol types Julio Guerra
2018-05-02 10:46   ` Pedro Alves
     [not found]     ` <332abe88-4b88-3f06-7141-31a798f2b153@farjump.io>
2018-05-02 15:18       ` Julio Guerra
2018-05-02 16:14         ` Joel Brobecker
     [not found]           ` <a5149a53-09e3-2a08-607a-38d81dfa5eac@farjump.io>
2018-05-02 16:31             ` Julio Guerra
2018-04-28  1:19 ` [PATCH 2/4] Do not clear the value of st_dev in File I/O's stat() Julio Guerra
2018-04-28  1:19 ` [PATCH 4/4] Install gdb/fileio.h Julio Guerra

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).