]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: remove find_target_at
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 2 Dec 2025 21:09:26 +0000 (16:09 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 4 Dec 2025 16:34:14 +0000 (11:34 -0500)
commit390dbc4a8768c379f535ac4fd2f04ba93ceb5046
treef46f4038263c8fcdf74ed62688b2e2b79ff2e713
parent4e80f6037f92b4af504d956090e5189d50ef07ce
gdb: remove find_target_at

... to make the current_inferior reference bubble up one level.  Since
find_target_at would become a trivial wrapper around
inferior::target_at, remove it.  I think it's clearer anyway to see
explicitly that the "subject" of the method call is the inferior.

Change-Id: I73ec44d37e7afea6e85b1689af65e32ae8e5a695
Approved-By: Tom Tromey <tom@tromey.com>
gdb/record.c
gdb/svr4-tls-tdep.c
gdb/target.c
gdb/target.h