Hi all,

This is my patch to port gdbserver to GNU/Hurd. Most of code are
copied  from [gdb]/gdb/gnu-nat.c.
Now the gdbserver on GNU/Hurd can set breakpoint and check memory or
register(but without float-register support).

You can also view the code on my github.
https://github.com/hacklu/gdbserver.git under branch gdbserver.

Very glad for your comment.

2013-09-03  Yue Lu  <hacklu.newb...@gmail.com>

        * configure.tgt: Set build_gdbserver=yes for GNU/Hurd
        hosts.
        * configure: Regenerate.

diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index b0bee47..3eb2ff7 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -231,6 +231,7 @@ i[34567]86-*-linux*)
 i[34567]86-*-gnu*)
  # Target: Intel 386 running the GNU Hurd
  gdb_target_obs="i386-tdep.o i387-tdep.o i386gnu-tdep.o solib-svr4.o"
+ build_gdbserver=yes
  ;;
 i[34567]86-*-cygwin*)
  # Target: Intel 386 running win32


--
Yue Lu (陆岳)

Reply via email to