Patchwork [1/3] nptl_db: Install libthread_db under a regular implementation name

login
register
mail settings
Submitter Florian Weimer
Date Nov. 28, 2019, 1:01 p.m.
Message ID <21acb7886147c07e09f5d198ab6bb4b215f41369.1574945909.git.fweimer@redhat.com>
Download mbox | patch
Permalink /patch/36347/
State New
Headers show

Comments

Florian Weimer - Nov. 28, 2019, 1:01 p.m.
Currently, the name is always libthread_db-1.0.so.  It does not change
with the glibc version, like the other libraries.

GDB hard-codes libthread_db.so.1 (the soname), so this change does not
affect loading libthread_db.

Tested on x86_64-linux-gnu, in an environment where the nptl GDB tests
actually run.
---
 nptl_db/Makefile | 2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/nptl_db/Makefile b/nptl_db/Makefile
index bbe38ca273..ba66107cee 100644
--- a/nptl_db/Makefile
+++ b/nptl_db/Makefile
@@ -21,8 +21,6 @@  subdir          := nptl_db
 
 include ../Makeconfig
 
-nptl_db-version = 1.0
-
 extra-libs = libthread_db
 extra-libs-others := $(extra-libs)