Dave B. Sharp wrote:
no, GDB will set the breakpoint on loading. so, if you staid connected, did a reset of the board and then reloaded the image, you'd end up with the breakpoint set again.No, but even if I had would that have not been cleared with a reboot?
what i usually do is set breakpoints at cyg_user_start and cyg_assert_fail before doing the continue.
cheers, dirk
Dave --- Dirk Husemann <[EMAIL PROTECTED]> wrote:Dave B. Sharp wrote:I've compiled and done everything in link you sent:arm-gdb main target remore .... load ... continue continuing when I do the continue it seem to hang waiting forthetarget to connect. When I <cntl-c> out it reports interupted while waiting for the program Give up (and stop debugging it?) (y or n) Am I missing something? Do I need to write a stubformy program or is the one in Redboot sufficient?hmm...not sure whether you did that, but did you seta breakpoint? at least from the summary above it looks like youdidn't... dirkCheers Dave --- Andrew Lunn <[EMAIL PROTECTED]> wrote:On Thu, Oct 27, 2005 at 03:33:09PM -0400, Dave B. Sharp wrote:I have been looking for gdb with Redboot to noavail,however I beleive I am about to find outotherwise.Can you point me to some info and, can I use gdbin"exec" mode, since at that point I beleive therewillno longer be any Redboot supportYou don't need to use exec mode. Just connect with gdb then use gdb to load the application into ram, set breakpoints and use gdbs go command to set it running.http://ecos.sourceware.org/docs-latest/user-guide/using-commandline-testcase.htmlAndrew__________________________________________________________Find your next car at http://autos.yahoo.ca-- Dr Dirk Husemann, Pervasive Computing, IBM Research, Zurich Research Lab [EMAIL PROTECTED] --- http://www.zurich.ibm.com/~hud/ PGP key: http://www.zurich.ibm.com/~hud/contact/PGP PGP Fingerprint: 983C 48E7 0A78 A313 401C C4AD 3C0A 278E 6431 A149 Email only authentic if signed with PGP key. Appended to this email is an electronic signature attachment. You can ignore it if your email program does not know how to verify such a signature. If you'd like to learn more about this topic, www.gnupg.org is a good starting point.__________________________________________________________ Find your next car at http://autos.yahoo.ca
--
Dr Dirk Husemann, Pervasive Computing, IBM Research, Zurich Research Lab
[EMAIL PROTECTED] --- http://www.zurich.ibm.com/~hud/
PGP key: http://www.zurich.ibm.com/~hud/contact/PGP
PGP Fingerprint: 983C 48E7 0A78 A313 401C C4AD 3C0A 278E 6431 A149
Email only authentic if signed with PGP key.
Appended to this email is an electronic signature attachment. You can
ignore it if your email program does not know how to verify such a
signature. If you'd like to learn more about this topic, www.gnupg.org
is a good starting point.
signature.asc
Description: OpenPGP digital signature
