Operating System - HP-UX
1831566 Members
3707 Online
110025 Solutions
New Discussion

Debugging in shared libraries, aCC, wdb, hpux11

 
Pierre Jacquemin
New Member

Debugging in shared libraries, aCC, wdb, hpux11

hi,
I'vejust upgraded to hpux 11, and have a problem with wdb.

When I set a breakpoint in a shared lib, it is deferred until the shared library is loaded. Fine, that was the behaviour on hpux 10.20 as well.

Probleme is, it never actually sets the breakpoint. Doing a "catch load *does* stop the executable.

I've already installed the lates linker patches (PHSS_21947).

It also fails to step in functions that are located in shared libraries. The only workaround (painfull) I've found for now is to step in instructions by instructions (in assembly). As soon as the shared symbol is found, I can move back into the source window and step as usual. At that point I can also set breakpoints in the same file, but not in the others in the same shared library...

Please include a copy of any response to
cognot@ensg.inpl-nancy.fr

Thanks in advance.
Richard Cognot.
1 REPLY 1
Alex Glennie
Honored Contributor

Re: Debugging in shared libraries, aCC, wdb, hpux11

My advise : this sounds suspiciously like a known issue discoverd back in the June time frame : what version of wdb is failing at 11.xx, my guess is its version 2.0.01 as opposed to the earlier version at 10.20.

I cannot see if this has been resolved as yet in an official patch, there maybe a site specific one available however.

Your best course of action is to raise a S/W call with your local HP centre and ask their Programming support to look at : CR# JAGad13385 and see if the agree the problem is the same : Deferred breakpoints don''t trigger.

If it is then they will be able to contact the Programming Labs for an update on the availability of a fix.