source:
rtems/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20070222.diff
@
84f86cb
Last change on this file since 84f86cb was 470740b9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/22/07 at 19:58:46 | |
---|---|
|
|
File size: 3.6 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 -
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/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) {
Note: See TracBrowser
for help on using the repository browser.