Commit 4ebde35337d05315c5170390377ef3a0f9dde53c
authorMichel Pollet <buserror@gmail.com>
Thu, 3 Dec 2009 23:31:42 +0000 (23:31 +0000)
committerMichel Pollet <buserror@gmail.com>
Thu, 3 Dec 2009 23:31:42 +0000 (23:31 +0000)
treecbc55030313ff66c5b65a71523ab8393d88bcc69
parent24c5c6069017010fd7d27eda7585e38b5fff7a4b
Message:
Polished gdb support, etc

GDB handler re-done, removed the thread, removed the pauses,
Now as fast as possible for stepping trhu code.
Note you /need/ the dwarf-2 debug symbols for gdb to work
properly, a simple '-g' will not work.

Also added a mode that starts the gdb server and waits if the
AVR core detects a "crash". Added a piece if test unit to
test just that.

Signed-off-by: Michel Pollet <buserror@gmail.com>
26 files changed:
.gitignore
Makefile.common [new file with mode: 0644]
simavr/Makefile
simavr/cores/sim_mega644.c
simavr/cores/sim_tiny85.c
simavr/sim/avr_eeprom.c
simavr/sim/avr_ioport.c
simavr/sim/avr_spi.c
simavr/sim/avr_spi.h
simavr/sim/avr_timer8.c
simavr/sim/avr_uart.c
simavr/sim/run_avr.c
simavr/sim/sim_avr.c
simavr/sim/sim_avr.h
simavr/sim/sim_core.h
simavr/sim/sim_elf.c
simavr/sim/sim_elf.h
simavr/sim/sim_gdb.c
simavr/sim/sim_gdb.h
simavr/sim/sim_interrupts.c
simavr/sim/sim_io.c
simavr/sim/sim_io.h
simavr/sim/sim_irq.c
simavr/sim/sim_irq.h
tests/Makefile
tests/attiny85_crash_gdb.c [new file with mode: 0644]