[RFC] Modernize HP-UX core file handling
Fri Dec 10 15:50:00 GMT 2004
> Mark, I haven't had a chance to test your patch yet. I will do that
> tomorrow. But in the recent past, core file handling was completely
> broken on both hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 (it always
> segfaults when reading a core file for me), so i suspect whatever you
> have will be better (at least a step in the right direction)
Hmmm, bizarre. I thought it was working fine for me (at least not
crashing), but I must have been using 6.3. With head, I got:
This GDB was configured as "hppa2.0w-hp-hpux11.00"...
(gdb) core core
Core was generated by `crash'.
Program terminated with signal 6, Aborted.
Register flags not found in core file.
(but no crash, like you). I'm running on 11.00.
After Mark's changes, I get something much better:
#0 0xc01f5e38 in kill () from /usr/lib/libc.2
#1 0x00002988 in cause_crash () from ./crash
Cannot access memory at address 0xffffffed
I'll look at the unwinding failure when I have a moment.
Nice work, Mark!
More information about the Gdb-patches