Problems with remote debugging on MBX860

Peter Desnoyers pdesnoyers at chinook.com
Thu Sep 20 02:32:52 EST 2001


I've had luck with 'target remote /dev/<xxx>' instead of
extended-remote.  The following mod to the top-level Makefile helps,
too:

! CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -O2
-fno-strict-aliasing
! ifdef CONFIG_KGDB
! CFLAGS += -g -ggdb
! else
! CFLAGS += -fomit-frame-pointer
! endif

In addition, whenever I enabled kgdb I was getting an oops in
rs_8xx_interrupt sometime during boot due to info->tty being NULL - I
added a check for that and a return, and things seem to be fine.

--
.....................................................................
 Peter Desnoyers            (781) 457-1165   pdesnoyers at chinook.com
 Chinook Communications     (617) 661-1979   pjd at fred.cambridge.ma.us
 100 Hayden Ave, Lexington MA 02421

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list