]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
gdb: bool-ify follow_fork
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 24 Mar 2020 17:44:58 +0000 (13:44 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 24 Mar 2020 17:45:21 +0000 (13:45 -0400)
commit5ab2fbf185935f387fd5c1f8b14ba9fe04b41b39
tree75106f1f578d4e7a4d21019d7ae517d1c5d6c5bb
parente11cd7c491e4ec0cdd080c6dd45e62789a893606
gdb: bool-ify follow_fork

Change parameters and return value of the various follow_fork
functions/methods from int to bool.

gdb/ChangeLog:

* fbsd-nat.c (fbsd_nat_target::follow_fork): Change bool to int.
* fbsd-nat.h (class fbsd_nat_target) <follow_fork>: Likewise.
* inf-ptrace.c (inf_ptrace_target::follow_fork): Likewise.
* inf-ptrace.h (struct inf_ptrace_target) <follow_fork>: Likewise.
* infrun.c (follow_fork): Likewise.
(follow_fork_inferior): Likewise.
* linux-nat.c (linux_nat_target::follow_fork): Likewise.
* linux-nat.h (class linux_nat_target): Likewise.
* remote.c (class remote_target) <follow_fork>: Likewise.
(remote_target::follow_fork): Likewise.
* target-delegates.c: Re-generate.
* target.c (default_follow_fork): Likewise.
(target_follow_fork): Likewise.
* target.h (struct target_ops) <follow_fork>: Likewise.
(target_follow_fork): Likewise.
12 files changed:
gdb/ChangeLog
gdb/fbsd-nat.c
gdb/fbsd-nat.h
gdb/inf-ptrace.c
gdb/inf-ptrace.h
gdb/infrun.c
gdb/linux-nat.c
gdb/linux-nat.h
gdb/remote.c
gdb/target-delegates.c
gdb/target.c
gdb/target.h