This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: S12Z [new patchset]
- From: John Darrington <john at darrington dot wattle dot id dot au>
- To: John Darrington <john at darrington dot wattle dot id dot au>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>, gdb-patches at sourceware dot org
- Date: Sat, 8 Sep 2018 08:30:04 +0200
- Subject: Re: S12Z [new patchset]
- References: <20180829141845.26378-1-john@darrington.wattle.id.au> <079417ed-8a4c-45a0-8e2d-c72f78a4d227@ericsson.com> <20180908041801.osodrw7qk5lp24of@jocasta.intra>
On Sat, Sep 08, 2018 at 06:18:01AM +0200, John Darrington wrote:
I still see it. Are you sure you have an --enable-targets=all build? What
configure line do you use?
I used:
/home/john/binutils-gdb/configure --target=s12z --enable-targets=all CFLAGS="-g -O0" CXXFLAGS="-O0 -g" --prefix=$(mktemp -d -p /Scratch/john)
Now I do see it.
Can you apply the attached patch, and see if it fixes it for you?
J'
>From df16439ce7de10b6f1c72c6974f544cdf806e9da Mon Sep 17 00:00:00 2001
From: John Darrington <john@darrington.wattle.id.au>
Date: Sat, 8 Sep 2018 06:59:09 +0200
Subject: [PATCH] Add ARCH_s12z to the ARCH_all case.
* opcodes/disassemble.c: Define ARCH_s12z when ARCH_all is defined.
---
opcodes/disassemble.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index c5941826f0..ce83423b6d 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -77,6 +77,7 @@
#define ARCH_rs6000
#define ARCH_rl78
#define ARCH_rx
+#define ARCH_s12z
#define ARCH_s390
#define ARCH_score
#define ARCH_sh
--
2.11.0