From 5387a0c6980825398784ecc6de5e91898e7e0857 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 6 Mar 2011 00:22:38 +0000 Subject: [PATCH] gdb: blackfin: enable simulator support Signed-off-by: Mike Frysinger --- gdb/ChangeLog | 6 ++++++ gdb/bfin-tdep.c | 2 ++ gdb/configure.tgt | 2 ++ 3 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8cfb11ef9a..0d1cbb7db9d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2011-03-05 Mike Frysinger + + * 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 * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 21213ab16ff..7de0b1be8bd 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 7d017a9ee0e..5ab1554df70 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*) -- 2.30.2