Thread (3 messages) flat view 3 messages, 3 authors, 2001-09-20

Re: Problems with remote debugging on MBX860

From: Peter Desnoyers <hidden>
Date: 2001-09-19 16:32:52

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@chinook.com
 Chinook Communications     (617) 661-1979   pjd@fred.cambridge.ma.us
 100 Hayden Ave, Lexington MA 02421

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help