gdb: remove arguments from inferior_created observable
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 2 Oct 2020 14:46:38 +0000 (10:46 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 2 Oct 2020 14:46:38 +0000 (10:46 -0400)
commita7aba2668a7b392182e296392d8e19516e1a6ec5
tree90bf9ad0ff14856658d698c150dbb479350b7918
parent3ee6f75d058c0747368e0631735e279174b1f918
gdb: remove arguments from inferior_created observable

I noticed that non of the listeners of the inferior_created observable
used either of the arguments.  Remove them.  This in turn allows
removing the target parameter of post_create_inferior.

Tested only by rebuilding.

gdb/ChangeLog:

* observable.h <inferior_created>: Remove parameters.  Update all
listeners.
* inferior.h (post_create_inferior): Remove target parameter.
Update all callers.

Change-Id: I8944cefdc4447ed5347dc927b75abf1e7a0e27e6
15 files changed:
gdb/ChangeLog
gdb/bsd-uthread.c
gdb/corelow.c
gdb/dummy-frame.c
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c
gdb/jit.c
gdb/linux-thread-db.c
gdb/m68k-linux-tdep.c
gdb/observable.h
gdb/ravenscar-thread.c
gdb/symfile-mem.c
gdb/tracectf.c
gdb/tracefile-tfile.c