public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jamie Guinan <guinan@bluebutton.com>
To: Jonathan Larmour <jlarmour@cygnus.co.uk>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Re: MBX stubrom (was [ECOS] loader.bin sources?)
Date: Wed, 21 Jul 1999 10:02:00 -0000	[thread overview]
Message-ID: <Pine.LNX.3.96.990721125618.3992A-100000@newt.home.net> (raw)
In-Reply-To: <3795EB29.9FC6F384@cygnus.co.uk>

On Wed, 21 Jul 1999, Jonathan Larmour wrote:

> I made a mistake - it turns out there are some differences between the MBX
> and the platform I based my original answer on.

No fault of yours, I had asked about the Cogent before and you gave me
the right answer for that one.

> You should ensure that pkgconf/hal.h has the following "#define"s enabled:
> 
> CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
> CYG_HAL_ROM_MONITOR
> 
> and the following commented out:
> 
> CYGFUN_HAL_COMMON_KERNEL_SUPPORT
> CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
> CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
> CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
> 
> I actually tried it this time, and this should work :-).

Yep, it works.  Thanks again!
 
> The difference between it and the platform I was referring to before is that
> the MBX ROM basically does nothing more than "load and go". If you want to
> debug your application with GDB, you should enable 
> 
> CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
> CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and
> CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT

Specifically, I would like to have the board boot up and wait for the
host-side gdb to connect to it so I can download and debug "ram"
applications.  Are those the correct defines for such behavior?
(They look right to me but you're the expert).

-Jamie


  reply	other threads:[~1999-07-21 10:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-16 11:10 [ECOS] loader.bin sources? Jamie Guinan
1999-07-16 12:18 ` Jonathan Larmour
1999-07-18 10:25   ` Jamie Guinan
1999-07-21  1:04     ` [ECOS] MBX stubrom (was [ECOS] loader.bin sources?) Jamie Guinan
1999-07-21  7:06       ` Gary Thomas
1999-07-21  8:45       ` [ECOS] " Jonathan Larmour
1999-07-21 10:02         ` Jamie Guinan [this message]
1999-07-21 10:06           ` 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=Pine.LNX.3.96.990721125618.3992A-100000@newt.home.net \
    --to=guinan@bluebutton.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=jlarmour@cygnus.co.uk \
    /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).