gdb: use objfile->pspace in auto-load.c
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Oct 2023 02:20:19 +0000 (22:20 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 5 Oct 2023 17:20:50 +0000 (13:20 -0400)
commiteb0558dee5e249ca6270f2b4875988f2dc2fbb15
tree0b9d85a43c217d8b2b26df33a5b046fd070629b9
parentaa9be61e7d4097f62813c216b4dc2288b8b402d5
gdb: use objfile->pspace in auto-load.c

Use objfile->pspace instead of current_program_space in two spots.

Change-Id: Idf94fad486252d1250380f295e71b0fe76dce76c
Approved-By: Tom Tromey <tom@tromey.com>
gdb/auto-load.c