aboutsummaryrefslogtreecommitdiff
path: root/bfd/stab-syms.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-10-24 22:59:51 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-10-25 09:06:09 -0400
commit324956617c35b0e204f54b8da8db2de2bd3b129e (patch)
tree27c477731c7b60c9a7fbbd88db7ce6b9ef453024 /bfd/stab-syms.c
parent3f66685e9e92717af0cafa20480de5548aea7298 (diff)
downloadfsf-binutils-gdb-324956617c35b0e204f54b8da8db2de2bd3b129e.zip
fsf-binutils-gdb-324956617c35b0e204f54b8da8db2de2bd3b129e.tar.gz
fsf-binutils-gdb-324956617c35b0e204f54b8da8db2de2bd3b129e.tar.bz2
gdb: make jit.c use the inferior_created inferior parameter
Use the inferior parameter now available in jit_inferior_created_hook. It is passed down to jit_inferior_init, which uses it as much as possible instead of the current inferior or current program space. gdb/ChangeLog: * jit.c (jit_reader_load_command): Pass current inferior. (jit_inferior_init): Change parameter type to inferior, use it. (jit_inferior_created): Remove. (jit_inferior_created_hook): Pass inferior parameter down. (_initialize_jit): Use jit_inferior_created_hook instead of jit_inferior_created. * jit.h (jit_inferior_created_hook): Add inferior parameter. * infrun.c (follow_exec): Pass inferior to jit_inferior_created_hook. Change-Id: If3a2114a933370dd313d5abd623136d273cdb8fa
Diffstat (limited to 'bfd/stab-syms.c')
0 files changed, 0 insertions, 0 deletions