]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix attribute printing bug
authorLuis Machado <luis.machado@linaro.org>
Fri, 18 Dec 2020 20:50:52 +0000 (17:50 -0300)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 22:53:23 +0000 (15:53 -0700)
commit508748fef6bb88c1d426b515c2ce039a62370931
tree328691daac17cf65a73832d258e4583d990791b5
parentf099d97aa36cc1b63a8c46ef061ffc25f9a39905
Fix attribute printing bug

We just reset the attribute string instead of appending to it.  This patch
fixes this.

gdbsupport/ChangeLog:

2020-12-30  Luis Machado  <luis.machado@arm.com>

* capability.cc (capability::to_str): Append strings to
attribute string.
gdbsupport/capability.cc