From: Wolfgang Denk Date: Mon, 12 Jul 2004 21:59:33 +0200 Subject: [U-Boot-Users] Debugging U-Boot Under DDD In-Reply-To: Your message of "Mon, 12 Jul 2004 12:43:03 PDT." <20040712194303.3117.qmail@web50504.mail.yahoo.com> Message-ID: <20040712195938.67BEDC109F@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 <20040712194303.3117.qmail@web50504.mail.yahoo.com> you wrote: > > At this point if I "Cont", I get pop-up from ddd > /.../u-boot-1.1.1/serial.c: No such file or directory. Sounds like a toolchain or user problem to me. > Just before relocating the code, I typed following statements > > (gdb) symbol-file > (gdb) add-symbol-file u-boot 0xbda000 How did you start gdb / DDD? Did you really load "u-boot" (i. e. the ELF file)? > (gdb) dir cpu/mpc8xx > (gdb) dir board/fads > (gdb) dir tools/gdb/serial.c > (gdb) dir drivers/serial.c None of these should be necessary. Which toolchain are you using? 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 Old programmers never die, they just become managers.