Re: [PATCH 1/2] Port gdbserver to GNU/Hurd

2013-09-19 Thread Yue Lu
Hi, On Wed, Sep 18, 2013 at 8:37 PM, Pedro Alves wrote: > On 09/12/2013 04:05 AM, Yue Lu wrote: > >> On Sat, Sep 7, 2013 at 2:53 AM, Pedro Alves wrote: >>> This is what I meant: >>> https://sourceware.org/ml/gdb-patches/2013-09/msg00253.html >>> >>> I was thinking you'd wrap gnu_xfer_memory. >>

FAIL: gdb.base/nextoverexit.exp: next over exit (the program exited) (was: [PATCH 1/2] Port gdbserver to GNU/Hurd)

2013-09-19 Thread Thomas Schwinge
Hi! On Thu, 19 Sep 2013 15:40:40 +0800, Yue Lu wrote: > On Wed, Sep 18, 2013 at 8:37 PM, Pedro Alves wrote: > > On 09/12/2013 04:05 AM, Yue Lu wrote: > > > >> On Sat, Sep 7, 2013 at 2:53 AM, Pedro Alves wrote: > >>> https://sourceware.org/ml/gdb-patches/2013-09/msg00253.html > First thank you

Re: FAIL: gdb.base/nextoverexit.exp: next over exit (the program exited)

2013-09-19 Thread Pedro Alves
On 09/19/2013 09:30 AM, Thomas Schwinge wrote: > Hi! > > On Thu, 19 Sep 2013 15:40:40 +0800, Yue Lu wrote: >> On Wed, Sep 18, 2013 at 8:37 PM, Pedro Alves wrote: >>> On 09/12/2013 04:05 AM, Yue Lu wrote: >>> On Sat, Sep 7, 2013 at 2:53 AM, Pedro Alves wrote: > https://sourceware.org/ml

Re: [COMMIT PATCH] [Hurd/gnu-nat] Fix old "signal-thread" command regression.

2013-09-19 Thread Thomas Schwinge
Hi Pedro! On Wed, 18 Sep 2013 13:01:39 +0100, Pedro Alves wrote: > By inspection, I noticed that when I made the gnu-nat use > ptid(pid,0,tid) to represent a thread, instead of using ptid(tid,0,0), > in , I > introduced a bug. > > The

Re: [PATCH 10/16] hurd: add fsys_get_children

2013-09-19 Thread Justus Winter
Quoting David Michael (2013-09-17 18:43:24) > Hi, > > On Tue, Jul 30, 2013 at 5:59 AM, Justus Winter > <4win...@informatik.uni-hamburg.de> wrote: > > * hurd/fsys.defs: Add fsys_get_children. > > * hurd/fsys_reply.defs: Add fsys_get_children. > > While trying to build the latest changes, this seem

[PATCH 3/5] sutils: set up /dev/null using /bin/nullpriv in MAKEDEV.sh

2013-09-19 Thread Justus Winter
This patch makes MAKEDEV.sh use the /bin/nullpriv wrapper so that the storeio translator serving /dev/null is started without any unix privileges. * sutils/MAKEDEV.sh (mkdev): Use /bin/nullpriv for /dev/null. --- sutils/MAKEDEV.sh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH 2/5] daemons: make sure /proc is properly set up

2013-09-19 Thread Justus Winter
This patch makes runsystem.sh check whether /proc is set up and does so using settrans -c if it is not. * daemons/runsystem.sh: Make sure /proc is set up. --- daemons/runsystem.sh |8 1 file changed, 8 insertions(+) diff --git a/daemons/runsystem.sh b/daemons/runsystem.sh index f4f2

[PATCH 1/5] daemons: make sure / is writable before setting up pflocal

2013-09-19 Thread Justus Winter
runsystem.sh checks whether /servers/socket/1 exists and creates it using settrans -c if it does not. But at this point in the boot the root filesystem is normally not writable. This patch fixes this. * daemons/runsystem.sh: Make sure / is writable before attempting to set up pflocal. --- daemo

[PATCH 5/5] hurd: add _reply suffix to the routines in fsys_reply.defs

2013-09-19 Thread Justus Winter
* hurd/fsys_reply.defs: Add _reply suffix. --- hurd/fsys_reply.defs |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hurd/fsys_reply.defs b/hurd/fsys_reply.defs index 2f5b035..89fb3a4 100644 --- a/hurd/fsys_reply.defs +++ b/hurd/fsys_reply.defs @@ -77,12 +77,12 @@ simpler

[PATCH 4/5] hurd: add _reply suffix to the routines in process_reply.defs

2013-09-19 Thread Justus Winter
* hurd/process_reply.defs: Add _reply suffix. --- hurd/process_reply.defs | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/hurd/process_reply.defs b/hurd/process_reply.defs index 66a7551..ed46d55 100644 --- a/hurd/process_reply.defs

Re: [PATCH 2/5] daemons: make sure /proc is properly set up

2013-09-19 Thread Ludovic Courtès
Justus Winter <4win...@informatik.uni-hamburg.de> skribis: > This patch makes runsystem.sh check whether /proc is set up and does > so using settrans -c if it is not. I think this should be a Debian patch rather, because while /proc is a useful Linux compatibility feature, it’s not a mandatory pa

Re: [PATCH 2/5] daemons: make sure /proc is properly set up

2013-09-19 Thread Justus Winter
Quoting Ludovic =?utf-8?Q?Court=C3=A8s?= (2013-09-19 12:19:00) > Justus Winter <4win...@informatik.uni-hamburg.de> skribis: > > > This patch makes runsystem.sh check whether /proc is set up and does > > so using settrans -c if it is not. > > I think this should be a Debian patch rather, because w

Re: [PATCH 2/5] daemons: make sure /proc is properly set up

2013-09-19 Thread Ludovic Courtès
Justus Winter <4win...@informatik.uni-hamburg.de> skribis: > Quoting Ludovic =?utf-8?Q?Court=C3=A8s?= (2013-09-19 12:19:00) >> Justus Winter <4win...@informatik.uni-hamburg.de> skribis: >> >> > This patch makes runsystem.sh check whether /proc is set up and does >> > so using settrans -c if it is

Re: [RFC] GDB Hurd Fixes

2013-09-19 Thread David Michael
Hi, (Copying gdb-patches this time.) Here is an updated patch to successfully build GDB after today's Hurd/mig changes. The awk script changes handle the "auto" keyword being dropped from mig output, and that an "#if TypeCheck" line appears before arg_check_name is defined in some new functions.