From: Alan Hayward Date: Mon, 11 Jun 2018 09:29:20 +0000 (+0100) Subject: Increase gdbsever PBUFSIZ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b91ad3ff949be78a43653b6138cbd515d4bdb637;p=binutils-gdb.git Increase gdbsever PBUFSIZ PBUFSIZ is no longer big enough for SVE. Increase accordingly. gdbserver/ * server.h (PBUFSIZ): Increase size --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 475a1aaca9d..fac340e2f02 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2018-06-11 Alan Hayward + + * server.h (PBUFSIZ): Increase size + 2018-06-11 Alan Hayward * regcache.c (regcache::raw_compare): New function. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index 9202df29489..8e197eef8fd 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)