public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: Phil Muldoon <pmuldoon@redhat.com>
Cc: frysk@sourceware.org
Subject: Re: frysk-core/frysk stack/Frame.java stack/Change ...
Date: Tue, 31 Jul 2007 11:25:00 -0000	[thread overview]
Message-ID: <1185881092.3653.87.camel@dijkstra.wildebeest.org> (raw)
In-Reply-To: <46AE7BF2.1020603@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

On Mon, 2007-07-30 at 19:01 -0500, Phil Muldoon wrote:
> npremji@sourceware.org wrote:
> > 	frysk/proc/CL
> > 	* IsaIA32.java (regDefs): Expanded "efl" to "eflags".
> >   
> 
> Just as a note, this broke CoredumpAction (and TestFCore tests) which 
> continued to use efl instead of eflags. I'll fix it in the refactored 
> version, but there could be other cases elsewhere relying on the name 
> efl over eflags. Might  be worth investigation

A quick scan didn't show any other uses of the old name. x86_64 already
used the eflags name. To get closer to zero fail again on x86 I
committed the trivial fix, and removed some left over debug output in
the code.

2007-07-31  Mark Wielaard  <mwielaard@redhat.com>

    * StacktraceAction.java (printTasks): Remove debug println.
    * CoredumpAction.java (fillENotePrstatus): Rename elf to elflags.


Cheers,

Mark

[-- Attachment #2: elflags.patch --]
[-- Type: text/x-patch, Size: 2084 bytes --]

Index: frysk-core/frysk/util/CoredumpAction.java
===================================================================
RCS file: /cvs/frysk/frysk-core/frysk/util/CoredumpAction.java,v
retrieving revision 1.17
diff -u -r1.17 CoredumpAction.java
--- frysk-core/frysk/util/CoredumpAction.java	30 Jul 2007 16:51:39 -0000	1.17
+++ frysk-core/frysk/util/CoredumpAction.java	31 Jul 2007 11:17:57 -0000
@@ -1,6 +1,6 @@
 //This file is part of the program FRYSK.
 
-//Copyright 2006, Red Hat Inc.
+//Copyright 2006, 2007 Red Hat Inc.
 
 //FRYSK is free software; you can redistribute it and/or modify it
 //under the terms of the GNU General Public License as published by
@@ -287,7 +287,7 @@
 
         String regMap[] = { "ebx", "ecx", "edx", "esi", "edi", "ebp", "eax",
                            "ds", "es", "fs", "gs", "orig_eax", "eip", "cs",
-                           "efl", "esp", "ss" };
+                           "eflags", "esp", "ss" };
 
         for (int i = 0; i < regMap.length; i++)
           prStatus.setPrGPReg(
Index: frysk-core/frysk/util/StacktraceAction.java
===================================================================
RCS file: /cvs/frysk/frysk-core/frysk/util/StacktraceAction.java,v
retrieving revision 1.21
diff -u -r1.21 StacktraceAction.java
--- frysk-core/frysk/util/StacktraceAction.java	27 Jul 2007 21:46:27 -0000	1.21
+++ frysk-core/frysk/util/StacktraceAction.java	31 Jul 2007 11:17:57 -0000
@@ -1,6 +1,6 @@
 // This file is part of the program FRYSK.
 //
-// Copyright 2005, Red Hat Inc.
+// Copyright 2005, 2007 Red Hat Inc.
 //
 // FRYSK is free software; you can redistribute it and/or modify it
 // under the terms of the GNU General Public License as published by
@@ -150,7 +150,6 @@
     while (iter.hasNext())
       {
 	Task task =  (Task) iter.next();
-	System.out.println("StacktraceAction.printTasks() printSourceLibrary " + printSourceLibrary);
 	StackFactory.printTaskStackTrace(printWriter,task,elfOnly,printParameters,printScopes,fullpath,printSourceLibrary);
       }
     logger.log(Level.FINE, "{0} exiting printTasks\n", this);

  reply	other threads:[~2007-07-31 11:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070730195006.8817.qmail@sourceware.org>
2007-07-31  0:02 ` Phil Muldoon
2007-07-31 11:25   ` Mark Wielaard [this message]
2007-07-31 18:42 ` Sami Wagiaalla
2007-07-31 18:46   ` Nurdin Premji

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=1185881092.3653.87.camel@dijkstra.wildebeest.org \
    --to=mark@klomp.org \
    --cc=frysk@sourceware.org \
    --cc=pmuldoon@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).