aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2018-06-11 10:29:20 +0100
committerAlan Hayward <alan.hayward@arm.com>2018-06-11 10:29:45 +0100
commitb91ad3ff949be78a43653b6138cbd515d4bdb637 (patch)
tree7131a826016df7cf68cff72e963922abb514b798 /gdb
parent65d4cadafd7d9d5bb84810cde98a8c3a007a0594 (diff)
downloadgdb-b91ad3ff949be78a43653b6138cbd515d4bdb637.zip
gdb-b91ad3ff949be78a43653b6138cbd515d4bdb637.tar.gz
gdb-b91ad3ff949be78a43653b6138cbd515d4bdb637.tar.bz2
Increase gdbsever PBUFSIZ
PBUFSIZ is no longer big enough for SVE. Increase accordingly. gdbserver/ * server.h (PBUFSIZ): Increase size
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.h2
2 files changed, 5 insertions, 1 deletions
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 <alan.hayward@arm.com>
+ * server.h (PBUFSIZ): Increase size
+
+2018-06-11 Alan Hayward <alan.hayward@arm.com>
+
* 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)