Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mark Beckwith <mark@intrig.com>
To: gdb@sources.redhat.com
Subject: bdi2000 and gdb (newbie question)
Date: Thu, 26 Aug 2004 20:57:00 -0000	[thread overview]
Message-ID: <20040826205715.GF6632@john.intrig.com> (raw)

I've got a bdi2000 and Cogent csb337 running the micromonitor boot loader.
I've been able to compile and download the umon to the csb337 successfully
using the bdi2000 and jtag interface.  

However, I can't seem to step through the code.  I 

After loading the CSB337_tst.elf file into ram, from the host I run:

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

// I can set breakpoints:

(gdb) b main
Breakpoint 1 at 0x2011beac: file main.c, line 45.
(gdb) c
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x63655220 in ?? ()
(gdb) step
Cannot find bounds of current function

I hope you can see something obvious that I'm doing wrong, and point me in
the right direction.

Thanks,

Mark

-- 
Mark Beckwith, Intrig (http://www.intrig.com)


             reply	other threads:[~2004-08-26 20:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26 20:57 Mark Beckwith [this message]
2004-08-26 21:06 ` Daniel Jacobowitz
2004-08-26 22:12 ` Jay Monkman
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=20040826205715.GF6632@john.intrig.com \
    --to=mark@intrig.com \
    --cc=gdb@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