diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-06 00:22:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-06 00:22:38 +0000 |
commit | 5387a0c6980825398784ecc6de5e91898e7e0857 (patch) | |
tree | 9b149e8ca4e326d0f5d46bdb99694f58a684ff9b /gdb | |
parent | ef016f835f292f01f065412fcfd84c50bfff1fea (diff) | |
download | gdb-5387a0c6980825398784ecc6de5e91898e7e0857.zip gdb-5387a0c6980825398784ecc6de5e91898e7e0857.tar.gz gdb-5387a0c6980825398784ecc6de5e91898e7e0857.tar.bz2 |
gdb: blackfin: enable simulator support
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/bfin-tdep.c | 2 | ||||
-rw-r--r-- | gdb/configure.tgt | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8cfb11..0d1cbb7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2011-03-05 Mike Frysinger <vapier@gentoo.org> + + * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. + * configure.tgt (bfin-*-*linux*): Define gdb_sim. + (bfin-*-*): Likewise. + 2011-03-05 Michael Snyder <msnyder@vmware.com> * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 21213ab..7de0b1b 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -32,6 +32,8 @@ #include "trad-frame.h" #include "dis-asm.h" #include "gdb_assert.h" +#include "sim-regno.h" +#include "gdb/sim-bfin.h" #include "dwarf2-frame.h" #include "symtab.h" #include "elf-bfd.h" diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 7d017a9..5ab1554 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -109,11 +109,13 @@ avr-*-*) bfin-*-*linux*) # Target: Blackfin Linux gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o" + gdb_sim=../sim/bfin/libsim.a build_gdbserver=yes ;; bfin-*-*) # Target: Blackfin processor gdb_target_obs="bfin-tdep.o" + gdb_sim=../sim/bfin/libsim.a ;; cris*) |