aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-08-27 13:03:15 +0100
committerPedro Alves <palves@redhat.com>2015-08-27 13:03:15 +0100
commita5c0808e221c0e8600561c2c9664c920d808a887 (patch)
tree75bb202c9d846685b59cc67eff59fb00085d9bda /gdb/c-lang.h
parentcdaec3f3e7ea9118204f0e579bd3257234fbae63 (diff)
downloadgdb-a5c0808e221c0e8600561c2c9664c920d808a887.zip
gdb-a5c0808e221c0e8600561c2c9664c920d808a887.tar.gz
gdb-a5c0808e221c0e8600561c2c9664c920d808a887.tar.bz2
gdb: remove packet size limit
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. Tested on x86_64 Fedora 20. gdb/ChangeLog: 2015-08-27 Pedro Alves <palves@redhat.com> * remote.c (DEFAULT_MAX_MEMORY_PACKET_SIZE) (MIN_MEMORY_PACKET_SIZE): New. (MAX_REMOTE_PACKET_SIZE, MIN_REMOTE_PACKET_SIZE): Delete. (get_memory_packet_size): Adjust. No longer limit the max packet size. (set_memory_packet_size): Adjust, and remove dead code. (remote_check_symbols): Use xmalloc and a cleanup instead of alloca. (remote_packet_size): No longer cap the packet size. (putpkt_binary): Use xmalloc and a cleanup instead of alloca.
Diffstat (limited to 'gdb/c-lang.h')
0 files changed, 0 insertions, 0 deletions