gdb:
2015-03-20 Pedro Alves <palves@redhat.com>
* remote-m32r-sdi.c (m32r_open): Make "port_str" const.
2015-03-20 Pedro Alves <palves@redhat.com>
+ * remote-m32r-sdi.c (m32r_open): Make "port_str" const.
+
+2015-03-20 Pedro Alves <palves@redhat.com>
+
* nto-tdep.c (nto_find_and_open_solib): Make "endian" const.
(nto_init_solib_absolute_prefix): Likewise.
{
struct hostent *host_ent;
struct sockaddr_in server_addr;
- char *port_str, hostname[256];
+ char hostname[256];
+ const char *port_str;
int port;
int i, n;
int yes = 1;