From: Ilan Finci <list@finci.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] help starting
Date: Wed, 01 Dec 2004 11:06:57 +0200 [thread overview]
Message-ID: <41AD89B1.2020904@finci.org> (raw)
In-Reply-To: <20041201072230.47DCBC1430@atlas.denx.de>
Hi,
Yes I've read it, but when I try this (on the older board, where the
u-boot is working), the gdb doesn't stop at that function, just continue
(and over the serial terminal, I see the normal u-boot messages, and
later auto booting into linux).
Here is the screen dump of what I've done:
U-Boot $ powerpc-linux-gdb u-boot
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=powerpc-linux"...
(gdb) target remote jtag2:2001
Remote debugging using jtag2:2001
_start () at /homes/ifinci/secure/work/SeeQNet/U-Boot/cpu/mpc5xxx/start.S:91
91 li r21, BOOTFLAG_COLD /* Normal Power-On
*/
(gdb) b cpu_init_f
Breakpoint 1 at 0xfff03a34: file cpu_init.c, line 53.
(gdb) c
Continuing.
and I don't get the GDB prompt back unless I press CTRL+C.
Any idea?
Thanks,
Ilan
on 12/01/04 09:22 Wolfgang Denk said the following:
> In message <41AD683B.9080105@finci.org> you wrote:
>
>>So I guess I have a basic problem in understanding how to debug the
>>U-Boot with GDB.
>
>
> Did you read the "Debugging" section in the manual?
>
> See http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot
>
> Best regards,
>
> Wolfgang Denk
>
next prev parent reply other threads:[~2004-12-01 9:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-01 6:44 [U-Boot-Users] help starting Ilan Finci
2004-12-01 7:22 ` Wolfgang Denk
2004-12-01 9:06 ` Ilan Finci [this message]
2004-12-01 11:13 ` Wolfgang Denk
2004-12-01 11:20 ` Ilan Finci
-- strict thread matches above, loose matches on Subject: below --
2004-12-02 8:48 Sam Song
2004-12-02 9:47 ` Wolfgang Denk
2004-12-02 13:02 ` Sam Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41AD89B1.2020904@finci.org \
--to=list@finci.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox