Yes, that's right. My manual diff was a little off.

> #ifdef CONFIG_COLDFIRE
>   unsigned format :  4; /* frame format specifier */
> +  unsigned fault_status_H :  2;
> -  unsigned vector : 12; /* vector offset */
> +  unsigned vector : 8; /* vector offset */
> +  unsigned fault_status_L :  2;
>   unsigned short sr;
>   unsigned long  pc;

-----Original Message-----
From: uclinux-dev-boun...@uclinux.org [mailto:uclinux-dev-boun...@uclinux.org] 
On Behalf Of Gavin Lambert
Sent: Thursday, October 07, 2010 5:46 PM
To: 'uClinux development list'
Subject: RE: [uClinux-dev] Wrong exception handling on m68knommu Coldfire 5208?

Quoth Jate Sujjavanich:
> Should the bit fields in ptrace.h? So then it would be
> 
> #ifdef CONFIG_COLDFIRE
>   unsigned format :  4; /* frame format specifier */
> +  unsigned fault_status_H :  2;
> -  unsigned vector : 8; /* vector offset */
> +  unsigned vector : 12; /* vector offset */
> +  unsigned fault_status_L :  2;
>   unsigned short sr;
>   unsigned long  pc;

Aren't those two middle changes reversed?  (ie. should be changing "vector"
from a 12 bit field to an 8 bit field, not the reverse.)



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************



_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to