From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10404 invoked by alias); 29 Jan 2003 19:21:04 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 10386 invoked from network); 29 Jan 2003 19:21:03 -0000 Received: from unknown (HELO eureka.die.upm.es) (138.4.9.207) by 172.16.49.205 with SMTP; 29 Jan 2003 19:21:03 -0000 Received: from jayala by eureka.die.upm.es with local (Exim 3.36 #1 (Debian)) id 18dxnD-0000hH-00; Wed, 29 Jan 2003 20:22:39 +0100 Date: Wed, 29 Jan 2003 19:21:00 -0000 From: Jose Luis Ayala To: cgen@sources.redhat.com Subject: Memory accesses Message-ID: <20030129192238.GA2670@die.upm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i X-SW-Source: 2003-q1/txt/msg00033.txt.bz2 Hi! I'm writing some simple code to trace memory accesses while the simulator runs. As I want this works for different targets, I need to put the code into the common simulator sources. I've selected the sim-utils.c file (sim/common/sim-utils.c), where a 'case' structure seems to take care of that (access_read, access_write, access_exec...). Does it look ok? or could you suggest me any more proper place/way for that? Thanks a lot! Jose