gdbsupport: change xml_escape_text_append's parameter from pointer to reference
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 20 Oct 2022 02:00:59 +0000 (22:00 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 16 Dec 2022 02:56:25 +0000 (21:56 -0500)
commitde75275fe54c5536c8238f0f3f88bb7ac2222942
tree521af24ffa46304fd972b179d7af347329c1ddff
parentf8631e5e04dbef678323e9be6b7329f39049d2c4
gdbsupport: change xml_escape_text_append's parameter from pointer to reference

The passed in string can't be nullptr, it makes more sense to pass in a
reference.

Change-Id: Idc8bd38abe1d6d9b44aa227d7856956848c233b3
gdb/unittests/xml-utils-selftests.c
gdbserver/linux-low.cc
gdbserver/netbsd-low.cc
gdbsupport/xml-utils.cc
gdbsupport/xml-utils.h