This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Stack switching
- From: Gary Thomas <gary at mlbassoc dot com>
- To: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- Cc: eCos Discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 06 Jan 2007 15:58:17 -0700
- Subject: Re: [ECOS] Stack switching
- References: <03df01c731e5$67c1e2a0$8d7ba8c0@PAULD>
Paul D. DeRocco wrote:
If I explicitly switch stacks in an eCos thread, will this break anything in
the kernel, or in the eCos extensions to GDB?
How/when/why would you do this?
It could make a GDB backtrace fail, but that only happens if you
ask for it. Normal GDB functions should not be affected.
The kernel stack checking mechanisms would also break - only used
if asserts are turned on.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss