This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Problem with GDB5.1.1 on Readhat Linux for DINK32
- From: Vermeulen Jan <Jan dot Vermeulen at siemens dot atea dot be>
- To: 'Yoichi Kimura' <r32845 at email dot sps dot mot dot com>, gdb at sources dot redhat dot com
- Date: Wed, 17 Apr 2002 13:52:22 +0200
- Subject: RE: Problem with GDB5.1.1 on Readhat Linux for DINK32
Hello,
> To installed GDB for DINK32, I used following commands
> to install GDB on Linux..
>
> $> ./configure --target=powerpc-elf
> $> make
It might be usefull to do "make install" (as root user) after the make.
It will then install the debugger to /usr/local/bin.
> Then, next, I entered following command.
>
> $> gdb -b 9600
>
> (gdb) target dink32 /dev/ttyS0
>
> Then GDB didn't work and few minutes after,
> GDB indicated as follows.
>
> "Timeout reading form remote system."
By entering "gdb -b 9600", you invoke the local (native) debugger.
(for x86 I presume).
If you want to debug powerpc applications, you need the powerpc debugger you
had made earlier.
You made this debugger with "--target=powerpc-elf", so the debugger will be
called "powerpc-elf-gdb".
so, try:
$> powerpc-elf-gdb -b 9600 /dev/ttyS0
and see if it helps to solve your problem.
Best regards,
Jan Vermeulen