Given the attached makefile and frysk/src/frysk-core/frysk/pkglibdir/funit-{quicksort,bubblesort}.c If a breakpoint is set at bubblesort with static linking it works fine, but if a breakpoint is set at at bubblesort when funit-bubblesort is a shared object, it doesn't hit the breakpoint. LD_LIBRARY_PATH=`pwd` frysk-core/frysk/bindir/fhpd ./funit-quicksort.x [0.0] Loaded executable file: /work/scox/accu/funit-quicksort.x (fhpd) break main breakpoint 0 deferred (fhpd) break bubblesort breakpoint 1 (fhpd) run Attached to process 30943 running with this command: ./funit-quicksort.x Running process 30943 (fhpd) Breakpoint 0 main 0x400822 go Running process 30943 (fhpd) Task 30943 is exiting with status 0 (fhpd) q Quitting... frysk-core/frysk/bindir/fhpd ./funit-quicksort-static.x [0.0] Loaded executable file: /work/scox/accu/funit-quicksort-static.x (fhpd) break main breakpoint 0 deferred (fhpd) break bubblesort breakpoint 1 deferred (fhpd) run Attached to process 30949 running with this command: ./funit-quicksort-static.x Running process 30949 (fhpd) Breakpoint 0 main 0x4006e2 go Running process 30949 (fhpd) Breakpoint 1 bubblesort 0x4007ae go Running process 30949 (fhpd) Task 30949 is exiting with status 0
Created attachment 2346 [details] testcase makefile creates a shared library and a non-shared library version of the testcase
frysk.hpd.TestSysRoot uses a shared object setup by the makefile, so a test could be added there to test a breakpoint in a shared object.