public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6632] New: Debugging fhpd with fhpd does not print source
@ 2008-06-11 19:48 swagiaal at redhat dot com
  2008-06-11 20:40 ` [Bug general/6632] " cagney at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: swagiaal at redhat dot com @ 2008-06-11 19:48 UTC (permalink / raw)
  To: frysk-bugzilla

[swagiaal@toner frysk.bugs]$ fhpd ./frysk-core/frysk/bindir/fhpd $$
[0.0] Loaded executable file:
/notnfs/swagiaal/frysks.bin/frysk.bugs/frysk-core/frysk/bindir/fhpd
(fhpd) break main
breakpoint 0 deferred
(fhpd) run
running with this command:
/notnfs/swagiaal/frysks.bin/frysk.bugs/frysk-core/frysk/bindir/fhpd 3669
Attached to process 4335
Running process 4335
(fhpd) Breakpoint 0 main 0x4c2b70
list
[0.0]
Error: file /tmp/ccD9MbpQ.i not found.
(fhpd)

-- 
           Summary: Debugging fhpd with fhpd does not print source
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: swagiaal at redhat dot com
                CC: swagiaal at redhat dot com
OtherBugsDependingO 2246
             nThis:


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

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


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

* [Bug general/6632] Debugging fhpd with fhpd does not print source
  2008-06-11 19:48 [Bug general/6632] New: Debugging fhpd with fhpd does not print source swagiaal at redhat dot com
@ 2008-06-11 20:40 ` cagney at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: cagney at redhat dot com @ 2008-06-11 20:40 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2008-06-11 20:40 -------
What's happening is that GCJ generates a main() stub which will then call the
java runtime starting up FHPD.  The generated main() lives in a temp file such
as the below.

The DWARF committee keep considering ways to address this; for instance how to
describe, in dwarf, something that really isn't debug-info but rather run-time info.

Anyway, if we could find the true entry point, then "run" could automatically
breakpoint in "main".

btw #1; fortran and ada have the same problem
btw #2: .stabs (another debug format) were, at one stage genrating an N_main stab.

perhaps check the DWARF web site to see if anything got resolved.

-- 


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

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


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

end of thread, other threads:[~2008-06-11 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-11 19:48 [Bug general/6632] New: Debugging fhpd with fhpd does not print source swagiaal at redhat dot com
2008-06-11 20:40 ` [Bug general/6632] " cagney 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).