mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 13:23:10 +08:00
* c-lang.c (evaluate_subexp_c): Call check_typedef.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2009-03-20 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* c-lang.c (evaluate_subexp_c): Call check_typedef.
|
||||||
|
|
||||||
2009-03-20 Tom Tromey <tromey@redhat.com>
|
2009-03-20 Tom Tromey <tromey@redhat.com>
|
||||||
Julian Brown <julian@codesourcery.com>
|
Julian Brown <julian@codesourcery.com>
|
||||||
|
|
||||||
|
@ -917,6 +917,10 @@ evaluate_subexp_c (struct type *expect_type, struct expression *exp,
|
|||||||
default:
|
default:
|
||||||
internal_error (__FILE__, __LINE__, "unhandled c_string_type");
|
internal_error (__FILE__, __LINE__, "unhandled c_string_type");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ensure TYPE_LENGTH is valid for TYPE. */
|
||||||
|
check_typedef (type);
|
||||||
|
|
||||||
dest_charset = charset_for_string_type (dest_type);
|
dest_charset = charset_for_string_type (dest_type);
|
||||||
|
|
||||||
++*pos;
|
++*pos;
|
||||||
|
Reference in New Issue
Block a user