This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Serial support for arm board


Dave B. Sharp wrote:

No, but even if I had would that have not been cleared
with a reboot?


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.

what i usually do is set breakpoints at cyg_user_start and cyg_assert_fail before doing the continue.

   cheers,
   dirk

Dave

--- Dirk Husemann <hud@zurich.ibm.com> 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 for


the


target 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 stub


for


my program or is the one in Redboot sufficient?




hmm...not sure whether you did that, but did you set
a breakpoint? at least from the summary above it looks like you
didn't...


dirk



Cheers
 Dave

--- Andrew Lunn <andrew@lunn.ch> wrote:





On Thu, Oct 27, 2005 at 03:33:09PM -0400, Dave B.
Sharp wrote:




I have been looking for gdb with Redboot to no




avail,




however I beleive I am about to find out




otherwise.




Can you point me to some info and, can I use gdb




in




"exec" mode, since at that point I beleive there




will




no longer be any Redboot support



You 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.html






Andrew












__________________________________________________________



Find your next car at http://autos.yahoo.ca





--
Dr Dirk Husemann, Pervasive Computing, IBM Research,
Zurich Research Lab
	hud@zurich.ibm.com ---
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
	hud@zurich.ibm.com --- 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.

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]