mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue