Subject: Coredump on return debugging question
To: None <netbsd-users@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 05/16/2003 13:30:19
Dear NetBSD fellows
I am writing on a program (on i386 NetBSD 1.6) , wich dumps core on return from
an internal function to main.
gdb says:
-------------------------------------- 8< --------------------------------------
#0 0x20202020 in ?? ()
(gdb) bt
#0 0x20202020 in ?? ()
Cannot access memory at address 0x20202020
-------------------------------------- 8< --------------------------------------
The program compiles without errors (-Wall) and strangely,
it doesn't dump core on a sparc (also NetBSD)
As there is no apparent C coding error, I ran out of ideas
where or what the error could be.
Can anybody give me a hint, in what direction I have to search?
Thanks
Chris
--
----------------------------------------------------------------------
Christoph Kaegi kgc@zhwin.ch
----------------------------------------------------------------------