This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
gdb stack in stub
- To: "'gdb mail list'" <gdb at sourceware dot cygnus dot com>
- Subject: gdb stack in stub
- From: David Williams <davidwilliams at ozemail dot com dot au>
- Date: Fri, 3 Dec 1999 05:54:03 +1100
- Organization: DLC software P/L
- Reply-To: "davidwilliams at ozemail dot com dot au" <davidwilliams at ozemail dot com dot au>
Hi all,
I noticed that a 10K local stack is allocated in the m68k-stub.c for it own
use when communcating with gdb. This seems excessive. I would like to leave
the stub code in my final application so that I can debug in the field (via
a special option). However it would be better if the stub consumed the
least amount of system resources as possible.
Is there any problem with using my applications stack (if enough room is
allocated for GDB usage in addition to normal usage)? My application always
runs in supervisor mode.
What is likely max stack usage of GDB?
TIA
David Williams.