This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: confused about running program on remote target
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Erik Reikes <ereikes at hotmail dot com>
- Cc: peter at cis dot strath dot ac dot uk, jecer at Rational dot Com,ecos-discuss at sources dot redhat dot com
- Date: Tue, 05 Feb 2002 14:03:31 +0000
- Subject: Re: [ECOS] confused about running program on remote target
- Organization: Red Hat UK Ltd.
- References: <F53cQTLwR2ozm2F4mOK0000497a@hotmail.com>
Erik Reikes wrote:
>
> I've recently been having problems getting the debugger to insert
> breakpoints and it seems to be a little flaky even running some of the
> example files. I have a feeling I might have something setup wrong in my
> ecos library, but I haven't figured it out yet. While I'm here does anyone
> know any special (i.e. non-default) i386 build options that are required for
> proper debugger operation?
Debugging optimized executables is always somewhat unreliable. Build
without optimization (i.e. remove -O2, or change it to -O0). In eCos this
can be done by changing CYGBLD_GLOBAL_CFLAGS, "make clean" and then "make"
from the CLI at least.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine