Changeset a249bc2 in rtems-testing


Ignore:
Timestamp:
May 17, 2013, 9:24:57 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
4856251
Parents:
3b88cb4
git-author:
Joel Sherrill <joel.sherrill@…> (05/17/13 21:24:57)
git-committer:
Joel Sherrill <joel.sherrill@…> (05/29/13 20:44:27)
Message:

rtems-gdb-macros-4.11: Update to work with current RTEMS git head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/rtems-gdb-macros-4.11

    r3b88cb4 ra249bc2  
    159159  set $pri = $pt->current_priority
    160160  printf "%3d | ",$pri
    161   set $cpu_time_used = ($pt->cpu_time_used.tv_sec * 1000000) + $pt->cpu_time_used.tv_nsec
     161  # set $cpu_time_used = ($pt->cpu_time_used.tv_sec * 1000000) + $pt->cpu_time_used.tv_nsec
     162  set $cpu_time_used = $pt->cpu_time_used
    162163  printf "%12d | ", $cpu_time_used
    163164
     
    318319  while $pri_index < $limit
    319320    set $chain = &$queues.Priority[$pri_index]
    320     set $ptail = &$chain->Head.fill
     321    set $ptail = &$chain->Head.Node.previous
    321322    set $next = $chain->Head.Node.next
    322323    while $next != $ptail
     
    912913define rtems_tasks
    913914  printf "Executing: 0x%x, Heir: 0x%x\n", \
    914     _Per_CPU[0].executing->Object.id, \
    915     _Per_CPU[0].heir.Object.id
     915    _Per_CPU_Information.executing->Object.id, \
     916    _Per_CPU_Information.heir.Object.id
    916917  printf "================================================================\n"
    917918  printf "Internal Tasks\n"
     
    10101011#
    10111012define rtems_tod
    1012   printf "Current Time -- %d seconds %d nanoseconds since 1970\n", \
    1013     _TOD_Now.tv_sec, _TOD_Now.tv_nsec
     1013  #printf "Current Time -- %d seconds %d nanoseconds since 1970\n", \
     1014  #  _TOD_Now.tv_sec, _TOD_Now.tv_nsec
     1015  printf "Current Time -- current time is since 1970\n"
     1016  print _TOD
    10141017end
    10151018document rtems_tod
     
    10441047
    10451048  # Check ISR Nesting and Dispatching Critical Sections
    1046   set $isrnl = _ISR_Nest_level
     1049  set $isrnl = _Per_CPU_Information.isr_nest_level
    10471050  if $isrnl == 0
    10481051    printf "NOT inside an ISR\n"
Note: See TracChangeset for help on using the changeset viewer.