source:
rtems/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20071216.diff
@
ce195afa
Last change on this file since ce195afa was ce195afa, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/16/07 at 12:38:14 | |
---|---|
|
|
File size: 6.3 KB |
-
bfd/sysdep.h
diff -uNr gdb-6.6.orig/bfd/sysdep.h gdb-6.6/bfd/sysdep.h
old new 135 135 #endif 136 136 137 137 #if !HAVE_DECL_STRSTR 138 extern char *strstr (); 138 /* extern char *strstr (); */ 139 139 #endif 140 140 141 141 #ifdef HAVE_FTELLO -
configure
diff -uNr gdb-6.6.orig/configure gdb-6.6/configure
old new 3679 3679 # For an installed makeinfo, we require it to be from texinfo 4.4 or 3680 3680 # higher, else we use the "missing" dummy. 3681 3681 if ${MAKEINFO} --version \ 3682 | egrep 'texinfo[^0-9]*( [1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then3682 | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then 3683 3683 : 3684 3684 else 3685 3685 MAKEINFO="$MISSING makeinfo" -
configure.in
diff -uNr gdb-6.6.orig/configure.in gdb-6.6/configure.in
old new 2228 2228 # For an installed makeinfo, we require it to be from texinfo 4.4 or 2229 2229 # higher, else we use the "missing" dummy. 2230 2230 if ${MAKEINFO} --version \ 2231 | egrep 'texinfo[^0-9]*( [1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then2231 | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then 2232 2232 : 2233 2233 else 2234 2234 MAKEINFO="$MISSING makeinfo" -
gdb/arch-utils.c
diff -uNr gdb-6.6.orig/gdb/arch-utils.c gdb-6.6/gdb/arch-utils.c
old new 349 349 }; 350 350 static const char *set_endian_string; 351 351 352 enum bfd_endian 353 selected_byte_order (void) 354 { 355 if (target_byte_order_user != BFD_ENDIAN_UNKNOWN) 356 return TARGET_BYTE_ORDER; 357 else 358 return BFD_ENDIAN_UNKNOWN; 359 } 360 352 361 /* Called by ``show endian''. */ 353 362 354 363 static void -
gdb/arch-utils.h
diff -uNr gdb-6.6.orig/gdb/arch-utils.h gdb-6.6/gdb/arch-utils.h
old new 126 126 127 127 extern int legacy_register_sim_regno (int regnum); 128 128 129 /* Return the selected byte order, or BFD_ENDIAN_UNKNOWN if no byte 130 order was explicitly selected. */ 131 extern enum bfd_endian selected_byte_order (void); 132 129 133 /* Return the selected architecture's name, or NULL if no architecture 130 134 was explicitly selected. */ 131 135 extern const char *selected_architecture_name (void); -
gdb/ChangeLog.rtems
diff -uNr gdb-6.6.orig/gdb/ChangeLog.rtems gdb-6.6/gdb/ChangeLog.rtems
old new 1 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> 2 3 * arch-utils.c (selected_byte_order): New. 4 * arch-utils.h (selected_byte_order): New prototype. 5 * remote-sim.c (gdbsim_open): Use selected_byte_order. 6 -
gdb/memory-map.c
diff -uNr gdb-6.6.orig/gdb/memory-map.c gdb-6.6/gdb/memory-map.c
old new 141 141 { 142 142 if (strcmp (data->property_name, "blocksize") == 0) 143 143 { 144 char *end = NULL; 144 145 if (!data->character_data) 145 146 throw_error (XML_PARSE_ERROR, 146 147 _("Empty content of 'property' element")); 147 char *end = NULL;148 148 data->currently_parsing->attrib.blocksize 149 149 = strtoul (data->character_data, &end, 0); 150 150 if (*end != '\0') -
gdb/remote-sim.c
diff -uNr gdb-6.6.orig/gdb/remote-sim.c gdb-6.6/gdb/remote-sim.c
old new 504 504 + 50) /* slack */ ; 505 505 arg_buf = (char *) alloca (len); 506 506 strcpy (arg_buf, "gdbsim"); /* 7 */ 507 /* Specify the byte order for the target when it is both selectable508 and explicitlyspecified by the user (not auto detected). */509 switch ( TARGET_BYTE_ORDER)507 /* Specify the byte order for the target when it is explicitly 508 specified by the user (not auto detected). */ 509 switch (selected_byte_order ()) 510 510 { 511 511 case BFD_ENDIAN_BIG: 512 512 strcat (arg_buf, " -E big"); -
sim/erc32/erc32.c
diff -uNr gdb-6.6.orig/sim/erc32/erc32.c gdb-6.6/sim/erc32/erc32.c
old new 413 413 if (rom8) mec_memcfg &= ~0x20000; 414 414 else mec_memcfg |= 0x20000; 415 415 416 mem_ramsz = ( 256* 1024) << ((mec_memcfg >> 10) & 7);416 mem_ramsz = (512 * 1024) << ((mec_memcfg >> 10) & 7); 417 417 mem_romsz = (128 * 1024) << ((mec_memcfg >> 18) & 7); 418 418 419 419 if (sparclite_board) { -
sim/erc32/exec.c
diff -uNr gdb-6.6.orig/sim/erc32/exec.c gdb-6.6/sim/erc32/exec.c
old new 1713 1713 sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1]; 1714 1714 sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1]; 1715 1715 default: 1716 ;1716 break; 1717 1717 } 1718 1718 #endif 1719 1719 … … 1886 1886 sregs->fs[rd & ~1] = sregs->fdp[rd | 1]; 1887 1887 sregs->fs[rd | 1] = sregs->fdp[rd & ~1]; 1888 1888 default: 1889 ;1889 break; 1890 1890 } 1891 1891 #endif 1892 1892 if (sregs->fpstate == FP_EXC_PE) { -
sim/ppc/ppc-instructions
diff -uNr gdb-6.6.orig/sim/ppc/ppc-instructions gdb-6.6/sim/ppc/ppc-instructions
old new 3402 3402 case spr_dec: 3403 3403 *rT = cpu_get_decrementer(processor); 3404 3404 break; 3405 case spr_tbrl: 3406 if (is_64bit_implementation) *rT = TB; 3407 else *rT = EXTRACTED64(TB, 32, 63); 3408 break; 3409 case spr_tbru: 3410 if (is_64bit_implementation) *rT = EXTRACTED64(TB, 0, 31); 3411 else *rT = EXTRACTED64(TB, 0, 31); 3412 break; 3405 3413 case spr_tbu: 3406 3414 case spr_tbl: 3407 3415 /* NOTE - these SPR's are not readable. Use mftb[ul] */ -
sim/ppc/ppc-spr-table
diff -uNr gdb-6.6.orig/sim/ppc/ppc-spr-table gdb-6.6/sim/ppc/ppc-spr-table
old new 32 32 SRR0:26:0:0 33 33 SRR1:27:0:0 34 34 VRSAVE:256:0:0 35 TBRL:268:0:0 36 TBRU:269:0:0 35 37 SPRG0:272:0:0 36 38 SPRG1:273:0:0 37 39 SPRG2:274:0:0
Note: See TracBrowser
for help on using the repository browser.