bfd/elf32-cris.c cris_elf_grok_prstatus update, committed.

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Thu Nov 1 16:50:00 GMT 2001


Committed for Örjan.  The old struct user format didn't hold
enough information.  As core dump support isn't anywhere but on
Örjan's machine right now AFAIK, there's little need for
compatibility.

2001-11-12  Orjan Friberg  <orjanf@axis.com>

	* elf32-cris.c (cris_elf_grok_prstatus): Adjust values to match new
	core dump format.

Index: elf32-cris.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-cris.c,v
retrieving revision 1.18
diff -p -c -c -p -r1.18 elf32-cris.c
*** elf32-cris.c	2001/11/10 00:23:34	1.18
--- elf32-cris.c	2001/11/12 23:38:43
*************** cris_elf_grok_prstatus (abfd, note)
*** 482,488 ****
        default:
  	return false;
  
!       case 166:		/* Linux/CRIS */
  	/* pr_cursig */
  	elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);
  
--- 482,488 ----
        default:
  	return false;
  
!       case 214:		/* Linux/CRIS */
  	/* pr_cursig */
  	elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);
  
*************** cris_elf_grok_prstatus (abfd, note)
*** 491,497 ****
  
  	/* pr_reg */
  	offset = 70;
! 	raw_size = 92;
  
  	break;
      }
--- 491,497 ----
  
  	/* pr_reg */
  	offset = 70;
! 	raw_size = 140;
  
  	break;
      }

brgds, H-P



More information about the Binutils mailing list