On Tue, May 21, 2002 at 12:38:01PM +1000, Rudolf Ladyzhenskii wrote: > > Hi, all > > I have BDI2000 with software version v1.11 > I have problems setting a breakpoint. I am trying to set a breakpoint in the > start_kernel() function to debug misbehaving kernel. > So, at command line I type: > bi 0xXXXXXXXX, where 0xXXXXXXXX is address of start_kernel out of map file. > BDI does not stop there, it passes this breakpoint. IO tried it with HARD > and SOFT breakpoints.
What order did you do it in? That's important. You need to 'halt', 'load', 'bi 0xabcdef12', 'go' If you use hard breakpoints, make sure to do a 'ci' and then 'break soft' either just before attaching with GDB or after attaching but before you do anything else. -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
