This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb rs6000-nat.c
- From: msnyder at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 8 Jan 2002 02:04:13 -0000
- Subject: src/gdb rs6000-nat.c
CVSROOT: /cvs/src
Module name: src
Changes by: msnyder@sources.redhat.com 2002-01-07 18:04:13
Modified files:
gdb : rs6000-nat.c
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/rs6000-nat.c.diff?cvsroot=src&r1=1.19&r2=1.20