aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/Makefile
diff options
context:
space:
mode:
authorSergey Belyashov <Sergey.Belyashov@gmail.com>2020-09-25 14:40:42 +0300
committerSimon Marchi <simon.marchi@polymtl.ca>2021-07-17 10:17:30 -0400
commit3dab9e15d3ab1cde555dfbf4a958eb17eec2ecb3 (patch)
tree42ae6677a07afc152fccddb3c32a083248cd49fa /gdb/features/Makefile
parent12be796ca8a107f91b23e393fc228960ea52c6cc (diff)
downloadfsf-binutils-gdb-3dab9e15d3ab1cde555dfbf4a958eb17eec2ecb3.zip
fsf-binutils-gdb-3dab9e15d3ab1cde555dfbf4a958eb17eec2ecb3.tar.gz
fsf-binutils-gdb-3dab9e15d3ab1cde555dfbf4a958eb17eec2ecb3.tar.bz2
Add basic Z80 CPU support
Supported ISAs: - Z80 (all undocumented instructions) - Z180 - eZ80 (Z80 mode only) Datasheets: Z80: https://www.zilog.com/manage_directlink.php?filepath=docs/z80/um0080&extn=.pdf Z180: https://www.zilog.com/manage_directlink.php?filepath=docs/z180/ps0140&extn=.pdf eZ80: http://www.zilog.com/force_download.php?filepath=YUhSMGNEb3ZMM2QzZHk1NmFXeHZaeTVqYjIwdlpHOWpjeTlWVFRBd056Y3VjR1Jt To debug Z80 programs using GDB you must configure and embed z80-stub.c to your program (SDCC compiler is required). Or you may use some simulator with GDB support. gdb/ChangeLog: * Makefile.in (ALL_TARGET_OBS): Add z80-tdep.c. * NEWS: Mention z80 support. * configure.tgt: Handle z80*. * features/Makefile (XMLTOC): Add z80.xml. * features/z80-cpu.xml: New. * features/z80.c: Generate. * features/z80.xml: New. * z80-tdep.c: New file. * z80-tdep.h: New file. gdb/stubs/ChangeLog: * z80-stub.c: New file. Change-Id: Id0b7a6e210c3f93c6853c5e3031b7bcee47d0db9
Diffstat (limited to 'gdb/features/Makefile')
-rw-r--r--gdb/features/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/features/Makefile b/gdb/features/Makefile
index 522ad58..ded8c3b 100644
--- a/gdb/features/Makefile
+++ b/gdb/features/Makefile
@@ -170,7 +170,8 @@ XMLTOC = \
s390x-tevx-linux64.xml \
s390x-vx-linux64.xml \
s390-gs-linux64.xml \
- s390x-gs-linux64.xml
+ s390x-gs-linux64.xml \
+ z80.xml
TDESC_CFILES = $(patsubst %.xml,%.c,$(XMLTOC))
GDB = false