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: 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

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