Alan,
Your problem is not gdb, but with the C language. To index into an array
of anything that you want to walk, you have to use a variable as the array
subscript and then increment it: something = msg[idx++];
It's more common to use pointer notation, so declare a pointer and set it
equal to msg. I'm not sure why you want to call a printable char an
unsigned char but you can do this: uint8_t *cp; cp = msg;
while( *cp ){ do_something( *cp++ ); }
Sincerely,
David Smead
www.amplepower.com
www.amplepower.net