Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jay Monkman <jtm-list-gdb@smoothsmoothie.com>
To: Mark Beckwith <mark@intrig.com>
Cc: gdb@sources.redhat.com
Subject: Re: bdi2000 and gdb (newbie question)
Date: Thu, 26 Aug 2004 22:12:00 -0000	[thread overview]
Message-ID: <20040826221713.GH14665@smoothsmoothie.com> (raw)
In-Reply-To: <20040826205715.GF6632@john.intrig.com>

On Thu, Aug 26, 2004 at 03:57:15PM -0500, Mark Beckwith wrote:
> prompt> gdb CSB337_tst.elf 
> 
> (gdb) target remote 192.168.100.44:2001
> Remote debugging using 192.168.100.44:2001
> 0x00000000 in ?? ()
> 
> // Ok, then I try to step:
> 
> (gdb) step  
> Cannot find bounds of current function

It doesn't look like you loaded your program. Here's the basic
sequence I use 

# gdb

(gdb) file whatever.elf
(gdb) load
(gdb) br main
(gdb) continue

There are a few things to keep in mind when using the BDI-2000 with
GDB. 
 - You need to load the file before you do start trying to run it.
 - Use 'continue' not 'run' to initiate execution.
 - Make sure you have the BDI-2000 configured for the correct 
   type of breakpoints.
 - (ARM specific) It is frequently good to put break points at the
    data and instruction expection vectors:
      br *0xc
      br *0x10


  parent reply	other threads:[~2004-08-26 22:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26 20:57 Mark Beckwith
2004-08-26 21:06 ` Daniel Jacobowitz
2004-08-26 22:12 ` Jay Monkman [this message]
2004-08-27 16:24   ` Mark Beckwith
2004-08-27 17:49     ` Jay Monkman
2004-09-01 16:18       ` Mark Beckwith
2004-09-01 18:53         ` Jay Monkman
2004-09-01 21:00           ` Mark Beckwith
2004-08-27  6:59 ` Fabian Cenedese

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=20040826221713.GH14665@smoothsmoothie.com \
    --to=jtm-list-gdb@smoothsmoothie.com \
    --cc=gdb@sources.redhat.com \
    --cc=mark@intrig.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