]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/solib: rename convenience variable to _linker_namespace
authorGuinevere Larsen <guinevere@redhat.com>
Thu, 15 May 2025 14:07:03 +0000 (11:07 -0300)
committerGuinevere Larsen <guinevere@redhat.com>
Thu, 5 Jun 2025 11:54:06 +0000 (08:54 -0300)
commit96662aacaa0cf0a9766d874fc9577a5da417dbcc
tree94d4e64ba53b6fd9db72d7d90b49ae59d950e592
parent9dbef4c2897df267fc0b783e673ddcc48ed04c90
gdb/solib: rename convenience variable to _linker_namespace

Based on feedback from IRC and PR solib/32959, this commit renames the
recently introduced convenience variable $_current_linker_namespace to
the shorter name $_linker_namespace. This makes it more in line with
existing convenience variables such as $_thread and $_inferior, and
faster to type.

It should be ok to simply change the name because the variable was never
released to the public, so there should be no existing scripts depending
on the name.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32959
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Approved-By: Tom Tromey <tom@tromey.com>
gdb/NEWS
gdb/doc/gdb.texinfo
gdb/solib.c
gdb/testsuite/gdb.base/default.exp
gdb/testsuite/gdb.base/dlmopen-ns-ids.exp