This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Modernize HP-UX core file handling


> 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:

    (gdb) bt
    #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!
-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]