public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Dave Brolley <brolley@redhat.com>
To: "Frank Ch. Eigler" <fche@redhat.com>
Cc: sid@sources.redhat.com, cgen@sources.redhat.com
Subject: Re: [patch][rfa] SID --trace-semantics output
Date: Thu, 18 Mar 2004 21:02:00 -0000	[thread overview]
Message-ID: <405A0E73.5040500@redhat.com> (raw)
In-Reply-To: <y0mptb9ewhm.fsf@toenail.toronto.redhat.com>



Frank Ch. Eigler wrote:

>brolley wrote:
>
>  
>
>>A client of ours, for whom we're developing a SID port, requested
>>that SID's semantic trace show the actual value stored, accounting
>>for read-only fields and other side effects, rather than showing the
>>value which was attempted to be stored. [...]
>>    
>>
>
>Especially for bits outside the CPU, this has the potential to
>mislead, in that the disassembly trace would not represent the actions
>of the CPU.
>
but it would represent the actual result of the operation, which is what 
they want. Makes sense to me too, FWIW.

>>I eventually came up with the notion that the write/set methods of
>>SID's busses, control registers, memory access methods and hardware
>>write handers could return the actual value written. [...]
>>    
>>
>
>I am quite unfond of this approach.  It is a messy and limited way of
>providing just one more level of tracing.  Have you considered instead
>of all this the addition of tracing flags in the various devices that
>thusly mutilate their data?  That way, when they detect an incoming
>write (from whatever source), they can print the final afterimage.
>With carefully arranged tracing code in cgen_cpu, the additional
>messages from those peripherals could appear properly intermingled.
>  
>
This idea sounds reasonable and more in line with the SID architecture. 
I should have asked before I leaped :-)

Thanks,
Dave

      reply	other threads:[~2004-03-18 21:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 19:22 Dave Brolley
2004-03-18 20:22 ` Frank Ch. Eigler
2004-03-18 21:02   ` Dave Brolley [this message]

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=405A0E73.5040500@redhat.com \
    --to=brolley@redhat.com \
    --cc=cgen@sources.redhat.com \
    --cc=fche@redhat.com \
    --cc=sid@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).