Changeset e60a5ee in rtems-tools


Ignore:
Timestamp:
Jul 30, 2013, 3:24:35 AM (6 years ago)
Author:
Dhananjay Balan <mb.dhananjay@…>
Branches:
4.10, 4.11, master
Children:
6d89e3c
Parents:
e282b6e
git-author:
Dhananjay Balan <mb.dhananjay@…> (07/30/13 03:24:35)
git-committer:
Chris Johns <chrisj@…> (08/24/14 23:52:40)
Message:

Fix Task and state printer bugs.

  • Removed ITRON api objects in thread control
  • fixes #1
Location:
tools/gdb/python
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/gdb/python/classic.py

    re282b6e re60a5ee  
    154154        self.task = \
    155155            threads.control(objects.information.object(self.id).dereference())
     156        self.wait_info = self.task.wait_info()
    156157
    157158    def show(self, from_tty):
     
    160161        print '  Current:', self.task.current_priority()
    161162        print '     Real:', self.task.real_priority()
    162         print ' Suspends:', self.task.suspends()
    163         print ' Post Ext:', self.task.post_task_switch_ext()
    164163        print '  Preempt:', self.task.preemptible()
    165164        print ' T Budget:', self.task.cpu_time_budget()
    166         wait_info = self.task.wait_info()
     165
    167166
    168167class message_queue:
  • tools/gdb/python/supercore_printer.py

    re282b6e re60a5ee  
    44import objects
    55import itertools
     6import threads
    67
    78class id:
  • tools/gdb/python/threads.py

    re282b6e re60a5ee  
    146146        return self.ctrl['real_priority']
    147147
    148     def suspends(self):
    149         return self.ctrl['suspend_count']
    150 
    151     def post_task_switch_ext(self):
    152         return self.ctrl['do_post_task_switch_extension']
    153 
    154148    def preemptible(self):
    155149        return self.ctrl['is_preemptible']
Note: See TracChangeset for help on using the changeset viewer.