summaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2020-08-04 18:01:55 +0200
committerJose E. Marchesi <jose.marchesi@oracle.com>2020-08-04 18:01:55 +0200
commit39791af2a2191a2f7765d7809ecedcd0442138bf (patch)
treebb7328d6686a00b465206f118d8cb9f959b7e165 /gdb/configure.tgt
parent10c381b53f8d0295287b8205f170dfedd953993b (diff)
downloadbinutils-gdb-39791af2a2191a2f7765d7809ecedcd0442138bf.tar.gz
gdb: support for eBPF
This patch adds basic support for the eBPF target: tdep and build machinery. The accompanying simulator is introduced in subsequent patches. gdb/ChangeLog: 2020-08-04 Weimin Pan <weimin.pan@oracle.com> Jose E. Marchesi <jose.marchesi@oracle.com> * configure.tgt: Add entry for bpf-*-*. * Makefile.in (ALL_TARGET_OBS): Add bpf-tdep.o (ALLDEPFILES): Add bpf-tdep.c. * bpf-tdep.c: New file. * MAINTAINERS: Add bpf target and maintainer. gdb/doc/ChangeLog: 2020-08-04 Jose E. Marchesi <jose.marchesi@oracle.com> * gdb.texinfo (Contributors): Add information for the eBPF support. (BPF): New section.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index d66f01bb9f7..7e84eff4445 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -205,6 +205,11 @@ bfin-*-*)
gdb_sim=../sim/bfin/libsim.a
;;
+bpf-*-*)
+ # Target: eBPF
+ gdb_target_obs="bpf-tdep.o"
+ ;;
+
cris*)
# Target: CRIS
gdb_target_obs="cris-tdep.o cris-linux-tdep.o linux-tdep.o solib-svr4.o"