Re: Usefulness of GDB on embedded systems




"hikari" <cjchen@xxxxxxxxxxxxxxxx> wrote in message
news:1115550071.314660.61790@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I am a newcomer to Embedded Systems.
> I have an Atmel AT91EB40A and an EB55.
> After building GNU toolchain following the procedure described in
> "Embedded System Design on a Shoestring", I was disappointed to
> find that GDB does not seem to work too well.
> Using GDB 5.2/Cygwin 1.3.16, I can download and run a program and
> set breakpoints. But that is as far as I got. I could not
> not single step the program.
> I've tried other combinations of more recent versions of
> GDB and Cygwin. They were even worse.


You might want to take a look at some of the prebuilt Win32 tools. I am
using http://www.gnuarm.com tools with little problems. As far as the GDB
(Insight actually), ocdlibremote, wiggler setup goes the only real problem I
have is that the 'registers' window cannot be used in Insight - the
registers can be viewed however using the Insight console so this is no real
problem.

I know of people having problems with newer versions of ocdlibremote and
wiggler clones - but this was resolved. Also I had a problem with making a
connection with ocdlibremote but this turned out to be a power up sequence
problem.

The LPC2106 FreeRTOS port documentation page (see link below) has some
instructions on using this setup. May be useful to you but perhaps won't
tell you anything new.

Regards,
Richard.

http://www.FreeRTOS.org


.



Relevant Pages

  • Re: gdb front ends, was: Re: Freescales Idea of Open Source JTAG
    ... but I mildly prefer the Insight interface. ... making Insight build against a later version of the gdb code base. ... I did look briefly at Nemiver but I didn't bother trying to compile it as ... For example, from the Nemiver FAQ: ...
    (comp.arch.embedded)
  • Re: Usefulness of GDB on embedded systems
    ... > I am a newcomer to Embedded Systems. ... > find that GDB does not seem to work too well. ... > Then I tried moving to a Linux machine and repeat the whole thing ... GDB is fairly awful at assembly language debugging, ...
    (comp.arch.embedded)
  • Re: Eclipse ARM toolchain for the Linux
    ... I have built both 68k and arm toolchains + Insight to run under Solaris ... I have also used Insight in the past (but not for remote target debugging) ... Given that it's so tightly integrated with gdb and that you cannot replace ... when I wanted to build a ARM7TDMI toolchain on Linux a couple of months ...
    (comp.arch.embedded)
  • Usefulness of GDB on embedded systems
    ... I am a newcomer to Embedded Systems. ... "Embedded System Design on a Shoestring", ... find that GDB does not seem to work too well. ... it failed to download the program. ...
    (comp.arch.embedded)
  • Re: Eclipse ARM toolchain for the Linux
    ... I needed an earlier version of Insight because the ... The Angel stuff is gone?!?! ... The RDI/ADP stuff was rather a kludged together pile of junk, ... but I've got an ancient version of GDB laying around for when I ...
    (comp.arch.embedded)