summaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2002-01-08 02:04:12 +0000
committerMichael Snyder <msnyder@specifix.com>2002-01-08 02:04:12 +0000
commitebb86bf37348f4561586a9bcc2eb8184f801d230 (patch)
tree0ebbea2c9a1f77aca56a207404c3a384b7d8e0ed /gdb/somread.c
parentbe805347a93ff183dcdbed2e74c9da2a3683af6e (diff)
downloadgdb-ebb86bf37348f4561586a9bcc2eb8184f801d230.tar.gz
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.
Diffstat (limited to 'gdb/somread.c')
0 files changed, 0 insertions, 0 deletions