This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] remote debugging patches
Andreas Schwab wrote:
> Why are you truncating the name to 100 characters?
It is just an informational message and 100 chars shoud be enough almost
everytime.
1) IPv4 (or IPv6 sometime in the future) address can't be as long.
2) I didn't expect to have a resolved domainname such long.
3) Neither serial port names are so long.
4) I take care about buffer-overruns using snprintf.
Should I change it?
Michal Ludvig
--
* SuSE CR, s.r.o * mludvig@suse.cz
* +420 2 9654 5373 * http://www.suse.cz