diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-10-02 10:46:38 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-10-02 10:46:38 -0400 |
commit | a7aba2668a7b392182e296392d8e19516e1a6ec5 (patch) | |
tree | 90bf9ad0ff14856658d698c150dbb479350b7918 /gdb/m68k-linux-tdep.c | |
parent | 3ee6f75d058c0747368e0631735e279174b1f918 (diff) | |
download | gdb-a7aba2668a7b392182e296392d8e19516e1a6ec5.zip gdb-a7aba2668a7b392182e296392d8e19516e1a6ec5.tar.gz gdb-a7aba2668a7b392182e296392d8e19516e1a6ec5.tar.bz2 |
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
Diffstat (limited to 'gdb/m68k-linux-tdep.c')
-rw-r--r-- | gdb/m68k-linux-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-linux-tdep.c b/gdb/m68k-linux-tdep.c index dcc7e08..e4fc2fa 100644 --- a/gdb/m68k-linux-tdep.c +++ b/gdb/m68k-linux-tdep.c @@ -211,7 +211,7 @@ struct m68k_linux_sigtramp_info static int target_is_uclinux; static void -m68k_linux_inferior_created (struct target_ops *objfile, int from_tty) +m68k_linux_inferior_created () { /* Record that we will need to re-evaluate whether we are running on a uClinux or normal GNU/Linux target (see m68k_linux_get_sigtramp_info). */ |