68xxx software emulator

Robert J. Brown rj@eli.elilabs.com
Mon Sep 21 08:49:00 GMT 1998

>>>>> "joel" == joel  <joel@OARcorp.com> writes:

    joel> On Sun, 20 Sep 1998, Robert J. Brown wrote:

    >> A couple of years ago I found one at ???.ncsu.edu, but it was a
    >> cpu simulator.  More like an ICE than a software debugger like
    >> Xray.  I have written these things before for custom hardware.
    >> They are not so much difficult to write as they are tedious to
    >> test.

    joel> I believe this one is called BSVC and the last time I looked
    joel> at it was 68000 only with limited peripheral support.  This
    joel> was not integrated into gdb.  Ideally I would like to see
    joel> one integrated with gdb.

A good software cpu simulator should provide features a software
debugger cannot possibly provide.  I should think the easiest way to
integrate such a thing with gdb would be to stick a cross-debug gdb
interface into the software load and do it exactly like you would do
it on a real hardware platform.

A fancier interface might hook back to to simulation support code to
do the kernel cross-debug thing, but then you would not be testing the 
cross debug interface you will ultimately need on the real hardware

--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
R. J. Brown III  rj@elilabs.com http://www.elilabs.com/~rj  voice 847 543-4060
Elijah Laboratories Inc. 457 Signal Lane, Grayslake IL 60030  fax 847 543-4061
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------

More information about the crossgcc mailing list