aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2020-09-08 17:34:41 +0100
committerPedro Alves <pedro@palves.net>2020-10-26 18:57:40 +0000
commitd744f0f9652ee8de839c09e4517b18c9b88aecb7 (patch)
tree8266ed1925a47e82c6f6bdc0e7825f1ac57c8a33 /gdbsupport/ChangeLog
parent55c3ad8801359ecb166ff3c04c3bd14140f623a1 (diff)
downloadgdb-d744f0f9652ee8de839c09e4517b18c9b88aecb7.zip
gdb-d744f0f9652ee8de839c09e4517b18c9b88aecb7.tar.gz
gdb-d744f0f9652ee8de839c09e4517b18c9b88aecb7.tar.bz2
gdb::handle_eintr, remove need to specify return type
This eliminates the need to specify the return type when using handle_eintr. We let the compiler deduce it for us. Also, use lowercase for function parameter names. Uppercase should only be used on template parameters. gdb/ChangeLog: * nat/linux-waitpid.c: Include "gdbsupport/eintr.h". (my_waitpid): Use gdb::handle_eintr. gdbserver/ChangeLog: * netbsd-low.cc (netbsd_waitpid, netbsd_process_target::kill) (netbsd_qxfer_libraries_svr4): Use gdb::handle_eintr without explicit type. gdbsupport/ChangeLog: * eintr.h (handle_eintr): Replace Ret template parameter with ErrorValType. Use it as type of the failure value. Deduce the function's return type using decltype. Use lowercase for function parameter names.
Diffstat (limited to 'gdbsupport/ChangeLog')
-rw-r--r--gdbsupport/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog
index 759eea1..2b01a0b 100644
--- a/gdbsupport/ChangeLog
+++ b/gdbsupport/ChangeLog
@@ -1,3 +1,10 @@
+2020-10-26 Pedro Alves <pedro@palves.net>
+
+ * eintr.h (handle_eintr): Replace Ret template parameter with
+ ErrorValType. Use it as type of the failure value. Deduce the
+ function's return type using decltype. Use lowercase for function
+ parameter names.
+
2020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
* Makefile.in: Re-generate.