Pthreads pretty printers
Daniel Gutson
daniel.gutson at tallertechnologies.com
Mon Mar 30 01:32:08 UTC 2015
El 29/03/2015 20:52, "Chris Johns" <chrisj at rtems.org> escribió:
>
> On 30/03/2015 8:23 am, Daniel Gutson wrote:
> >
> > We are waiting for the (hopefully) last round of comments for our gdb
> > pretty printers of glibc's NPTL.
>
> Do you have a suitable link ?
https://sourceware.org/ml/libc-alpha/2015-03/msg00833.html
>
> > Is there interest here for an RTEMS version as well?
>
> Yes. We have support for RTEMS here
> https://git.rtems.org/rtems-tools/tree/tools/gdb/python and posix.py
> support is something I would like to add.
>
> To load build and install the rtems-tools package. The RSB does this now
> and then in gdb do:
>
> (gdb) python import rtems
>
> and for classic API we have:
>
> (gdb) rtems task
>
> I have been working to clean up the package and something things in this
> code base are present but need testing, eg the rbtrees.py.
>
> The posix support would be an Id wrapper for the POSIX class threads and
> then the common thread code would be used to examine the thread. A nice
> feature for posix thread display would mapping the start address to a
> gdb function symbol to help users know which pthread is which.
Thanks. I'll analyze this with my team and be back.
Daniel.
>
> Chris
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150329/fdeb3fea/attachment-0002.html>
More information about the devel
mailing list