This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] AVR: link with the simulator


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*)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]