1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix trace of command line array

In the DSF tests the command line is output, but it is an array so
needed an Arrays.toString

Change-Id: I8b7dc33073dc3a34ffe7eea0343e415041335c7d
This commit is contained in:
Jonah Graham 2021-07-24 18:03:17 -04:00
parent de4a1e7222
commit 467eeb06a4

View file

@ -683,7 +683,8 @@ public class BaseTestCase {
String[] commandLine = { server, ":" + port, program };
try {
if (GdbDebugOptions.DEBUG)
GdbDebugOptions.trace("Starting gdbserver with command: " + commandLine + "\n");
GdbDebugOptions
.trace("Starting gdbserver with command: " + Arrays.toString(commandLine) + "\n");
gdbserverProc = ProcessFactory.getFactory().exec(commandLine);
Reader r = new InputStreamReader(gdbserverProc.getErrorStream());