Subject: Re: Coredump on return debugging question
To: None <>
From: David Laight <>
List: netbsd-users
Date: 05/16/2003 12:44:09
> #0  0x20202020 in ?? ()

> Can anybody give me a hint, in what direction I have to search?

Since the return address is all spaces, I'd suspect you've overrun
a char[] array in the called function and trampled all over the
return address.   With care you can jump to a known address - and
even to some code you've put into the buffer itself!

On sparc the procedure call sequence is a lot different and the
on-stack space for saving registers won't be used unless there
is a deep call sequence.


David Laight: