Just wondering how to change the values ββof multiple array elements under gdb for C ++?
Thank you and welcome!
Something like:
print memcpy (the_array_you_want_to_modify, {newvalue1, newvalue2, ..., newvalueN}, N * sizeof(the_array_you_want_to_modify[0]))
maybe what you are looking for?