Re: remote debugging stubs (gdb problems)

2003-09-08 Thread Greg Buchholz
On Mon, 8 Sep 2003, Marco Gerards wrote: > > #boot -D/cdrom servers.boot /dev/hd2 > > That's seems correct to me. Using "-d" to pause seems a good idea > here. (That's what I meant with the pause to attach). Okay, when I attach to the boot process, I can set breakpoints fine, but when I

Re: remote debugging stubs (neighbourhurds)

2003-09-08 Thread Greg Buchholz
On Tue, 9 Sep 2003, Marcus Brinkmann wrote: > On Mon, Sep 08, 2003 at 11:10:35PM +0200, Marco Gerards wrote: > > > > This is weird. Is /hurd/exec on the fs. Is there a /server/* ? Attach > > gdb to the fs. to see what it its loading. Yes, there is a /hurd/exec, and I have a /server direc

Re: remote debugging stubs (neighbourhurds)

2003-09-08 Thread Marcus Brinkmann
On Mon, Sep 08, 2003 at 11:10:35PM +0200, Marco Gerards wrote: > > /hurd/iso9660fs.statis --multi-boot-command yada,yada,yada > > /hurd/ld.so.1 /hurd/exec > > bye > > This is weird. Is /hurd/exec on the fs. Is there a /server/* ? Attach > gdb to the fs. to see what it its loading. Well, one thin

Re: remote debugging stubs (neighbourhurds)

2003-09-08 Thread Marco Gerards
Greg Buchholz <[EMAIL PROTECTED]> writes: > On Mon, 8 Sep 2003, Marcus Brinkmann wrote: > > The way you'd normally do that is using the "boot" command and booting a > > second Hurd system in parallel to the first one. Then you can attach gdb to > > the processes inside the second Hurd. > >

Re: remote debugging stubs

2003-09-08 Thread Marcus Brinkmann
On Mon, Sep 08, 2003 at 05:02:15PM +0100, Greg Buchholz wrote: > > Has anyone out there ever used a serial console for debugging a > hurd translator at boot time? I'm looking for the gdb debug stub > functions (getDebugChar, exceptionHandler, etc) that can be used before > the hurd is up an

Re: remote debugging stubs (neighbourhurds)

2003-09-08 Thread Greg Buchholz
On Mon, 8 Sep 2003, Marcus Brinkmann wrote: > The way you'd normally do that is using the "boot" command and booting a > second Hurd system in parallel to the first one. Then you can attach gdb to > the processes inside the second Hurd. I tried the "boot" command, but my setup didn't fail

Re: remote debugging stubs

2003-09-08 Thread Marco Gerards
Greg Buchholz <[EMAIL PROTECTED]> writes: > Has anyone out there ever used a serial console for debugging a > hurd translator at boot time? I'm looking for the gdb debug stub > functions (getDebugChar, exceptionHandler, etc) that can be used before > the hurd is up and running (and after Ma

remote debugging stubs

2003-09-08 Thread Greg Buchholz
Has anyone out there ever used a serial console for debugging a hurd translator at boot time? I'm looking for the gdb debug stub functions (getDebugChar, exceptionHandler, etc) that can be used before the hurd is up and running (and after Mach boots). Specifically, I want to attach to an