Skip to content

Instantly share code, notes, and snippets.

@dbalan
Created May 2, 2013 18:57
Show Gist options
  • Save dbalan/5504479 to your computer and use it in GitHub Desktop.
Save dbalan/5504479 to your computer and use it in GitHub Desktop.
+-------------+
| gdb.Command |
+-------------+
.
/_\
| [ gdb.Command ] [ gdb.Command ]
| . .
| /_\ /_\
| | |
| | |
+----------+ +-----------------+ +--------------+
| rtems | | rtems_semaphore | | rtems_object |
|----------| |-----------------| |--------------|
| __init__ | | api | | objects |
+----------+ | _class | | __doc__ |
| __doc__ | |--------------|
|-----------------| | __init__ |
| __init__ | | invoke |
| invoke | +--------------+
+-----------------+
+----------------------+ +------------------+ +--------------------------------+
| control | | queue | | state |
|----------------------| |------------------| |--------------------------------|
| ctrl | ----> [ objects.control ] | priority_headers | | ALL_SET |
| object | ----> [ ident ] | que | | READY |
|----------------------| |------------------| | DORMANT |
| __init__ | | __init__ | | SUSPENDED |
| id | | fifo | | TRANSIENT |
| name | | priority | | DELAYING |
| current_state | | state | | WAITING_FOR_TIME |
| current_priority | | tasks | | WAITING_FOR_BUFFER |
| real_priority | | to_string | | WAITING_FOR_SEGMENT |
| suspends | +------------------+ | WAITING_FOR_MESSAGE |
| post_task_switch_ext | | WAITING_FOR_EVENT |
| preemptible | | WAITING_FOR_SEMAPHORE |
| cpu_time_budget | | WAITING_FOR_MUTEX |
| wait_info | | WAITING_FOR_CONDITION_VARIABLE |
| brief | | WAITING_FOR_JOIN_AT_EXIT |
+----------------------+ | WAITING_FOR_RPC_REPLY |
| WAITING_FOR_PERIOD |
| WAITING_FOR_SIGNAL |
| WAITING_FOR_BARRIER |
| WAITING_FOR_RWLOCK |
| INTERRUPTIBLE_BY_SIGNAL |
| LOCALLY_BLOCKED |
| WAITING_ON_THREAD_QUEUE |
| BLOCKED |
| masks |
| s |
|--------------------------------|
| __init__ |
| to_string |
+--------------------------------+
+---------------+ +------------+ +-----------------+
| state_printer | | wait_info | | objects.control |
|---------------| |------------| +-----------------+
| s | ----> [ state ] | info |
|---------------| |------------|
| __init__ | | __init__ |
| to_string | | id |
+---------------+ | count |
| return_arg |
| option |
| block2n |
| queue |
+------------+
+----------+ +----------------+ +--------------+
| node | | ident | | id_printer |
|----------| |----------------| |--------------|
| node_val | | bits | | id | ----> [ ident ]
|----------| | OBJECT_16_BITS | |--------------|
| __init__ | | OBJECT_31_BITS | | __init__ |
| null | | api_labels | | to_string |
| next | | class_labels | | key |
| previous | | id | | children |
| cast | | idSize | | display_hint |
+----------+ |----------------| +--------------+
| __init__ |
| get |
| value |
| index |
| node |
| api_val |
| class_val |
| api |
| _class |
| valid |
+----------------+
+-----------+ +----------+ +---------------+
| name | | iterator | | infotables |
|-----------| |----------| |---------------|
| name | | object | | tables_types | ----> [ gdb.parse_and_eval ]
| is_string | | count | | tables |
|-----------| |----------| |---------------|
| __init__ | | __init__ | | __init__ |
| __str__ | | __iter__ | | invalidate |
+-----------+ | next | | name |
+----------+ | load |
| get |
| maximum |
| object |
| object_return |
| is_string |
+---------------+
+-----------------+ +--------------+ +--------------------+
| control_printer | | name_printer | | gdb.parse_and_eval |
|-----------------| |--------------| +--------------------+
| object | ----> [ control ] | name | ----> [ name ]
|-----------------| |--------------|
| to_string | | __init__ |
| __init__ | | to_string |
| key | +--------------+
| children |
| display_hint |
+-----------------+
+----------+ +-----------+ +----------------+
| task | | attribute | | semaphore |
|----------| |-----------| |----------------|
| id | ----> [ threads.control ] | groups | | id | ----> [ objects.control ]
| task | | masks | | object | ----> [ attribute ]
|----------| | fields | | object_control |
| __init__ | | attrtype | | attr |
| show | | attr | |----------------|
+----------+ |-----------| | __init__ |
| __init__ | | show |
| to_string | +----------------+
| test |
+-----------+
+-------------------+ +-------------------+ +-----------------+
| semaphore_printer | | attribute_printer | | threads.control |
|-------------------| |-------------------| +-----------------+
| semaphore | | attr |
|-------------------| |-------------------|
| __init__ | | __init__ |
| to_string | | to_string |
| key | +-------------------+
| children |
| display_hint |
+-------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment