public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Debuginfo utilities added
@ 2007-07-31 21:59 Teresa Thomas
  2007-08-01  0:18 ` Phil Muldoon
  0 siblings, 1 reply; 2+ messages in thread
From: Teresa Thomas @ 2007-07-31 21:59 UTC (permalink / raw)
  To: frysk

I have just merged my branch with the main branch and committed the 
changes. As mentioned earlier, I've added two new related utilities in 
frysk/frysk-core/bindir:

1) fdebuginfo <pid(s)> - which lists the debuginfo paths for the 
(attached) process' modules. Its output format is a simple list of 
module names, followed by their debuginfo paths. Paths for ones that do 
not contain debuginfo, are shown as "---".
   
2) fdebugrpm <pid(s)> - which is a bash script that allows you to 
install the missing debuginfo packages using yum. This lists the missing 
debuginfo packages, and gives the user a choice to install them.

fdebugrpm internally runs fdebuginfo to obtain the names of the modules 
that are missing debugging information. For now, I suggest running 
fdebugrpm through the install tree (rather than the build tree) as the 
scripts direct it to look for fdebuginfo in this directory. This allows 
the scripts to be run from anywhere. An alternative, would be to ensure 
that the script and the utility it uses, are placed in the same 
directory and then direct the scripts to look for the utility in the 
same parent path as itself. Any suggestions between the two?

Ideas on improving any other aspect of the utilities would be great too!

Cheers,
Teresa

PS: To save the look up in case you don't have an install tree set up, 
passing ' --prefix=$PWD/installDirName' to frysk's configure makes one 
in the working directory.

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

end of thread, other threads:[~2007-08-01  0:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-31 21:59 Debuginfo utilities added Teresa Thomas
2007-08-01  0:18 ` Phil Muldoon

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