In <[EMAIL PROTECTED]>, Bruce Evans wrote: 
> >I'm going to work on FreeBSD's floating point support, but I need to
> >test my changes on systems using the FPU emulators (non-GPL and GPL). 
> >
> >Is there any way to use these emulators on a system that has a
> >hardware FPU?
> 
> Toggling `npx_exists' using ddb used to work.  Now, toggling it off
> on i586 systems causes a panic in the i586-optimised copy routines.

This particular problem has a hook in npx.c:

  device npx0 [...] flags 7

seems to do the trick (disables usage of FPU-optimized mem stuff).


I am now able to switch "npx_exists" between npx_probe1() and
npx_attach(), which let me run with the emulator on a Pentium.

But only from serial kgdb, since as you noted in your other message,
symbols are not available to ddb in ELF kernels started with -d.

I assume you use kdb_init() from db_elf.c, you how do you call it
given that you neither have the symbol (not loaded yet) nor the
address (`nm /kernel` output not useful)?

[Throwing an egg after the chicken that fails to produce the egg]
 
Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <[EMAIL PROTECTED]> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to