From b91ad3ff949be78a43653b6138cbd515d4bdb637 Mon Sep 17 00:00:00 2001 From: Alan Hayward Date: Mon, 11 Jun 2018 10:29:20 +0100 Subject: Increase gdbsever PBUFSIZ PBUFSIZ is no longer big enough for SVE. Increase accordingly. gdbserver/ * server.h (PBUFSIZ): Increase size --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/server.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 475a1aa..fac340e 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,9 @@ 2018-06-11 Alan Hayward + * server.h (PBUFSIZ): Increase size + +2018-06-11 Alan Hayward + * regcache.c (regcache::raw_compare): New function. * regcache.h (regcache::raw_compare): New declaration. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 9202df2..8e197ee 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -113,7 +113,7 @@ extern int in_queued_stop_replies (ptid_t ptid); /* Buffer sizes for transferring memory, registers, etc. Set to a constant value to accomodate multiple register formats. This value must be at least as large as the largest register set supported by gdbserver. */ -#define PBUFSIZ 16384 +#define PBUFSIZ 18432 /* Definition for an unknown syscall, used basically in error-cases. */ #define UNKNOWN_SYSCALL (-1) -- cgit v1.1