[M3devel] state of m3gdb on LINUXLIBC6?
Tony Hosking
hosking at cs.purdue.edu
Fri Feb 29 18:46:07 CET 2008
m3gdb should probably avoid any specific reliance on the particular
threads implementation. If using pthreads, then gdb already has
support for that (I frequently debug threads issues for CM3 using the
regular gdb without any problems). If using SIGVTALRM threads then I
would suggest that users will need to be familiar with the thread
scheduling points that it uses (triggered by SIGVTALRM, and
implemented by Thread.Transfer). Since there is no way for m3gdb to
"switch" contexts for SIGVTALRM threads then it really might as well
be agnostic about threads generally. In summary, there should not be
need for *special* support for threads in m3gdb.
Antony Hosking | Associate Professor | Computer Science | Purdue
University
305 N. University Street | West Lafayette | IN 47907 | USA
Office +1 765 494 6001 | Mobile +1 765 427 5484
On Feb 29, 2008, at 11:43 AM, Rodney M. Bates wrote:
>
>
> Olaf Wagner wrote:
>> Quoting "Rodney M. Bates" <rodney.bates at wichita.edu>:
>>> As for other platforms, I don't have any around, and I'm not aware
>>> of anybody
>>> trying it.
>> It compiles without problems on FreeBSD 6.3 and works as long as
>> programs are linked with libthr.so (not with libpthread.so).
>
> Any more information on what the difference in these libraries is?
>
>> I haven't used it much yet, and some things seemed to be strange;
>> thread stack switching or viewing didn't work at all.
>
> m3gdb needs work on threads. I have never done anything on it.
> Unless Tony did some when he was working on it several years ago,
> I think it is pretty much as it came from SRC, and that was fairly
> primitive. Plus, the new pthreads implementation is not supported.
> Once I glanced at the code and it looked immediately like what was
> there would not work at all. This has been on my list a while.
>
>> If you want to try anything on FreeBSD, let me know, I can provide
>> a remote login.
>
> Yes, that would be helpful.
>
>> Olaf
>
> --
> -------------------------------------------------------------
> Rodney M. Bates, retired assistant professor
> Dept. of Computer Science, Wichita State University
> Wichita, KS 67260-0083
> 316-978-3922
> rodney.bates at wichita.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080229/2970d413/attachment-0002.html>
More information about the M3devel
mailing list