summaryrefslogtreecommitdiff
path: root/tools/gdb/python/__init__.py
diff options
context:
space:
mode:
authorDhananjay Balan <mb.dhananjay@gmail.com>2013-07-12 19:04:37 +0530
committerChris Johns <chrisj@rtems.org>2014-08-25 09:52:40 +1000
commitb061a67742d58bedaa161970c5cae028aa440e1f (patch)
tree0fa4782f602cc139b41ecb65386f15eb1ba15bed /tools/gdb/python/__init__.py
parent6e75f4ebf5450154231a1f7c1c2ba97e60d2c074 (diff)
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 '')
-rw-r--r--tools/gdb/python/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/gdb/python/__init__.py b/tools/gdb/python/__init__.py
index 0664d21..dd55529 100644
--- a/tools/gdb/python/__init__.py
+++ b/tools/gdb/python/__init__.py
@@ -3,14 +3,23 @@ if __name__ == "__main__":
import sys
import os.path
sys.path.append(os.path.dirname(__file__))
+ import supercore
import chains
import rtems
import classic
import objects
import threads
+
+ import supercore_printer
+ import classic_printer
+
+ # Needed to reload code inside gdb source command
+ reload(supercore)
reload(chains)
reload(rtems)
reload(classic)
reload(objects)
reload(threads)
+ reload(supercore_printer)
+ reload(classic_printer)
print 'RTEMS GDB Support loaded'