I am debugging with arguments in gdb:
gdb --args ./buildData data/test.data features/testFeatures.txt test
Then in gdb I set a break point in the 'main' function and want to print out the argv's value:
print *argv
But this only displays the first argument, not all:
print *argv
$2 = 0x7fffffffe4f0 "/src/tools/./buildData"
Shouldn't it print out all 3 arguments?