Unix

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • gdbserver for GNU/Hurd

    5 answers - 658 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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
    Bug-hurd mailing list
    Bug-hurd (AT) gnu (DOT) org
    PGP SIGNATURE
    Version: GnuPG v1.4.2.2 (GNU/Linux)
    2nqE8C/R15WbN+mprNsK8+I=
    =4gmg
    PGP SIGNATURE
  • No.1 | | 712 bytes | |

    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

    Bug-hurd mailing list
    Bug-hurd (AT) gnu (DOT) org

    PGP SIGNATURE
    Version: GnuPG v1.4.2.2 (GNU/Linux)

    ddhz3QRiPzJ9Er8zw6MFwSM=
    =TG8n
    PGP SIGNATURE
  • No.2 | | 808 bytes | |

    Date: Sat, 23 Dec 2006 12:10:22 +0100
    From: Thomas Schwinge <tschwinge (AT) gnu (DOT) 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

    Bug-hurd mailing list
    Bug-hurd (AT) gnu (DOT) org
  • No.3 | | 857 bytes | |

    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.
  • No.4 | | 1294 bytes | |

    Daniel Jacobowitz wrote:
    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)

    Bug-hurd mailing list
    Bug-hurd (AT) gnu (DOT) org
  • No.5 | | 371 bytes | |

    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.

Re: gdbserver for GNU/Hurd


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "Unix"

EMSDN.COM