Changeset c69885a5 in rtems


Ignore:
Timestamp:
Sep 14, 2006, 3:50:54 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2e4524e5
Parents:
bc11ec2
Message:

2006-09-14 Joel Sherrill <joel@…>

  • shared/gdbstub/mips-stub.c: Removed warnings.
Location:
c/src/lib/libbsp/mips
Files:
2 edited

Legend:

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

    rbc11ec2 rc69885a5  
     12006-09-14      Joel Sherrill <joel@OARcorp.com>
     2
     3        * shared/gdbstub/mips-stub.c: Removed warnings.
     4
    152006-03-16      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c

    rbc11ec2 rc69885a5  
    250250  ** the zbreaks to mess up the breakpoint instructions
    251251  */
    252   unsigned *address;
     252  unsigned char *address;
    253253  unsigned instr;
    254254};
     
    506506static unsigned char *
    507507bin2mem (
    508   unsigned char *buf,
     508  char *buf,
    509509  unsigned char *mem,
    510510  int   count
     
    12121212               if (current_thread != thread) {
    12131213                  ret = rtems_gdb_stub_set_thread_regs(
    1214                      current_thread, (unsigned int *) &current_thread_registers);
     1214                     current_thread,
     1215                     (unsigned int *) (void *)&current_thread_registers);
    12151216                  ASSERT(ret);
    12161217               }
     
    12191220               if (tmp != thread) {
    12201221                  ret = rtems_gdb_stub_get_thread_regs(
    1221                      tmp, (unsigned int *) &current_thread_registers);
     1222                     tmp, (unsigned int *) (void *)&current_thread_registers);
    12221223
    12231224                  if (!ret) {
     
    12371238         {
    12381239            int ret, type, len;
    1239             unsigned *address;
     1240            unsigned char *address;
    12401241            struct z0break *z0;
    12411242
    1242             ret = parse_zbreak(inBuffer, &type, (unsigned char **)&address, &len);
     1243            ret = parse_zbreak(inBuffer, &type, &address, &len);
    12431244            if (!ret) {
    12441245               strcpy(outBuffer, "E01");
     
    12951296            z0->address = address;
    12961297
    1297             if( z0->address == (unsigned *) frame->epc )
     1298            if( z0->address == (unsigned char *) frame->epc )
    12981299            {
    12991300               /* re-asserting the breakpoint that put us in here, so
     
    13611362            {
    13621363               int ret, type, len;
    1363                unsigned *address;
     1364               unsigned char *address;
    13641365               struct z0break *z0;
    13651366
    1366                ret = parse_zbreak(inBuffer, &type, (unsigned char **)&address, &len);
     1367               ret = parse_zbreak(inBuffer, &type, &address, &len);
    13671368               if (!ret) {
    13681369                  strcpy(outBuffer, "E01");
Note: See TracChangeset for help on using the changeset viewer.