gdb does not connect to IPv6 only remote target

Bug #1543052 reported by Seki, Tsutomu
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain
New
Undecided
Unassigned

Bug Description

I'm trying to connect to remote target that has only IPv6(Link-Local) address;
> $ getent hosts hogehoge.local
> fe80::XXXX:XXff:feXX:XXXX hogehoge.local

but it fails after few seconds delay;
> (gdb) target remote hogehoge.local:2159
> hogehoge.local:2159: Connection timed out.

- release version: 5-2015-q4-major
- host machine: Ubuntu 14.04.3

Thanks in advance!

Revision history for this message
Seki, Tsutomu (sekiriki) wrote :
Revision history for this message
Andre Vieira (andre-simoesdiasvieira) wrote :

Hi Seki,

Thank you for reporting this bug.

Feel free to submit your patch to <email address hidden>, it will be reviewed upstream and if Ok commited and we will then be able to include it in our toolchain.

Cheers,
Andre

Revision history for this message
Seki, Tsutomu (sekiriki) wrote :

Hi Andre,

Thank you for your advice.

I'm feeling afraid to submit the patch to upstream, because I only have tested;
 - to build on ubuntu targeting arm-none-eabi,
 - and to run it on ubuntu,
while gdb supports a lot of hosts and targets, and cross-compilation hosts.
I'm not so sure if it works properly on different hosts, or for different targets.

I think I should prove the patch works at least for this package before submitting to upstream.
Could anyone help me to try or review the patch?

Regards,
sekiriki

Revision history for this message
Andre Vieira (andre-simoesdiasvieira) wrote :

Hi Seki,

You dont need to be afraid of submitting the patch upstream. As long as you clearly state what your initial issue was, which seems quite clear to me and say that you have only tested it on "x" and "y" thats fine. The maintainers upstream will review the patch and help with the testing too if needed.

Maybe this link will be of some help: http://www.gnu.org/software/gdb/contribute/

Cheers,
Andre

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.