|
Message
From: "Robert Cragie" <rcc@j...>
Date: Mon, 22 Sep 2003 09:21:29 +0100
Subject: RE: [openrisc] or32-uclinux-gdb
The target's embedded OS may typically wait for a string which is terminated
by an LF before packaging it up in a GDB remote debugging protocol string
packet and sending it to the host. I am guessing that the difference you see
may be down to the way the different operating systems handle the GDB remote
debugging protocol, assuming of course that you are a) running your target
with RTEMS and debugging with or32-rtems-gdb and b) running your target with
uCLinux and debugging with or32-uclinux-gdb.
You could try doing 'set debug remote on' if you're using serial debugging;
'set debug target on' may also help.
Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
http://www.jennic.com Tel: +44 (0) 114 281 2655
_______________________________________________________________
> -----Original Message-----
> From: owner-openrisc@o...
> [mailto:owner-openrisc@o...]On Behalf Of Tomas Jonsson
> Sent: 22 September 2003 08:30
> To: openrisc@o...
> Subject: [openrisc] or32-uclinux-gdb
>
>
> I have problems with my or32-uclinux-gdb.
>
> The problem is that the characters is not echo:ed (or displayed) and no
> respons is displayed on the screen when I am running gdb from a terminal
> window (it works in emacs). Instead I have to do <ctrl>-a for each time
> I want to see what I had wrote or want to see a respons.
> Please can someone give me hint on this problem?
>
> I am using RedHat Linux ver 8.0 and I have tryed both gdb-5.0 and
> gdb-5.3. It is the same problem.
> I have used exactly the same build and compilation script for
> or32-rtems-gdb and it works perfectly. It looks like:
>
> > cd $HOME/tmp/tools/or1k
> > mkdir gdb-ucl
> > cd gdb-ucl
> > $HOME/tmp/tools/or1k/gdb-5.0/configure --target=or32-uclinux
> --prefix=$HOME/tmp/tools/or32-uclinux/
> --local-prefix=$HOME/tmp/tools/or32-uclinux/or32-uclinux/
> > make all install
>
>
> When I made a diff between the two:s Makefiles in directory gdb-ucl the
> only difference is:
>
> # When using glibc 2 on Linux we must always use vtable thunks.
> CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks -D_GNU_SOURCE
>
>
> Best Regards, Tomas Jonsson
> Silinova AB
>
>
|
 |