This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] TLS access support in cross- Linux GDB
- From: Djordje Todorovic <djordje dot todorovic at rt-rk dot com>
- To: Pedro Alves <palves at redhat dot com>, Gary Benson <gbenson at redhat dot com>
- Cc: gdb-patches at sourceware dot org, nemanja dot popov at rt-rk dot com, nikola dot prica at rt-rk dot com, petar dot jovanovic at rt-rk dot com, asowda at cisco dot com, ibaev at cisco dot com
- Date: Fri, 9 Jun 2017 11:40:18 +0200
- Subject: Re: [PATCH] TLS access support in cross- Linux GDB
- Authentication-results: sourceware.org; auth=none
- References: <593529D1.7040206@rt-rk.com> <20170608102003.GA24047@blade.nx> <86cbd96e-d8c8-57f5-5951-2b19592425cd@redhat.com>
Thank you for your comments!
We are aware of dependency and maintenance problems that this patch causes.
The reason we took this approach is problem with debugging programs with different glibc versions.
We thought that handling this issue with different versions of glibc was more appropriate to do in
gdb, since gdb should handle programs with different versions of glibc and libthread_db has been
designed to work with the one version.
Implementing this support as new cross-functionality in glibc/libthread_db was our plan B and we
will implement this approach also. We just wanted to start discussion about this with community and
get some feedback.
Thanks,
Djordje Todorović