Re: [commit] Unwinder for OpenBSD/sparc64 kernel trap frames

Daniel Jacobowitz
2006-12-31T02:23:11Z

On Sun, Dec 31, 2006 at 02:28:13AM +0100, Mark Kettenis wrote:
> + find_pc_partial_function (frame_pc_unwind (next_frame), &name, NULL, NULL);
> + if (name && strcmp (name, "Lslowtrap_reenter") == 0)
> + return &sparc64obsd_trapframe_unwind;

Does this really belong in GDB? I ask because we've resisted adding
similar things for other targets before - at least I have for Linux
and for Xfree86, but maybe I should have been more accepting.

Anyway, I have some thoughts on how to extend the unwind mechanism so
that the OpenBSD kernel could ship a script that knew how to unwind its
trap frames. I'll be posting about that at the beginning of 2007, just
as soon as I clear my review backlog and the pointers-to-members patch,
I hope!

--
Daniel Jacobowitz
CodeSourcery