* ppc_405-gdb + Segmentation fault (core dumped)
@ 2002-09-18 1:31 sanjay k k
2002-09-18 5:34 ` Matt Porter
2002-09-18 6:59 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: sanjay k k @ 2002-09-18 1:31 UTC (permalink / raw)
To: linuxppc-embedded
Hi ,
I was trying to debug the kernel with the help of BDI, but
couldn't do so as gdb is dying itself.
I am using monta vista cross-compiled gdb. Here what i do to debug
the kernel.
1. boot the board (I am using ppcboot)[Board is connected with
BDI]
2. After that I start the ppc_405-gdb on host.
3. Enter C to continue.
4. Then I press CTRL-C to stop the gdb , then it stops the
kernel.
5. Now I try to add the symbol file (vmlinux).
When i do the 5th step , my gdb dies , it says :
Reading Symbols from vmlinux.... Segmentation fault (core
dumped).
Thankx
Sanjay
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ppc_405-gdb + Segmentation fault (core dumped)
2002-09-18 1:31 ppc_405-gdb + Segmentation fault (core dumped) sanjay k k
@ 2002-09-18 5:34 ` Matt Porter
2002-09-18 6:59 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Matt Porter @ 2002-09-18 5:34 UTC (permalink / raw)
To: sanjay k k; +Cc: linuxppc-embedded
On Wed, Sep 18, 2002 at 01:31:37AM -0000, sanjay k k wrote:
> When i do the 5th step , my gdb dies , it says :
> Reading Symbols from vmlinux.... Segmentation fault (core
You need to upgrade to a newer version of gdb...5.1 will work.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ppc_405-gdb + Segmentation fault (core dumped)
2002-09-18 1:31 ppc_405-gdb + Segmentation fault (core dumped) sanjay k k
2002-09-18 5:34 ` Matt Porter
@ 2002-09-18 6:59 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2002-09-18 6:59 UTC (permalink / raw)
To: sanjay k k; +Cc: linuxppc-embedded
In message <20020918013137.15713.qmail@webmail6.rediffmail.com> you wrote:
>
> I was trying to debug the kernel with the help of BDI, but
> couldn't do so as gdb is dying itself.
> I am using monta vista cross-compiled gdb. Here what i do to debug
> the kernel.
You need a newer version of GDB. The one included in our ELDK will
work. See http://www.denx.de/re/ELDK.html
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"Life is a garment we continuously alter, but which never seems to
fit." - David McCord
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-18 6:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-18 1:31 ppc_405-gdb + Segmentation fault (core dumped) sanjay k k
2002-09-18 5:34 ` Matt Porter
2002-09-18 6:59 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).