From: Talib Alim Date: Mon, 12 Jul 2004 17:18:16 -0700 (PDT) Subject: [U-Boot-Users] Debugging U-Boot Under DDD In-Reply-To: <20040712195938.67BEDC109F@atlas.denx.de> Message-ID: <20040713001816.61544.qmail@web50501.mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I am using eldk [root at lab1 eldk]# cat version ELDK version 3.0 ppc_8xx: Build 2004-02-16 I am starting ddd with following command line ddd --debugger /opt/eldk/usr/bin/ppc_8xx-gdb target remote bdi:2001 symbol u-boot set $pc = 0x02000100 # my flash is mapped @ 0x02000000 I am using bin {& not elf}, apart from this problem, it seems to be doing fine. TA --- Wolfgang Denk wrote: > 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. > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users >