This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: What should a CPU simulator support?
- From: s88 <dave dot tw at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 4 Jul 2007 09:25:57 +0800
- Subject: Re: What should a CPU simulator support?
- References: <c9d32f760707031824u7836642aud35629ae88fbfe3@mail.gmail.com>
Hi all:
I'm trying to implement a gdb stub for a CPU simulator.
The CPU simulator interprets each instruction in a big while loop.
My question is: Is it enough for my simulator to support a single step
run (simulate a single instruction per called) function to the gdb
stub?
thanx
Dave.
--
System on Chip Design Lab.
Dept. of Computer Science and Information Engineering,
National Chung Cheng University
E-mail : s88.tw@acm.org