From: Wolfgang Denk Date: Tue, 25 Nov 2003 17:38:52 +0100 Subject: [U-Boot-Users] Debugging U-Boot on 440GP In-Reply-To: Your message of "Tue, 25 Nov 2003 11:21:54 EST." Message-ID: <20031125163857.0EE5FC5F5F@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Brian, in message you wrote: > I have a BDI2000 and a custom target board. I am can successfully connect > to it and step through single instructions. I can also set a breakpoint at > _start_440, but any breakpoints after that do not get noticed. I have the > BDI setup for HARD breakpoints. Should I have it setup for SOFT instead? No. Did you read http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot and http://www.denx.de/twiki/bin/view/DULG/DebuggingTricks ? > What I am seeing is that when I stop the CPU, it's either at 0x700 or > 0x1400 -- both of which are defined in the kgdb.c file, but I don't know No. These exception vectors are not defined in the kgdb.c, but in start.S; if you look up the addresses in the System.map file you will find: ????0700 t ProgramCheck ... ????1400 t DataTLBError Does that ring a bell? > what they mean. Can anyone shed any light on the situation for me? I am > very new to both the BDI and using gdb (but I learn quickly). There is probably more interesting information for you in the DULG - see URL above. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de In an infinite universe all things are possible, including the possi- bility that the universe does not exist. - Terry Pratchett, _The Dark Side of the Sun_