Changeset a681285 in rtems


Ignore:
Timestamp:
08/14/02 22:58:30 (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5e39823
Parents:
37bb9bf
Message:

2002-08-14 Greg Menke <gregory.menke@…>

  • mips-stub.c: Re-debugged a breakpoint problem, zbreak target address was a char * which caused the target instruction to not be fully copied, so the zbreak logic corrupted the original instruction and didn't insert a valid break instruction.
Location:
c/src/lib/libbsp/mips/shared/gdbstub
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/shared/gdbstub/ChangeLog

    r37bb9bf ra681285  
    1 2001-03-08      Joel Sherrill <joel@OARcorp.com>
     12002-08-14      Greg Menke <gregory.menke@gsfc.nasa.gov>
     2
     3        * mips-stub.c: Re-debugged a breakpoint problem, zbreak target
     4        address was a char * which caused the target instruction to not
     5        be fully copied, so the zbreak logic corrupted the original
     6        instruction and didn't insert a valid break instruction.
     7       
     82002-03-08      Joel Sherrill <joel@OARcorp.com>
    29
    310        * mips-stub.c: Removed warnings.
    411
    5 2001-03-05      Greg Menke <gregory.menke@gsfc.nasa.gov>
     122002-03-05      Greg Menke <gregory.menke@gsfc.nasa.gov>
    613
    714        * mips-stub.c: Debugged & tweaked the gdb command processing,
     
    1623        * README: Updated.
    1724
    18 2001-03-01      Joel Sherrill <joel@OARcorp.com>
     252002-03-01      Joel Sherrill <joel@OARcorp.com>
    1926
    2027        * ChangeLog: Corrected previous entry.
  • c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h

    r37bb9bf ra681285  
    172172#define MEMOPT_WRITEABLE  2
    173173
     174#ifndef NUM_MEMSEGS
    174175#define NUM_MEMSEGS     10
     176#endif
    175177
    176178int gdbstub_add_memsegment(unsigned,unsigned,int);
  • c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c

    r37bb9bf ra681285  
    251251
    252252  /* Location, preserved data */
    253   unsigned char *address;
     253
     254  /* the address pointer, really, really must be a pointer to
     255  ** a 32 bit quantity (likely 64 on the R4k), so the full instruction is read &
     256  ** written.  Making it a char * as on the i386 will cause
     257  ** the zbreaks to mess up the breakpoint instructions
     258  */
     259  unsigned *address;
    254260  unsigned instr;
    255261};
  • c/src/lib/libbsp/mips/shared/gdbstub/rtems-stub-glue.c

    r37bb9bf ra681285  
    13931393{
    13941394/*
     1395** These are the right symbols for the desired addresses,
     1396** but giving them causes gdb to have fits, so we leave
     1397** the reported values as 0.  Doesn't hurt the stub's
     1398** operation as far as I've observed.
     1399*/
     1400
     1401/*
    13951402  extern unsigned32 _ftext;
    13961403  extern unsigned32 _fdata;
Note: See TracChangeset for help on using the changeset viewer.