[commit] Use NUM_REGS in reggroups.c
Andrew Cagney
ac131313@redhat.com
Sun Apr 13 22:41:00 GMT 2003
Hello,
The attached uses NUM_REGS, instead of gdbarch_num_regs(), when deciding
if a register is raw. HP/UX still isn't multi-arch which leads to
gdbarch_num_regs() returning 0. This trickles through various logic
eventually resulting in:
(gdb) print "string"
No memory available to program: call to malloc failed
I guess in a month or so, it will be reverted.
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030413/5d8f4e80/attachment.ksh>
More information about the Gdb-patches
mailing list