Changes between Version 2 and Version 3 of Projects/GDB_Python


Ignore:
Timestamp:
Mar 22, 2010, 1:54:49 AM (10 years ago)
Author:
ChrisJohns
Comment:

Status Added

Legend:

Unmodified
Added
Removed
Modified
  • Projects/GDB_Python

    v2 v3  
    22
    33
    4 Recent versions of GDB ship with Python embedded as a scripting language. This was added so GDB could be extended using a fully featured scripting language. The embedding of Python into GDB provided Pretty Printing hooks. Pretty printing allows GDB to be extended to provide human readable output for complex structures. The first use was to hide the C++ STD details. Pretty printing allow us to extend GDB so RTEMS's various data types can be presented in a human readable manner.
     4ThHis project add support for RTEMS in GDB using Python.
     5
     6Recent versions of GDB ship with Python embedded as a scripting language. This was added so GDB could be extended using a fully featured scripting language. The embedding of Python into GDB currently provides Pretty Printing hooks. Pretty printing allows GDB to be extended to provide human readable output for complex structures that do not print clearly using the actual type structure. The first use was to hide the C++ STD details.
     7
     8Python in GFB allow the RTEMS project to extend GDB so RTEMS's various data types can be presented in a human readable manner or made accessible to GDB.
    59= Download =
    610
    711
    812The RTEMS Pretty Printer can be downloaded from http://www.rtems.org/ftp/pub/rtems/people/chrisj/gdb.
     13
     14Contact [wiki:ChrisJohns Chris Johns] if you are interested in helping with this work.
     15= Status =
     16
     17
     18This project is on going. There are large number of types and structures in RTEMS and having them all accessible from GDB is a large undertaking. The initial phase is to support the basic types needed by RTEMS users to debug RTEMS applications. They are:
     19
     20 * SuperCore
     21# Objects
     22# Objects_Control
     23# Objects_Name
     24 *  Classic
     25# Attributes
     26# Tasks
     27# Semaphores
     28# Message Queues
     29# Paritions
     30# Regions
     31# Periods
     32# Extensions
     33# Barriers
     34 * POSIX
     35# Threads
     36# Keys
     37# Message queue Fds
     38# Message Queues
     39# Mutexes
     40# Semaphores
     41# Condition Variables
     42# Timers
     43# Barriers
     44# Semaphores
     45# Read/Write Locks
     46
     47Various pretty printers have been added to help improve looking at RTEMS internal structures. An RTEMS command has been added.