* Makefile.in: Add support for AVR target.

* configure.tgt: Add support for AVR target.
* avr-tdep.c: New file
* config/avr/avr.mt: New file.
This commit is contained in:
Theodore A. Roth 2002-04-25 20:34:56 +00:00
parent 79509c2d51
commit 8818c391f7
5 changed files with 1397 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2002-04-25 Theodore A. Roth <troth@verinet.com>
* Makefile.in: Add support for AVR target.
* configure.tgt: Add support for AVR target.
* avr-tdep.c: New file
* config/avr/avr.mt: New file.
2002-04-25 Theodore A. Roth <troth@verinet.com>
* MAINTAINERS: Add myself to write-after-approval.

View file

@ -1183,6 +1183,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
alphafbsd-tdep.c \
arm-linux-nat.c arm-linux-tdep.c arm-tdep.c \
armnbsd-nat.c armnbsd-tdep.c \
avr-tdep.c \
coff-solib.c \
core-sol2.c core-regset.c core-aout.c corelow.c \
dcache.c delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
@ -1285,6 +1286,9 @@ armnbsd-nat.o: armnbsd-nat.c $(defs_h) arm-tdep.h $(inferior_h) $(regcache_h) \
armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) arm-tdep.h
avr-tdep.o: avr-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) $(inferior_h) \
$(symfile_h) $(regcache_h) $(arch_utils_h)
bcache.o: bcache.c $(bcache_h) $(defs_h)
blockframe.o: blockframe.c $(defs_h) $(gdbcore_h) $(inferior_h) \

1369
gdb/avr-tdep.c Normal file

File diff suppressed because it is too large Load diff

12
gdb/config/avr/avr.mt Normal file
View file

@ -0,0 +1,12 @@
# Target: AVR
TDEPFILES= 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.
#
# Simulator: AVR
#SIM_OBS = remote-sim.o
#SIM = ../sim/avr/libsim.a

View file

@ -14,6 +14,7 @@ case "${target_cpu}" in
alpha*) gdb_target_cpu=alpha ;;
arm*) gdb_target_cpu=arm ;;
avr*) gdb_target_cpu=avr ;;
hppa*) gdb_target_cpu=pa ;;
i[3456]86*) gdb_target_cpu=i386 ;;
m68hc11*|m6811*) gdb_target_cpu=m68hc11 ;;
@ -66,6 +67,10 @@ xscale-*-*) gdb_target=embed
configdirs="$configdirs rdi-share"
;;
avr-*-*) gdb_target=avr
gdb_multi_arch=yes
;;
cris*) gdb_target=cris ;;
d10v-*-*) gdb_target=d10v ;;