* c-valprint.c (c_val_print): Fix printing for arrays defined
with 0 length. A sticky tag caused this fix from revision 2.32 date: 1996/04/29 23:25:27; author: dawn; state: Exp; lines: +1 -0 branches: 2.32.34; to not make it into devo.
This commit is contained in:
parent
16a43bf443
commit
be733f5841
|
@ -1,4 +1,12 @@
|
||||||
|
|
||||||
|
Wed Feb 12 02:44:39 1997 Dawn Perchik <dawn@cygnus.com>
|
||||||
|
|
||||||
|
* c-valprint.c (c_val_print): Fix printing for arrays defined
|
||||||
|
with 0 length. A sticky tag caused this fix from
|
||||||
|
revision 2.32 date: 1996/04/29 23:25:27; author: dawn;
|
||||||
|
state: Exp; lines: +1 -0 branches: 2.32.34;
|
||||||
|
to not make it into devo.
|
||||||
|
|
||||||
Tue Feb 11 22:24:39 1997 Dawn Perchik <dawn@cygnus.com>
|
Tue Feb 11 22:24:39 1997 Dawn Perchik <dawn@cygnus.com>
|
||||||
|
|
||||||
* defs.h: Fix cntl-C to read from the Windows message queue.
|
* defs.h: Fix cntl-C to read from the Windows message queue.
|
||||||
|
|
|
@ -153,6 +153,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));
|
elttype = check_typedef (TYPE_TARGET_TYPE (type));
|
||||||
|
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