This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: debug an ARM via parallel port (Linux)


Hi,

> The Raven works on both Windows and Linux.

oh, didn't know that.

> With respect to the problem seeing source code.   Does
> the example that is provided work OK?   Can you see
> the source code with the example?   Are you compiling
> with the -g flag?   Look in the example's  .gdbinit file and
> Makefile for help.

I'm not sure if i understand you correctly, do you refer to
the problem i had seeing the the source code?  That was related
to the return value of "S0" instead of "S00" somehow.

The example provided in the pppcb/examples/arm/eb01 folder
in the package i wrote is the one i'm testing with (except some
minor changes maybe).  I can download it, start it, stop it,
set breakpoints, ..., all with the GDB remote protocol server
i wrote.


Best regards,
Torsten.


>
> Pete.
>
> ----- Original Message -----
> From: "Torsten Mohr" <tmohr@s.netic.de>
> To: <gdb@sources.redhat.com>
> Sent: Monday, January 13, 2003 1:50 PM
> Subject: Re: debug an ARM via parallel port (Linux)
>
> > Hi,
> >
> > i heard that the Raven only works with Windows, so i assume
> > you're using windows, right?
> > My code only works in Linux, i don't have any experience in
> > ARM on Windows and about axf-files, sorry.  Also, thumb is
> > not supported at the moment.
> >
> >
> > Best regards,
> > Torsten.
> >
> > > Hi,
> > >
> > > I was able to debug on my target board with an ARM7 processor as well
>
> via a
>
> > > JTAG port (from Raven).  But I can't get the debugger to show the
> > > source code that I am debugging.  Do you have any success on that and
> > > how can I get the symbol file, which is in .axf, and get it to show it
> > > with the
>
> code
>
> > > that's running on the board on the debugger?  And is there a way to
> > > tell the debugger to use the thumb mode or the arm mode for the code?
> > >
> > > Thx a lot,
> > > Ben
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Torsten Mohr [mailto:tmohr@s.netic.de]
> > > Sent: January 12, 2003 8:49 AM
> > > To: gdb
> > > Subject: debug an ARM via parallel port (Linux)
> > >
> > >
> > > Hi,
> > >
> > > i was able to debug my ARM7TDMI evaluation board with an
> > > Atmel AT91M40400 via the parallel port.  Thanks for all your
> > > support.
> > >
> > > The project can be downloaded from:
> > >
> > > http://www.s.netic.de/tmohr/pppcb-0.5.0.tar.bz2
> > >
> > > It compiles several libraries and programs, especially
> > > "pppcb_arm_rgdb".
> > >
> > > This starts the server (user-space, don't need to be root)
> > > to listen on port 2000:
> > >
> > > pppcb_arm_rgdb --breakpoints=sw -p 2000
> > >
> > > In gdb you can then use "target remote localhost:2000" to
> > > debug the target.
> > >
> > >
> > > It worked for me, success/failure messages from others
> > > would be interesting for me.
> > >
> > >
> > > Best regards,
> > > Torsten.


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