[RFA] AVR: link with the simulator

Tristan Gingold gingold@adacore.com
Tue May 26 08:22:00 GMT 2009


Hi,

a few week ago I contributed the avr simulator.  This very simple  
patch makes it useable with gdb.

Tristan.

gdb/
2009-05-26  Tristan Gingold  <gingold@adacore.com>

	* configure.tgt (avr): Set gdb_sim to use the simulator.

*** configure.tgt	18 May 2009 13:25:33 -0000	1.218
--- configure.tgt	26 May 2009 08:17:12 -0000
***************
*** 96,105 ****
   avr-*-*)
   	# Target: AVR
   	gdb_target_obs="avr-tdep.o"
! 	# There is no simulator provided with gdb (yet).
! 	# See <http://savannah.gnu.org/projects/simulavr/>
! 	# for the simulator used during development of avr
! 	# support for gdb.
   	;;

   cris*)
--- 96,102 ----
   avr-*-*)
   	# Target: AVR
   	gdb_target_obs="avr-tdep.o"
! 	gdb_sim=../sim/avr/libsim.a
   	;;

   cris*)



More information about the Gdb-patches mailing list