public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Dwfl callbacks to use frysk to get memory.
@ 2007-05-28 18:49 Nurdin
  2007-05-28 20:15 ` Nurdin
  0 siblings, 1 reply; 2+ messages in thread
From: Nurdin @ 2007-05-28 18:49 UTC (permalink / raw)
  To: Frysk List

All the code to get elfutils to use frysk to access memory is located in 
the latest patch applied to bugzilla 4513.
<http://sourceware.org/bugzilla/show_bug.cgi?id=4513>

I have created a method Proc.getDwfl() but I am unsure as to where this 
dwfl should actually be created. (I stuck it in proc since that had all 
the necessary data to create a Dwfl, it could easily take a proc as a 
parameter and be located anywhere in the core.)

Any suggestions? Should getDwfl() stay in Proc or be moved elsewhere?

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

* Re: Dwfl callbacks to use frysk to get memory.
  2007-05-28 18:49 Dwfl callbacks to use frysk to get memory Nurdin
@ 2007-05-28 20:15 ` Nurdin
  0 siblings, 0 replies; 2+ messages in thread
From: Nurdin @ 2007-05-28 20:15 UTC (permalink / raw)
  To: Nurdin; +Cc: Frysk List

Nurdin wrote:
> All the code to get elfutils to use frysk to access memory is located 
> in the latest patch applied to bugzilla 4513.
> <http://sourceware.org/bugzilla/show_bug.cgi?id=4513>
>
> I have created a method Proc.getDwfl() but I am unsure as to where 
> this dwfl should actually be created. (I stuck it in proc since that 
> had all the necessary data to create a Dwfl, it could easily take a 
> proc as a parameter and be located anywhere in the core.)
>
> Any suggestions? Should getDwfl() stay in Proc or be moved elsewhere?
As discussed on irc, it was decided the best place for this would be in 
a factory, hence frysk.debuginfo.DwflFactory was created and committed. 
The Dwfl objects created by this factory use frysk to read the process's 
memory.

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

end of thread, other threads:[~2007-05-28 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-28 18:49 Dwfl callbacks to use frysk to get memory Nurdin
2007-05-28 20:15 ` Nurdin

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).