Skip to content

Instantly share code, notes, and snippets.

@dbalan
Created April 30, 2013 13:22
Show Gist options
  • Save dbalan/5488653 to your computer and use it in GitHub Desktop.
Save dbalan/5488653 to your computer and use it in GitHub Desktop.
(gdb) source __init__.py
RTEMS GDB Support loaded
(gdb) rtems semaphores
Name: LBIO
Attr: 0x00000054,local,pri,bin-sema,inherit-pri,no-pri-ceiling
Lock: unlocked
Nesting: 0
Blocked: 0
Holder: unlocked
Queue: len = 8, state = waiting-for-mutex
'0 '\000'' (c:34065256, r:34065272) (0207cb5c)
'0 '\000'' (c:34065256, r:34065272) (0207cb5c)
'0 '\000'' (c:34065268, r:34065284) (0207cb68)
'0 '\000'' (c:34065268, r:34065284) (0207cb68)
'0 '\000'' (c:34065280, r:0) (0207cb74)
'0 '\000'' (c:34065280, r:0) (0207cb74)
'0 '\000'' (c:1024, r:5) (0207cb80)
'0 '\000'' (c:1024, r:5) (0207cb80)
Name: TRmi
Attr: 0x00000054,local,pri,bin-sema,inherit-pri,no-pri-ceiling
Lock: unlocked
Nesting: 0
Blocked: 0
Holder: unlocked
Queue: len = 8, state = waiting-for-mutex
'0 '\000'' (c:34065376, r:34065392) (0207cbd4)
'0 '\000'' (c:34065376, r:34065392) (0207cbd4)
'0 '\000'' (c:34065388, r:34065404) (0207cbe0)
'0 '\000'' (c:34065388, r:34065404) (0207cbe0)
'0 '\000'' (c:34065400, r:0) (0207cbec)
'0 '\000'' (c:34065400, r:0) (0207cbec)
'0 '\000'' (c:1024, r:5) (0207cbf8)
'0 '\000'' (c:1024, r:5) (0207cbf8)
Name: TRia
Attr: 0x00000054,local,pri,bin-sema,inherit-pri,no-pri-ceiling
Lock: unlocked
Nesting: 0
Blocked: 0
Holder: unlocked
Queue: len = 8, state = waiting-for-mutex
'0 '\000'' (c:34065496, r:34065512) (0207cc4c)
'0 '\000'' (c:34065496, r:34065512) (0207cc4c)
'0 '\000'' (c:34065508, r:34065524) (0207cc58)
'0 '\000'' (c:34065508, r:34065524) (0207cc58)
'0 '\000'' (c:34065520, r:0) (0207cc64)
'0 '\000'' (c:34065520, r:0) (0207cc64)
'0 '\000'' (c:1024, r:5) (0207cc70)
'0 '\000'' (c:1024, r:5) (0207cc70)
Name: TRoa
Attr: 0x00000054,local,pri,bin-sema,inherit-pri,no-pri-ceiling
Lock: unlocked
Nesting: 0
Blocked: 0
---Type <return> to continue, or q <return> to quit---
Holder: unlocked
Queue: len = 8, state = waiting-for-mutex
'0 '\000'' (c:34065616, r:34065632) (0207ccc4)
'0 '\000'' (c:34065616, r:34065632) (0207ccc4)
'0 '\000'' (c:34065628, r:34065644) (0207ccd0)
'0 '\000'' (c:34065628, r:34065644) (0207ccd0)
'0 '\000'' (c:34065640, r:0) (0207ccdc)
'0 '\000'' (c:34065640, r:0) (0207ccdc)
'0 '\000'' (c:1024, r:5) (0207cce8)
'0 '\000'' (c:1024, r:5) (0207cce8)
Name: TRxa
Attr: 0x00000020,local,fifo,simple-bin-sema,no-inherit-pri,no-pri-ceiling
Lock: locked
Nesting: 1
Blocked: 0
Holder: 'IDLE' (c:255, r:255)
Queue: len = 2, state = waiting-for-mutex
'0 '\000'' (c:0, r:0) (0207cd3c)
'0 '\000'' (c:0, r:0) (0207cd3c)
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment