Subject: Re: gdb6
To: None <tech-pkg@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-pkg
Date: 10/26/2005 03:37:26
In article <20051026033115.GE8138@netmeister.org>,
Jan Schaumann  <jschauma@netmeister.org> wrote:
>-=-=-=-=-=-
>
>Hi,
>
>devel/gdb6, under NetBSD 2.0.2 gives me the following warning:
>
>warning: offsetof (struct sigcontext, sc_pc) yields 92 instead of 44.
>Please report this to <bug-gdb@gnu.org>.
>
>warning: offsetof (struct sigcontext, sc_sp) yields 104 instead of 56.
>Please report this to <bug-gdb@gnu.org>.
>GNU gdb 6.2.1
>
>Does this warning have any impact on gdb's ability to run?  Trivial
>tests don't seem to give any problems.

Gdb needs to be fixed to understand ucontext/mcontext. This error
means that gdb will not recognize signal stack frames when backtracing.

christos