mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 04:13:50 +08:00
* gdbtypes.h (CHECK_TYPEDEF): Don't yield a value.
* stack.c (print_this_frame_argument_p): Use check_typedef.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-03-25 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* gdbtypes.h (CHECK_TYPEDEF): Don't yield a value.
|
||||||
|
* stack.c (print_this_frame_argument_p): Use check_typedef.
|
||||||
|
|
||||||
2009-03-25 Tom Tromey <tromey@redhat.com>
|
2009-03-25 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* configure: Rebuild.
|
* configure: Rebuild.
|
||||||
|
@ -1185,7 +1185,10 @@ extern struct type *lookup_signed_typename (char *);
|
|||||||
|
|
||||||
extern struct type *check_typedef (struct type *);
|
extern struct type *check_typedef (struct type *);
|
||||||
|
|
||||||
#define CHECK_TYPEDEF(TYPE) (TYPE) = check_typedef (TYPE)
|
#define CHECK_TYPEDEF(TYPE) \
|
||||||
|
do { \
|
||||||
|
(TYPE) = check_typedef (TYPE); \
|
||||||
|
} while (0)
|
||||||
|
|
||||||
extern void check_stub_method_group (struct type *, int);
|
extern void check_stub_method_group (struct type *, int);
|
||||||
|
|
||||||
|
@ -181,9 +181,9 @@ print_this_frame_argument_p (struct symbol *sym)
|
|||||||
/* The user asked to print only the scalar arguments, so do not
|
/* The user asked to print only the scalar arguments, so do not
|
||||||
print the non-scalar ones. */
|
print the non-scalar ones. */
|
||||||
|
|
||||||
type = CHECK_TYPEDEF (SYMBOL_TYPE (sym));
|
type = check_typedef (SYMBOL_TYPE (sym));
|
||||||
while (TYPE_CODE (type) == TYPE_CODE_REF)
|
while (TYPE_CODE (type) == TYPE_CODE_REF)
|
||||||
type = CHECK_TYPEDEF (TYPE_TARGET_TYPE (type));
|
type = check_typedef (TYPE_TARGET_TYPE (type));
|
||||||
switch (TYPE_CODE (type))
|
switch (TYPE_CODE (type))
|
||||||
{
|
{
|
||||||
case TYPE_CODE_ARRAY:
|
case TYPE_CODE_ARRAY:
|
||||||
|
Reference in New Issue
Block a user