NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-hppa/59294: tests/lib/libc/gen/t_siginfo: sigfpe_flt raises SIGILL, not SIGFPE



Might be another qemu hppa fpu bug.  I printed the exception registers
(32-bit halves of fr0-fr3) in the T_EXCEPTION | T_USER case of trap in
hppa/trap.c, and:

[  52.9324218] fpp[0]=0x0
[  52.9324218] fpp[1]=0x0
[  52.9450154] fpp[2]=0x0
[  52.9450154] fpp[3]=0x0
[  52.9450154] fpp[4]=0x0
[  52.9450154] fpp[5]=0x0
[  52.9450154] fpp[6]=0x0
[  52.9450154] fpp[7]=0x0
[  52.9450154] trap:829: type=0x4e ex=0x0 inst=0x0

I don't think they're supposed to be all zero!  I think they're
supposed to have copies of the instructions that triggered the
exception.  (Except for the first one, which is the fp status
register.)


Home | Main Index | Thread Index | Old Index