gdb(4):amd64: Bump MI GDB_BUFSZ for more efficient transfers
A bigger buffer reduces the RTTs to transfer long messages and is otherwise relatively harmless, especially on systems with plenty of memory.
This commit is contained in:
parent
5555afa14e
commit
799176810a
@ -31,9 +31,10 @@
|
||||
#ifndef _MACHINE_GDB_MACHDEP_H_
|
||||
#define _MACHINE_GDB_MACHDEP_H_
|
||||
|
||||
#define GDB_BUFSZ (GDB_NREGS * 16)
|
||||
#define GDB_BUFSZ 4096
|
||||
#define GDB_NREGS 56
|
||||
#define GDB_REG_PC 16
|
||||
_Static_assert(GDB_BUFSZ >= (GDB_NREGS * 16), "buffer fits 'g' regs");
|
||||
|
||||
static __inline size_t
|
||||
gdb_cpu_regsz(int regnum)
|
||||
|
Loading…
x
Reference in New Issue
Block a user