John Birrell wrote:
> Daniel Eischen wrote:
> > Why don't we make a libc_r_db and provide the necessary interfaces to
> > gdb from that instead of having gdb know about uthread internals?
>
> It would still mean that gdb would be linked to the uthread internals
> which may not match the version of libc_r that the 3rd party program
> was linked against.

OK, but it still seems more appropriate to have uthread debugging
internals known somewhere other than in GDB.  It seems more obvious
to have to modify libc_r_db when libc_r changes than to know to
update the gdb sources.

If threads had versioning information as well as trying to set
certain attributes in stone, then libc_r_db could be made to
be backwards compatible with older thread libraries.

Dan Eischen
eisc...@vigrid.com


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to