Changeset 17083db in rtems


Ignore:
Timestamp:
Jul 1, 2002, 10:21:03 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f14b925
Parents:
63977bb4
Message:

2002-07-01 Joel Sherrill <joel@…>

  • rtems-stub-glue.c: Corrected use of _Objects_Information_table now that it is a two dimensional array based upon API and class.
Location:
c/src/lib/libbsp/shared/gdbstub
Files:
2 edited

Legend:

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

    r63977bb4 r17083db  
     12002-07-01      Joel Sherrill <joel@OARcorp.com>
     2
     3        * rtems-stub-glue.c: Corrected use of
     4        _Objects_Information_table now that it is a two dimensional
     5        array based upon API and class.
     6
    172002-06-25      Joel Sherrill <joel@OARcorp.com>
    28
  • c/src/lib/libbsp/shared/gdbstub/rtems-stub-glue.c

    r63977bb4 r17083db  
    9696  first_rtems_id = 2;
    9797
    98   obj_info = _Objects_Information_table[OBJECTS_RTEMS_TASKS];
     98  obj_info = _Objects_Information_table[OBJECTS_CLASSIC_API][1];
    9999
    100100  min_id = obj_info->minimum_id;
     
    107107  first_posix_id = first_rtems_id + (max_id - min_id) + 1;
    108108
    109   min_id = _Objects_Information_table[OBJECTS_POSIX_THREADS]->minimum_id;
     109  min_id = _Objects_Information_table[OBJECTS_POSIX_API][1]->minimum_id;
    110110
    111111  return first_posix_id + (thread_obj_id - min_id);
     
    143143
    144144   /* Let us figure out thread_id for gdb */
    145    obj_info = _Objects_Information_table[OBJECTS_RTEMS_TASKS];
     145   obj_info = _Objects_Information_table[OBJECTS_CLASSIC_API][1];
    146146
    147147   min_id = obj_info->minimum_id;
     
    161161   first_posix_id = first_rtems_id + (max_id - min_id) + 1;
    162162
    163    obj_info = _Objects_Information_table[OBJECTS_POSIX_THREADS];
     163   obj_info = _Objects_Information_table[OBJECTS_POSIX_API][1];
    164164
    165165   min_id = obj_info->minimum_id;
     
    210210  first_rtems_id = 2;
    211211 
    212   obj_info = _Objects_Information_table[OBJECTS_RTEMS_TASKS];
     212  obj_info = _Objects_Information_table[OBJECTS_CLASSIC_API][1];
    213213
    214214  min_id = obj_info->minimum_id;
     
    233233  first_posix_id = first_rtems_id + (max_id - min_id) + 1;
    234234
    235   obj_info = _Objects_Information_table[OBJECTS_POSIX_THREADS];
     235  obj_info = _Objects_Information_table[OBJECTS_POSIX_API][1];
    236236
    237237  min_id = obj_info->minimum_id;
     
    345345   first_rtems_id = 2;
    346346 
    347    obj_info = _Objects_Information_table[OBJECTS_RTEMS_TASKS];
     347   obj_info = _Objects_Information_table[OBJECTS_CLASSIC_API][1];
    348348
    349349   min_id = obj_info->minimum_id;
     
    391391   first_posix_id = first_rtems_id + (max_id - min_id) + 1;
    392392
    393    obj_info = _Objects_Information_table[OBJECTS_POSIX_THREADS];
     393   obj_info = _Objects_Information_table[OBJECTS_POSIX_API][1];
    394394
    395395   min_id = obj_info->minimum_id;
Note: See TracChangeset for help on using the changeset viewer.