gdb problems
Scott Anderson
scott_anderson at mvista.com
Fri May 11 04:22:46 EST 2001
Joakim Tjernlund wrote:
>
> Hi
>
> I am trying to debug ppclinux 2.4 and ppcboot on RPX CLLF board
> connected to an Abatron emulator.
>
> When I print variables in gdb I get an <error type> message
> instead of the variable value. Breakpoints and stack trace etc. works
> fine. I have enabled -g switch to gcc.
In order to get gdb to understand structs, etc. I compile with -ggdb
instead of -g. Works quite well. I'm spoiled now.
Scott Anderson
scott_anderson at mvista.com MontaVista Software Inc.
(408)328-9214 1237 East Arques Ave.
http://www.mvista.com Sunnyvale, CA 94085
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list