XPost: linux.debian.bugs.dist
This is a multi-part message in MIME format.
Hi!
I have ported Yoshii-san's code to GDB 7.12, attaching an updated
patch. A git repository with my linux-sh branch can be found in [1].
Yutaka Niibe has already reached out to Renesas in Japan and is trying to
get into touch with Yoshii-san, this might take a while though. However,
I have talked with someone at the FSFE knowledgeable with open source
licenses and it looks like we actually don't need the copyright assignment
at all.
If we needed the copyright assignment, we'd probably need it from Renesas anyway and not from Yoshii-san directly as he wrote the patch while working
for Renesas who consequently are the copyright owners. And since Renesas already submitted their SH code to gcc, I assume they also already assigned
the FSF copyright assignment (if that's actually needed).
More updates coming soon.
Thanks,
Adrian
[1] https://github.com/glaubitz/binutils-gdb/tree/linux-sh
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer -
[email protected]
`. `' Freie Universitaet Berlin -
[email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Description: Add native support for Linux SH
Author: Takashi Yoshii <
[email protected]>
John Paul Adrian Glaubitz <
[email protected]>
Last-Update: 2017-02-07
--- gdb-7.12.orig/gdb/Makefile.in
+++ gdb-7.12/gdb/Makefile.in
@@ -1750,6 +1750,7 @@ ALLDEPFILES = \
score-tdep.c \
ser-go32.c ser-pipe.c ser-tcp.c ser-mingw.c \
sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \
+ sh-linux-nat.c sh-linux-tdep.c \
sol2-tdep.c \
solib-svr4.c \
sparc-linux-nat.c sparc-linux-tdep.c \
--- /dev/null
+++ gdb-7.12/gdb/config/sh/linux.mh
@@ -0,0 +1,14 @@
+# Host: Renesas Super-H running GNU/Linux
+
+NAT_FILE= nm-linux.h
+NATDEPFILES= inf-ptrace.o fork-child.o \
+ sh-linux-nat.o \
+ proc-service.o linux-thread-db.o \
+ linux-nat.o linux-osdata.o linux-fork.o linux-procfs.o linux-ptrace.o \ + linux-personality.o \
+ linux-waitpid.o linux-namespaces.o
+NAT_CDEPS = $(srcdir)/proc-service.list
+
+# The dynamically loaded libthread_db needs access to symbols in the
+# gdb executable.
+LOADLIBES = -ldl $(RDYNAMIC)
--- /dev/null
+++ gdb-7.12/gdb/config/sh/nm-linux.h
@@ -0,0 +1,54 @@
+/* Native-dependent definitions for SuperH running Linux, for GDB.