diff options
author | Dhananjay Balan <mb.dhananjay@gmail.com> | 2013-07-12 19:04:37 +0530 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-08-25 09:52:40 +1000 |
commit | b061a67742d58bedaa161970c5cae028aa440e1f (patch) | |
tree | 0fa4782f602cc139b41ecb65386f15eb1ba15bed /tools/gdb/python/threads.py | |
parent | Update readme. (diff) | |
download | rtems-tools-b061a67742d58bedaa161970c5cae028aa440e1f.tar.bz2 |
Heavy refactoring + Improved mesege queu printing.
- pretty printers moved to the corresponding api_printer module
- object abstractions moved to
- their own name for core modules
- supercore for other supercore objects
- classic for classic api objects
Diffstat (limited to 'tools/gdb/python/threads.py')
-rw-r--r-- | tools/gdb/python/threads.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/gdb/python/threads.py b/tools/gdb/python/threads.py index 3debbe7..b5ac3fb 100644 --- a/tools/gdb/python/threads.py +++ b/tools/gdb/python/threads.py @@ -191,17 +191,5 @@ class queue: self.que['Queues']['Priority'][ph]))) return t - def to_string(self): - if self.fifo(): - s = 'fifo' - else: - s = 'priority' - return -class state_printer: - def __init__(self, s): - self.s = state(s) - - def to_string(self): - return self.s.to_string() |