From: Daniel Jacobowitz <drow@false.org>
To: libra <mr924352@cs.nthu.edu.tw>
Cc: gdb@sources.redhat.com
Subject: Re: Some problem in ARM (armemu.c)
Date: Thu, 09 Dec 2004 14:24:00 -0000 [thread overview]
Message-ID: <20041209142417.GA21724@nevyn.them.org> (raw)
In-Reply-To: <1102591251.41b8351391e24@webmail.cs.nthu.edu.tw>
On Thu, Dec 09, 2004 at 07:20:51PM +0800, libra wrote:
> Hello,all
>
> I am trying to modify the arm file (gdb/sim/arm/armemu.c) to fit my
> research purpose. In this file(armemu.c), the
> function "ARMul_Emulate32 (ARMul_State * state)" simulate the ARM
> instruction set.
>
> My question is that when i modify the instrction operation (see
> below 1), and rebuild the gdb, i also write a test program(see
> below 2). Once exexuting the test program(see below 3), the whole
> program halt. I do not know what happen, because i think the
> modifying is simple.
Probably something in the startup code from newlib uses addition, and
goes into an infinite loop with your broken addition.
The simulator is part of GDB; you can load a.out into GDB and run it to
see what happens.
--
Daniel Jacobowitz
prev parent reply other threads:[~2004-12-09 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-09 11:21 libra
2004-12-09 14:24 ` Daniel Jacobowitz [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=20041209142417.GA21724@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=mr924352@cs.nthu.edu.tw \
/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