[PATCH] gdb: remove packet size limit
Wed Aug 26 08:44:00 GMT 2015
Pedro Alves wrote:
> The remote packet buffer size is currently capped to 16384 mostly for
> historical reasons, related to use of alloca. Stop using alloca and
> remove the limitation.
> diff --git a/gdb/remote.c b/gdb/remote.c
> index e019277..e00e67a 100644
> --- a/gdb/remote.c
> +++ b/gdb/remote.c
> @@ -920,6 +920,16 @@ struct memory_packet_config
> int fixed_p;
> +/* The default max memory-write-packet-size. The 16k is historical.
> + (It came from older GDB's using alloca for buffers and the
> + knowledge (folk law?) that some hosts don't cope very well with
More information about the Gdb-patches