aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/dyn-bit-offset
diff options
context:
space:
mode:
authorGuinevere Larsen <guinevere@redhat.com>2025-06-06 16:23:37 -0300
committerGuinevere Larsen <guinevere@redhat.com>2025-06-06 17:45:49 -0300
commit925908e4995f7ab56349b30b29096e211cce42b0 (patch)
treecbb626e46d6b2db19a0a4cb278c65bd2f7168c46 /gdb/testsuite/gdb.ada/dyn-bit-offset
parent3ba8e33726e78ea43b3bb2b0f1a26059b45b8e7e (diff)
downloadbinutils-925908e4995f7ab56349b30b29096e211cce42b0.zip
binutils-925908e4995f7ab56349b30b29096e211cce42b0.tar.gz
binutils-925908e4995f7ab56349b30b29096e211cce42b0.tar.bz2
gdb/solib: make _linker_namespace use selected frame
When the convenience variable $_linker_namespace was introduced, I meant for it to print the namespace of the frame that where the user was stopped. However, due to confusing what "current_frame" and "selected_frame" meant, it instead printed the namespace of the lowermost frame. This commit updates the code to follow my original intent. Since the variable was never in a GDB release, updating the behavior should not cause any disruption. It also adds a test to verify the functionality. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.ada/dyn-bit-offset')
0 files changed, 0 insertions, 0 deletions