Bug#754292: gdb: target remote does not accept IPv6 only names
On Wednesday, July 09 2014, Michael Richardson wrote: > Dear Maintainer, > > I typed: > (gdb) target remote lac02.yarn.gatineau.credil.org:9979 > lac02.yarn.gatineau.credil.org: unknown host > lac02.yarn.gatineau.credil.org:9979: No such file or directory. > > but such a name does exist: > meech-[~] mcr 1009 %host lac02.yarn.gatineau.credil.org > lac02.yarn.gatineau.credil.org has IPv6 address 2001:4830:116e:1::148 > > it just doesn't have an A record, since, well.. that legacy v4 is no fun. > > I worked around by finding the numerical v4 address and using that. FWIW, I've pushed a patch upstream to implement IPv6 support for GDB and gdbserver today. https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c7ab0aef11d91b637bf091aa9176b8dc4aadee46 Cheers, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/ signature.asc Description: PGP signature
Bug#754292: gdb: target remote does not accept IPv6 only names
Package: gdb Version: 7.4.1+dfsg-0.1 Severity: normal Tags: ipv6 Dear Maintainer, I typed: (gdb) target remote lac02.yarn.gatineau.credil.org:9979 lac02.yarn.gatineau.credil.org: unknown host lac02.yarn.gatineau.credil.org:9979: No such file or directory. but such a name does exist: meech-[~] mcr 1009 %host lac02.yarn.gatineau.credil.org lac02.yarn.gatineau.credil.org has IPv6 address 2001:4830:116e:1::148 it just doesn't have an A record, since, well.. that legacy v4 is no fun. I worked around by finding the numerical v4 address and using that. -- System Information: Debian Release: 7.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages gdb depends on: ii gdbserver 7.4.1+dfsg-0.1 ii libc6 2.13-38+deb7u1 ii libexpat1 2.1.0-1+deb7u1 ii libncurses5 5.9-10 ii libpython2.7 2.7.3-6+deb7u2 ii libreadline6 6.2+dfsg-0.1 ii libtinfo5 5.9-10 ii zlib1g1:1.2.7.dfsg-13 gdb recommends no packages. Versions of packages gdb suggests: pn gdb-doc none -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org