public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6023] New: shared object breakpoints are not being hit
@ 2008-04-02 14:49 scox at redhat dot com
  2008-04-02 14:52 ` [Bug general/6023] " scox at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: scox at redhat dot com @ 2008-04-02 14:49 UTC (permalink / raw)
  To: frysk-bugzilla

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-09 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-02 14:49 [Bug general/6023] New: shared object breakpoints are not being hit scox at redhat dot com
2008-04-02 14:52 ` [Bug general/6023] " scox at redhat dot com
2008-04-09 14:21 ` scox at redhat dot com
2008-04-09 14:36 ` scox at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).