Python GDB support queries

Dhananjay Balan mb.dhananjay at gmail.com
Tue Apr 16 18:26:27 UTC 2013


Hi,

Was fiddling little bit with code, trying to convert some of the GDB
sim-scripts into the python functions.

PFA diff of the function I wrote - it tries to print a list of all
semaphores. But I could not get past this error (I can print the ids, but
error occurs during the printing of semaphore
information, something related to task queues I suppose.)

Please find the debug information here -> https://gist.github.com/5398227

Also gdb gave me this https://gist.github.com/anonymous/5398125

Any thoughts why this function fails?


Also just being curious
https://gist.github.com/dhananjaynav/5398261#file-threads-py-L191 shouldn't
this be indexed at Priority rather than at Fifo?


-- 
Regards,
Dhananjay M Balan,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130416/825f8695/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems_semaphore_patch.diff
Type: application/octet-stream
Size: 1747 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130416/825f8695/attachment.obj>


More information about the devel mailing list