* mipsread.c, coffread.c: initialise TYPE_VPTR_FIELDNO to -1.
authorJohn Gilmore <gnu@cygnus>
Thu, 10 Oct 1991 00:05:52 +0000 (00:05 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 10 Oct 1991 00:05:52 +0000 (00:05 +0000)
commit912456a503158ca8d6b12c5019ac00f0873b9e09
treee064e384e7eee32fb520cc686543d170c6b67570
parent6383fc6d946d6a407f8f77c9f45e325b6d6d6954
* mipsread.c, coffread.c:  initialise TYPE_VPTR_FIELDNO to -1.
This avoids coredumps under `set print object on' in value_headof
(called erroneously by value_from_vtable_info) for `p &struct'
or `p *struct'.  From Peter Schauer.
gdb/ChangeLog