This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk 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]

[Bug general/6023] New: shared object breakpoints are not being hit


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

-- 
           Summary: shared object breakpoints are not being hit
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: scox at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6023

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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