Introduce new shared function fileio_to_host_openflags
authorGary Benson <gbenson@redhat.com>
Tue, 21 Apr 2015 11:07:54 +0000 (12:07 +0100)
committerGary Benson <gbenson@redhat.com>
Tue, 21 Apr 2015 11:09:24 +0000 (12:09 +0100)
commit819843c7029916120aa2929f80e0d7276177a7fb
treef00b335b1e3b2af0368862d09736e8e135f2da27
parent43236bb2551a9783ff0de5e95bf75f905300eb06
Introduce new shared function fileio_to_host_openflags

This commit introduces a new shared function to replace identical
functions in GDB and gdbserver.
gdb/ChangeLog
gdb/common/fileio.c
gdb/common/fileio.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/hostio.c
gdb/inf-child.c