Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: [Fwd: a small bug in the arm simulator]
@ 2001-02-23 12:02 Jens-Christian Lache
  0 siblings, 0 replies; 7+ messages in thread
From: Jens-Christian Lache @ 2001-02-23 12:02 UTC (permalink / raw)
  To: gdb

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]

Hello again!
(I wish...)
-------

I think it would be nice to have swi´s working properly. I don´t know
if this really belongs to a source level simulator or not. 

Maybe it is not that much work to implement it. The different modes work
quite fine (more or less). I mentioned before that I can simulate swis and
interrupts manually. The simulator does provide the functionality already.
The steps I did to simulate a swi just have to be automated.

For hw interrupts could be applied the same. I can imagine an interrupt
button, which automatically executes the code from 0x18, set lr_irq and spsr.
That would be nice.

jc

Am Fre, 23 Feb 2001 schrieben Sie:
> Hi Jens-Christian,
> 
> > Well, I could launch arm-elf-gdb from gdb, BUT just for a while.
> > At the moment gdb hangs when pressening the run button to start
> > arm-elf-gdb. This happens also for a helloWorld c-program.
> 
> Oh dear :-(
> 
> > The bug in the sim is still located in this snapshot.
> > 
> > Unfortunatly, I am to clumsy at the std. gdb console (a stable version without
> > insight is installed an my system) That´s why I am compiling a different gdb
> > frontend called "ddd" which is hopefully a little more stable. Lesstif just
> > compiled fine and soon ddd will be compiled too (I hope). Unfortunately I don´t
> > have  administrator right on my machine, that would make thinks faster.
> 
> May I suggest an old fashioned approach to debugging - printf
> statements.  This is how I debug the simulator.  I add in fprintf(stderr,"...
> calls at the places I am interested in, recompile GDB and then run it.
> 
> Cheers
>         Nick
-- 


Jens-Christian Lache
Technische Universitaet Hamburg-Harburg
www.tu-harburg.de/~sejl1601
Mail:
lache@tu-harburg.de
lache@ngi.de
Tel.:
+0491759610756


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-02-23 13:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3A9686D2.CEEB419D@redhat.com>
2001-02-23 11:06 ` [Fwd: a small bug in the arm simulator] Nick Clifton
     [not found]   ` <0102232029510U.28931@lab04>
2001-02-23 11:38     ` Jens-Christian Lache
2001-02-23 12:15       ` Keith Seitz
2001-02-23 12:28         ` Jens-Christian Lache
2001-02-23 13:53         ` Jens-Christian Lache
     [not found]     ` <p0ae7d4280.fsf@elmo.cygnus.com>
2001-02-23 11:59       ` Jens-Christian Lache
2001-02-23 12:02 Jens-Christian Lache

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox