Hi
Just wonder how to modify the values of multiple elements of an array under gdb for C++?
Thanks and regards!
Hi
Just wonder how to modify the values of multiple elements of an array under gdb for C++?
Thanks and regards!
Something like:
print memcpy (the_array_you_want_to_modify, {newvalue1, newvalue2, ..., newvalueN}, N * sizeof(the_array_you_want_to_modify[0]))
may be what you're looking for?