Re: CVS commit: src/sys/arch/i386/i386

2009-11-21 Thread Mindaugas Rasiukevicius
Hello,

David Laight wrote:
 Module Name:  src
 Committed By: dsl
 Date: Sat Nov 21 19:59:51 UTC 2009
 
 Modified Files:
   src/sys/arch/i386/i386: db_trace.c
 
 Log Message:
 Don't call lwp_getpcb() when not KERNEL.

Thanks for working this around, however it is not a right fix.  With this
patch, build.sh release passes:

http://www.netbsd.org/~rmind/crash_pcb.diff

It should have been enough to amend the argument of routine exported to
userland.  Do not you agree?

-- 
Mindaugas


Re: CVS commit: src/sys/arch/i386/i386

2009-11-21 Thread Christos Zoulas
In article 20091121223029.1e0d263b...@mail.netbsd.org,
Mindaugas Rasiukevicius  rm...@netbsd.org wrote:
Hello,

David Laight wrote:
 Module Name: src
 Committed By:dsl
 Date:Sat Nov 21 19:59:51 UTC 2009
 
 Modified Files:
  src/sys/arch/i386/i386: db_trace.c
 
 Log Message:
 Don't call lwp_getpcb() when not KERNEL.

Thanks for working this around, however it is not a right fix.  With this
patch, build.sh release passes:

http://www.netbsd.org/~rmind/crash_pcb.diff

It should have been enough to amend the argument of routine exported to
userland.  Do not you agree?

I do.

christos