* c-valprint.c (c_val_print): Fix printing for arrays defined
with 0 length.
This commit is contained in:
parent
0cacbcbe6e
commit
aad0977925
|
@ -1,3 +1,8 @@
|
||||||
|
|
||||||
|
Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com>
|
||||||
|
* c-valprint.c (c_val_print): Fix printing for arrays defined
|
||||||
|
with 0 length.
|
||||||
|
|
||||||
Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com>
|
Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com>
|
||||||
|
|
||||||
Support for bi-endian remote breakpoints.
|
Support for bi-endian remote breakpoints.
|
||||||
|
|
|
@ -152,6 +152,7 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
|
||||||
{
|
{
|
||||||
addr = unpack_pointer (type, valaddr);
|
addr = unpack_pointer (type, valaddr);
|
||||||
print_unpacked_pointer:
|
print_unpacked_pointer:
|
||||||
|
elttype = check_typedef (TYPE_TARGET_TYPE (type));
|
||||||
|
|
||||||
if (TYPE_CODE (elttype) == TYPE_CODE_FUNC)
|
if (TYPE_CODE (elttype) == TYPE_CODE_FUNC)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue