How do I type cast an array of strings in GDB?

Jim Blandy jimb@cygnus.com
Mon Jul 26 19:15:00 GMT 1999


>From an operational perspective, you want to prevent GDB from fetching
the value of semTypeMsg as a machine word.  You might try:

print ((char **) &semTypeMsg)[1]


More information about the Gdb mailing list