Subject: Re: ddd & gdb
To: Teemu Rinta-aho <teemu@rinta-aho.org>
From: John R. Shannon <john@johnrshannon.com>
List: current-users
Date: 12/31/2004 07:28:41
--nextPart3458222.2QS2oSZMAf
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

ddd --debugger /usr/pkg/bin/gbd ...

to select gdb6

On Friday 31 December 2004 06:08 am, you wrote:
> I installed gdb 6.2.1 from pkgsrc, but I can't see
> any difference in its operation to gdb 5.3 from netbsd src..
> gdb6 works alone but not with ddd.
>
> Any other good alternatives for ddd available? Is
> anyone else currently remote debugging netbsd?
> If, then what's your setup??
>
> Teemu
>
> John R. Shannon wrote:
> > After updating my system, I see the same problem as you.
> >
> > DDD does work with gdb from pkgsrc/devel/gdb6
> >
> > On Friday 31 December 2004 01:31 am, you wrote:
> >>I tried it and re-installed gdb & ddd, but it didn't change
> >>anything.
> >>
> >>I issued pr#28822.
> >>
> >>Teemu
> >>
> >>John R. Shannon wrote:
> >>>I thought the error was slightly different, but, you'll need:
> >>>
> >>>$ cvs diff
> >>>^Ccvs [diff aborted]: received interrupt signal
> >>>$ cvs diff gnu/usr.bin/gdb53/Makefile.inc
> >>>Index: gnu/usr.bin/gdb53/Makefile.inc
> >>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>RCS file: /cvsroot/src/gnu/usr.bin/gdb53/Makefile.inc,v
> >>>retrieving revision 1.1
> >>>diff -r1.1 Makefile.inc
> >>>3c3
> >>>< USE_LIBEDIT=3Dyes
> >>>---
> >>>
> >>>>USE_LIBEDIT=3Dno
> >>>
> >>>On Thursday 30 December 2004 07:35 am, Teemu Rinta-aho wrote:
> >>>>Hi all,
> >>>>
> >>>>while trying to start remote debugging on current
> >>>>(related to the VIA Rhine problems I've been complaining
> >>>>about) I found out that DDD doesn't work. GDB seems to
> >>>>work fine, but when running DDD, I get the following
> >>>>on the terminal:
> >>>>
> >>>>gdb: cannot set terminal foreground process group: Inappropriate ioctl
> >>>>for device
> >>>>
> >>>>This happens almost immediately when starting ddd,
> >>>>and it doesn't matter if I'm running it as the root
> >>>>or as a regular user.
> >>>>
> >>>>I wouldn't like to start doing "ddd ddd"..... :-)
> >>>>
> >>>>Teemu

=2D-=20
John R. Shannon
john@johnrshannon.com
john.r.shannon@saic.com
shannonjr@NetBSD.org

--nextPart3458222.2QS2oSZMAf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.14 (NetBSD)

iD8DBQBB1WIhOKbCxya4HYsRAttZAKC6+oziO6fHwjofEkyUlzzU9d5MOACdEZr9
r1fJqNoq3dJWUom1a9XjXus=
=lLBq
-----END PGP SIGNATURE-----

--nextPart3458222.2QS2oSZMAf--