From mint-bounce@lists.fishpool.fi  Thu Feb  4 15:00:45 2010
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
From: Eero Tamminen <oak@helsinkinet.fi>
Organization: Koti
To: mint@lists.fishpool.fi
Subject: Re: [MiNT] patch:XaAES:stackcheck
Date: Thu, 4 Feb 2010 21:55:06 +0200
User-Agent: KMail/1.9.9
References: <867027.211559133-sendEmail@descaro>
In-Reply-To: <867027.211559133-sendEmail@descaro>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <201002042155.06479.oak@helsinkinet.fi>
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: oak@helsinkinet.fi
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

Hi,

On Thursday 04 February 2010, Helmut Karlowski wrote:
> I've added a check for stack-alignment to XaAES.
> -------------------------------------------------------------------------
>-- This patch enables to detect and display the alignment of the
> stackpointer in all three threads of XaAES. If one is not on a
> word-boundary, an alert is issued. This patch should be removed
> later.
>
> Some minor optimizations are also included.
> -------------------------------------------------------------------------

If you have also another faster machine, why not to use an emulator tool
for this?

With latest Hatari emulator debugger you could just use something like this:
	breakpoint a7 & 1 = 1

(breakpoint command can be shortened to "b")

To know where you're when this issue triggers, you probably want to load
XaAES symbol addresses to the debugger with the debugger "symbols" command
(for this you need the latest version control version of Hatari).


	- Eero


