mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
include/exec: Move gdb open flags to gdbstub.h
There were 3 copies of these flags. Place them in the file with gdb_do_syscall, with which they belong. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
a1a2a3e609
commit
94b14fe08f
4 changed files with 9 additions and 23 deletions
|
@ -69,14 +69,6 @@ struct gdb_timeval {
|
|||
uint64_t tv_usec; /* microsecond */
|
||||
} QEMU_PACKED;
|
||||
|
||||
#define GDB_O_RDONLY 0x0
|
||||
#define GDB_O_WRONLY 0x1
|
||||
#define GDB_O_RDWR 0x2
|
||||
#define GDB_O_APPEND 0x8
|
||||
#define GDB_O_CREAT 0x200
|
||||
#define GDB_O_TRUNC 0x400
|
||||
#define GDB_O_EXCL 0x800
|
||||
|
||||
static int translate_openflags(int flags)
|
||||
{
|
||||
int hf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue