List Info

Thread: gdbserver for GNU/Hurd




gdbserver for GNU/Hurd
user name
2006-12-23 11:10:22
Hello!

Has anyone ever worked on porting the GDB distribution's
gdbserver to
GNU/Hurd?

In case you don't know: this would allow for debugging
programs on
GNU/Hurd systems using a cross debugger running on another
system (e.g. a
non GNU/Hurd one).  This is of advantage if you're cross
compiling and
then don't have to copy the source files to the target
system for using
gdb locally on there.


Regards,
 Thomas
gdbserver for GNU/Hurd
user name
2006-12-23 14:56:17
If you have any reports about gdbserver not working on
GNU/Hurd then
report them here so that they can be fixed.
gdbserver for GNU/Hurd
user name
2006-12-23 15:14:45
On Sat, Dec 23, 2006 at 03:56:17PM +0100, Alfred M. Szmidt
wrote:
> If you have any reports about gdbserver not working on
GNU/Hurd then
> report them here so that they can be fixed.

Uhm, that's exactly what I did in my original email, you may
want to
re-read it:

| Has anyone ever worked on porting the GDB distribution's
gdbserver to
| GNU/Hurd?

#v+
$ ../configure
[...]
Error: target not supported by gdbserver.
$ ../../../config.guess 
i686-unknown-gnu0.3
#v-


 Thomas
gdbserver for GNU/Hurd
user name
2006-12-23 15:31:55
> Date: Sat, 23 Dec 2006 12:10:22 +0100
> From: Thomas Schwinge <tschwingegnu.org>
> 
> Hello!
> 
> Has anyone ever worked on porting the GDB
distribution's gdbserver to
> GNU/Hurd?

I'm pretty sure the answer to that question is no.

> In case you don't know: this would allow for debugging
programs on
> GNU/Hurd systems using a cross debugger running on
another system (e.g. a
> non GNU/Hurd one).  This is of advantage if you're
cross compiling and
> then don't have to copy the source files to the target
system for using
> gdb locally on there.

But it'd be difficult to have access to all the advanced
features a
native GNU/Hurd GDB offers.

Mark
gdbserver for GNU/Hurd
user name
2006-12-23 21:22:45
On Sat, Dec 23, 2006 at 04:31:55PM +0100, Mark Kettenis
wrote:
> > Has anyone ever worked on porting the GDB
distribution's gdbserver to
> > GNU/Hurd?
> 
> I'm pretty sure the answer to that question is no.

As far as I know.

> > In case you don't know: this would allow for
debugging programs on
> > GNU/Hurd systems using a cross debugger running on
another system (e.g. a
> > non GNU/Hurd one).  This is of advantage if you're
cross compiling and
> > then don't have to copy the source files to the
target system for using
> > gdb locally on there.
> 
> But it'd be difficult to have access to all the
advanced features a
> native GNU/Hurd GDB offers.

It shouldn't be hard to add anything necessary to the remote
protocol
and if anyone was interested in working on it I'd be glad to
offer
advice.

-- 
Daniel Jacobowitz
CodeSourcery
gdbserver for GNU/Hurd
user name
2006-12-27 18:25:42
Daniel Jacobowitz wrote:
> On Sat, Dec 23, 2006 at 04:31:55PM +0100, Mark Kettenis
wrote:
>   
>>> Has anyone ever worked on porting the GDB
distribution's gdbserver to
>>> GNU/Hurd?
>>>       
>> I'm pretty sure the answer to that question is no.
>>     
>
> As far as I know.
>
>   
>>> In case you don't know: this would allow for
debugging programs on
>>> GNU/Hurd systems using a cross debugger running
on another system (e.g. a
>>> non GNU/Hurd one).  This is of advantage if
you're cross compiling and
>>> then don't have to copy the source files to the
target system for using
>>> gdb locally on there.
>>>       
>> But it'd be difficult to have access to all the
advanced features a
>> native GNU/Hurd GDB offers.
>>     
>
> It shouldn't be hard to add anything necessary to the
remote protocol
> and if anyone was interested in working on it I'd be
glad to offer
> advice.
>   
I'm looking at this just for "fun".  Should we add
our own hurd-i386-foo 
files or gnu-i386-foo, or try to shoehorn our stuff into
using something 
like linux-i386-low?

Thanks,

Barry deFreese (aka bddebian)
gdbserver for GNU/Hurd
user name
2006-12-28 01:53:46
On Wed, Dec 27, 2006 at 01:25:42PM -0500, Barry deFreese
wrote:
> I'm looking at this just for "fun".  Should
we add our own hurd-i386-foo 
> files or gnu-i386-foo, or try to shoehorn our stuff
into using something 
> like linux-i386-low?

You probably want a gnu-i386-low.c.  I don't think you'll be
able to
share much with the Linux support at all.

-- 
Daniel Jacobowitz
CodeSourcery
[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )