2002-01-07 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 8 Jan 2002 00:59:31 +0000 (00:59 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 8 Jan 2002 00:59:31 +0000 (00:59 +0000)
commit94cd915f48523bbcbe20f74835d7f5a9d0b3a916
treedc78d55a6fc5d5e7ae9a34a443711986bb9b714d
parent1dba4cb4baa4862670e9019c2bd1f718807b4b92
2002-01-07  Michael Snyder  <msnyder@redhat.com>

* infptrace.c (GDB_MAX_ALLOCA): New define.
(child_xfer_memory): Use xmalloc/xfree instead of alloca if the
size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
can be overridden with whatever value is appropriate to the host).
* infttrace.c (child_xfer_memory): Add FIXME warning about use of
alloca to allocate potentially large buffer.
* rs6000-nat.c (child_xfer_memory): Ditto.
* symm-nat.c (child_xfer_memory): Ditto.
* x86-64-linux-nat.c (child_xfer_memory): Ditto.
gdb/ChangeLog
gdb/infptrace.c
gdb/infttrace.c
gdb/symm-nat.c
gdb/x86-64-linux-nat.c
This page took 0.027647 seconds and 4 git commands to generate.