This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: How do I type cast an array of strings in GDB?
- To: Roger Cruz <rogerc@ignitus.com>
- Subject: Re: How do I type cast an array of strings in GDB?
- From: Jim Blandy <jimb@cygnus.com>
- Date: 26 Jul 1999 21:15:07 -0500
- Cc: gdb@sourceware.cygnus.com
- References: <379CBFBC.6164B1CA@ignitus.com>
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]