source: rtems/contrib/crossrpms/patches/gdb-6.6-rtems4.8-20071216.diff @ ce195afa

4.8
Last change on this file since ce195afa was ce195afa, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/16/07 at 12:38:14

New.

  • Property mode set to 100644
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  
    135135#endif
    136136
    137137#if !HAVE_DECL_STRSTR
    138 extern char *strstr ();
     138/* extern char *strstr (); */
    139139#endif
    140140
    141141#ifdef HAVE_FTELLO
  • configure

    diff -uNr gdb-6.6.orig/configure gdb-6.6/configure
    old new  
    36793679    # For an installed makeinfo, we require it to be from texinfo 4.4 or
    36803680    # higher, else we use the "missing" dummy.
    36813681    if ${MAKEINFO} --version \
    3682        | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
     3682       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
    36833683      :
    36843684    else
    36853685      MAKEINFO="$MISSING makeinfo"
  • configure.in

    diff -uNr gdb-6.6.orig/configure.in gdb-6.6/configure.in
    old new  
    22282228    # For an installed makeinfo, we require it to be from texinfo 4.4 or
    22292229    # higher, else we use the "missing" dummy.
    22302230    if ${MAKEINFO} --version \
    2231        | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
     2231       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
    22322232      :
    22332233    else
    22342234      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  
    349349};
    350350static const char *set_endian_string;
    351351
     352enum bfd_endian
     353selected_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
    352361/* Called by ``show endian''.  */
    353362
    354363static void
  • gdb/arch-utils.h

    diff -uNr gdb-6.6.orig/gdb/arch-utils.h gdb-6.6/gdb/arch-utils.h
    old new  
    126126
    127127extern int legacy_register_sim_regno (int regnum);
    128128
     129/* Return the selected byte order, or BFD_ENDIAN_UNKNOWN if no byte
     130   order was explicitly selected.  */
     131extern enum bfd_endian selected_byte_order (void);
     132
    129133/* Return the selected architecture's name, or NULL if no architecture
    130134   was explicitly selected.  */
    131135extern 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  
     12007-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  
    141141        {
    142142          if (strcmp (data->property_name, "blocksize") == 0)
    143143            {
     144              char *end = NULL;
    144145              if (!data->character_data)
    145146                throw_error (XML_PARSE_ERROR,
    146147                             _("Empty content of 'property' element"));
    147               char *end = NULL;
    148148              data->currently_parsing->attrib.blocksize
    149149                = strtoul (data->character_data, &end, 0);
    150150              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  
    504504         + 50) /* slack */ ;
    505505  arg_buf = (char *) alloca (len);
    506506  strcpy (arg_buf, "gdbsim");   /* 7 */
    507   /* Specify the byte order for the target when it is both selectable
    508      and explicitly specified 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 ())
    510510    {
    511511    case BFD_ENDIAN_BIG:
    512512      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  
    413413    if (rom8) mec_memcfg &= ~0x20000;
    414414    else mec_memcfg |= 0x20000;
    415415
    416     mem_ramsz = (256 * 1024) << ((mec_memcfg >> 10) & 7);
     416    mem_ramsz = (512 * 1024) << ((mec_memcfg >> 10) & 7);
    417417    mem_romsz = (128 * 1024) << ((mec_memcfg >> 18) & 7);
    418418
    419419    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  
    17131713            sregs->fdp[rs2 | 1] = sregs->fs[rs2 & ~1];
    17141714            sregs->fdp[rs2 & ~1] = sregs->fs[rs2 | 1];
    17151715    default:
    1716       ;
     1716      break;
    17171717    }
    17181718#endif
    17191719
     
    18861886        sregs->fs[rd & ~1] = sregs->fdp[rd | 1];
    18871887        sregs->fs[rd | 1] = sregs->fdp[rd & ~1];
    18881888    default:
    1889       ;
     1889      break;
    18901890    }
    18911891#endif
    18921892    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  
    34023402            case spr_dec:
    34033403              *rT = cpu_get_decrementer(processor);
    34043404              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;
    34053413            case spr_tbu:
    34063414            case spr_tbl:
    34073415              /* 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  
    3232SRR0:26:0:0
    3333SRR1:27:0:0
    3434VRSAVE:256:0:0
     35TBRL:268:0:0
     36TBRU:269:0:0
    3537SPRG0:272:0:0
    3638SPRG1:273:0:0
    3739SPRG2:274:0:0
Note: See TracBrowser for help on using the repository browser.