From: Wolfgang Denk Date: Thu, 01 Jul 2004 00:29:42 +0200 Subject: [U-Boot-Users] Debugging u-boot goes to 0x70c (Program exception) In-Reply-To: Your message of "Wed, 30 Jun 2004 15:09:15 PDT." <20040630220915.53309.qmail@web20728.mail.yahoo.com> Message-ID: <20040630222947.778F7C109F@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 In message <20040630220915.53309.qmail@web20728.mail.yahoo.com> you wrote: > > (gdb) mon bi 0xffe00100 > Breakpoint identification is 0 > (gdb) mon go > (gdb) mon ci ... > (gdb) b board_init_r > Breakpoint 1 at 0x7fdc9b4: file board.c, line 566. > (gdb) d > Delete all breakpoints? (y or n) y > (gdb) mon bi 0x7fdc9b4 > Breakpoint identification is 0 > (gdb) c > Continuing. Why are you making all this trickery of setting and deleting breakpoints in GDB and directly in the BDI? This confuses me, and most probably it also confuses GDB, too. > (gdb) mon break soft > (gdb) b flash_init > Breakpoint 2 at 0x7fe1254: file flash.c, line 126. Why don't you just set a single (hardware) breakpoint at this address, and then let the system boot without any additional messing with the debug state? 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 ...when fits of creativity run strong, more than one programmer or writer has been known to abandon the desktop for the more spacious floor. - Fred Brooks, Jr.