aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/ChangeLog
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2020-05-25 11:38:32 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-05-25 11:38:45 -0400
commit8c4b5f3d987c80a1746e3f198bb060d7d7671945 (patch)
treedf99a374fb4b48754c1438e7e5279b62b8565d8d /gdbsupport/ChangeLog
parentc699004a29093c69fc6aeed04bbd838362666676 (diff)
downloadgdb-8c4b5f3d987c80a1746e3f198bb060d7d7671945.zip
gdb-8c4b5f3d987c80a1746e3f198bb060d7d7671945.tar.gz
gdb-8c4b5f3d987c80a1746e3f198bb060d7d7671945.tar.bz2
gdbsupport: Let construct_inferior_arguments take gdb::array_view param
Adapt the construct_inferior_arguments function to take a gdb::array_view<char * const> parameter instead of a char * array and an int indicating the length and adapt the only call site. This will allow calling it more simply in a follow-up patch introducing more uses of the function. gdbsupport/ChangeLog: * common-inferior.cc, common-inferior.h (construct_inferior_arguments): Adapt to take a gdb::array_view<char * const> parameter. Adapt call site. Change-Id: I1c6496c8c0b0eb3ef3fda96e9e3bd64c5e6cac3c
Diffstat (limited to 'gdbsupport/ChangeLog')
-rw-r--r--gdbsupport/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog
index 67dcdee..61b57ff 100644
--- a/gdbsupport/ChangeLog
+++ b/gdbsupport/ChangeLog
@@ -1,6 +1,12 @@
2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
* common-inferior.cc, common-inferior.h (construct_inferior_arguments):
+ Adapt to take a gdb::array_view<char * const> parameter.
+ Adapt call site.
+
+2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
+
+ * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
Adapt to handle zero args and return a std::string.
Adapt call site.