aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-netbsd-nat.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-07-28 23:25:58 -0400
committerSimon Marchi <simon.marchi@efficios.com>2024-08-12 11:10:02 -0400
commit91f378ddd0f3c51a29190b337abd9ebd06726f0b (patch)
tree61241a2cf93ce75b111f47f140c64b1aa7bab374 /gdb/sparc64-netbsd-nat.c
parent74e39223b5e7cb645720a81f2c6ec25f9f40998c (diff)
downloadbinutils-91f378ddd0f3c51a29190b337abd9ebd06726f0b.zip
binutils-91f378ddd0f3c51a29190b337abd9ebd06726f0b.tar.gz
binutils-91f378ddd0f3c51a29190b337abd9ebd06726f0b.tar.bz2
gdb: pass inferior to gdbarch_update_p
Make the current inferior reference bubble up one level. I think this makes it clearer what gdbarch_update_p, which is update the passed inferior's architecture (although the function name could probably be better). When gdbarch_find_by_info, it is possible for the new architecture's init callback to be called. I have not audited all of them (there are just too many), it's possible that some of them do care about the current inferior, for some reason (for instance, if one of them makes a target call). If so, they should be changed too. Change-Id: I89f012188d7fdca395a830f4b013743565f26847
Diffstat (limited to 'gdb/sparc64-netbsd-nat.c')
0 files changed, 0 insertions, 0 deletions