mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2006-02-16 Fred Fish <fnf@specifix.com>
* gdb.base/whatis.c: Define variables using typedefs char_addr, ushort_addr, and slong_addr, so the typedefs are not optimized away. * gdb.base/whatis.exp: Add tests using type name for struct type, union type, enum type, and typedef.
This commit is contained in:
@ -79,8 +79,11 @@ double v_double_array[2];
|
||||
a special case kludge in GDB (Unix system include files like to define
|
||||
caddr_t), but for a variety of types. */
|
||||
typedef char *char_addr;
|
||||
static char_addr a_char_addr;
|
||||
typedef unsigned short *ushort_addr;
|
||||
static ushort_addr a_ushort_addr;
|
||||
typedef signed long *slong_addr;
|
||||
static slong_addr a_slong_addr;
|
||||
|
||||
char *v_char_pointer;
|
||||
signed char *v_signed_char_pointer;
|
||||
|
Reference in New Issue
Block a user