public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Daniel.Andersson@combitechsystems.com
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] App works in RAM but not in flash memory
Date: Thu, 16 Aug 2001 10:30:00 -0000	[thread overview]
Message-ID: <3B7C0314.99BB3F3B@redhat.com> (raw)
In-Reply-To: <2253171AF143D21185A60000F8FA748B02DA4E5C@pluto.combitech.se>

Daniel.Andersson@combitechsystems.com wrote:
> 
> I think i have located a few things that causes this error. I have had the
> option "include gdb stub in HAL" marked and this is not a good combination
> since they interfere with the rest of the code. When i disabled the above
> options then I got less strange mbox messages. However, i still get a few
> and i think that if i disable all the debug options (and GDB support) in
> eCos then my app will run much better.

GDB debugging support (i.e. -g) should never affect the run-time operation
of a program.

> However, I can't get all the debug
> info to disaper. I have removed all the debug-flags in the makefiles, both
> when building eCos and when building my application. I still get some "debug
> info" and "debug lines" in my map-file on address 0x00. How can i remove all
> such information?

That's source code debugging as used by GDB. They shouldn't be marked as
loadable and thus shouldn't be loaded onto your target at all. If they are,
that would be a bug :). You could remove them with objcopy, but I really
don't think this is likely to be your problem.

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

  reply	other threads:[~2001-08-16 10:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-16  9:42 Daniel.Andersson
2001-08-16 10:30 ` Jonathan Larmour [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-17  2:56 Fano Ramparany
2001-08-17 11:29 ` Jonathan Larmour
2001-08-20  5:39   ` Fano Ramparany
2001-08-21  3:14     ` Prasad Kamath Nala
2001-08-21  7:02       ` Jonathan Larmour
2001-08-20  7:30   ` Fano Ramparany
2001-08-16  6:47 Daniel.Andersson
2001-08-16  7:25 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B7C0314.99BB3F3B@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=Daniel.Andersson@combitechsystems.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).