From: Andrew Cagney <cagney@redhat.com>
To: frysk <frysk@sources.redhat.com>
Subject: New frysk.solib package
Date: Mon, 10 Mar 2008 23:43:00 -0000 [thread overview]
Message-ID: <47D5C793.803@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 422 bytes --]
FYI,
I'm factoring out the code that parses the link-map table from
frysk.proc.dead into frysk.solib; once there it will become possible to
construct a MemoryMap[] from the in-memory table of both live and dead
processes.
Being able to construct the MemoryMap[] from the in-memory table of a
live process will let us work-around a kernel bug where, during
termination, /proc/$$/maps stops being available.
Andrew
[-- Attachment #2: [SCM] master: Move SOLibMapBuilder to frysk.solib..eml --]
[-- Type: message/rfc822, Size: 6318 bytes --]
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM] master: Move SOLibMapBuilder to frysk.solib.
Date: 10 Mar 2008 23:34:06 -0000
Message-ID: <20080310233406.7413.qmail@sourceware.org>
The branch, master has been updated
via 5b6dc0b96a065dc4273f08b4be598be4377e2837 (commit)
from dd417143986b806ef499396b016145a6d20905c7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 5b6dc0b96a065dc4273f08b4be598be4377e2837
Author: Andrew Cagney <cagney@redhat.com>
Date: Mon Mar 10 19:32:08 2008 -0400
Move SOLibMapBuilder to frysk.solib.
frysk-core/frysk/proc/dead/ChangeLog
2008-03-10 Andrew Cagney <cagney@redhat.com>
* SOLibMapBuilder.java: Move to frysk.solib.
* LinuxExeFactory.java: Update.
* LinuxCoreInfo.java: Update.
frysk-core/frysk/solib/ChangeLog
2008-03-10 Andrew Cagney <cagney@redhat.com>
* SOLibMapBuilder.java: Move to here from frysk.proc.dead.
-----------------------------------------------------------------------
Summary of changes:
frysk-core/frysk/proc/dead/ChangeLog | 4 ++++
frysk-core/frysk/proc/dead/LinuxCoreInfo.java | 1 +
frysk-core/frysk/proc/dead/LinuxExeFactory.java | 1 +
frysk-core/frysk/solib/ChangeLog | 2 ++
.../{proc/dead => solib}/SOLibMapBuilder.java | 5 ++---
5 files changed, 10 insertions(+), 3 deletions(-)
rename frysk-core/frysk/{proc/dead => solib}/SOLibMapBuilder.java (97%)
First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/dead/ChangeLog b/frysk-core/frysk/proc/dead/ChangeLog
index 7a34a1f..0ef222d 100644
--- a/frysk-core/frysk/proc/dead/ChangeLog
+++ b/frysk-core/frysk/proc/dead/ChangeLog
@@ -1,5 +1,9 @@
2008-03-10 Andrew Cagney <cagney@redhat.com>
+ * SOLibMapBuilder.java: Move to frysk.solib.
+ * LinuxExeFactory.java: Update.
+ * LinuxCoreInfo.java: Update.
+
* LinuxCoreInfo.java: Refactor link-map code to
frysk.solib.LinkMapFactory and frysk.solib.DynamicSegment.
(addEnhancedMapData): Use LinkMapFactory.
diff --git a/frysk-core/frysk/proc/dead/LinuxCoreInfo.java b/frysk-core/frysk/proc/dead/LinuxCoreInfo.java
index 8d19246..0fd0ff1 100644
--- a/frysk-core/frysk/proc/dead/LinuxCoreInfo.java
+++ b/frysk-core/frysk/proc/dead/LinuxCoreInfo.java
@@ -39,6 +39,7 @@
package frysk.proc.dead;
+import frysk.solib.SOLibMapBuilder;
import java.util.List;
import java.util.LinkedList;
import java.io.File;
diff --git a/frysk-core/frysk/proc/dead/LinuxExeFactory.java b/frysk-core/frysk/proc/dead/LinuxExeFactory.java
index 738d448..255719d 100644
--- a/frysk-core/frysk/proc/dead/LinuxExeFactory.java
+++ b/frysk-core/frysk/proc/dead/LinuxExeFactory.java
@@ -47,6 +47,7 @@ import lib.dwfl.ElfCommand;
import lib.dwfl.ElfEHeader;
import frysk.proc.MemoryMap;
import frysk.rsl.Log;
+import frysk.solib.SOLibMapBuilder;
public class LinuxExeFactory {
private static final Log fine = Log.fine(LinuxExeFactory.class);
diff --git a/frysk-core/frysk/solib/ChangeLog b/frysk-core/frysk/solib/ChangeLog
index 9f7c90e..a7bbfcf 100644
--- a/frysk-core/frysk/solib/ChangeLog
+++ b/frysk-core/frysk/solib/ChangeLog
@@ -1,5 +1,7 @@
2008-03-10 Andrew Cagney <cagney@redhat.com>
+ * SOLibMapBuilder.java: Move to here from frysk.proc.dead.
+
* LinkMap.java: Extract from frysk.proc.dead.LinuxCoreInfo.
* LinkMapFactory.java: Ditto.
* DynamicSegment.java: Ditto.
diff --git a/frysk-core/frysk/proc/dead/SOLibMapBuilder.java b/frysk-core/frysk/solib/SOLibMapBuilder.java
similarity index 97%
rename from frysk-core/frysk/proc/dead/SOLibMapBuilder.java
rename to frysk-core/frysk/solib/SOLibMapBuilder.java
index 9946988..ddf8a90 100644
--- a/frysk-core/frysk/proc/dead/SOLibMapBuilder.java
+++ b/frysk-core/frysk/solib/SOLibMapBuilder.java
@@ -37,7 +37,7 @@
// version and license this file solely under the GPL without
// exception.
-package frysk.proc.dead;
+package frysk.solib;
import lib.dwfl.Elf;
import lib.dwfl.ElfEHeader;
@@ -46,8 +46,7 @@ import lib.dwfl.ElfCommand;
import java.io.File;
/**
- * Build a list of maps from the contents of the file linkmap table at
- * address specified.
+ * Build a list of maps from the contents of the file specified file.
*/
public abstract class SOLibMapBuilder {
hooks/post-receive
--
frysk system monitor/debugger
reply other threads:[~2008-03-10 23:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47D5C793.803@redhat.com \
--to=cagney@redhat.com \
--cc=frysk@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).