mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-17 18:43:25 +08:00
constify remote-m32r-sdi.c
gdb: 2015-03-20 Pedro Alves <palves@redhat.com> * remote-m32r-sdi.c (m32r_open): Make "port_str" const.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2015-03-20 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* nto-tdep.c (nto_find_and_open_solib): Make "endian" const.
|
* nto-tdep.c (nto_find_and_open_solib): Make "endian" const.
|
||||||
|
@ -362,7 +362,8 @@ m32r_open (const char *args, int from_tty)
|
|||||||
{
|
{
|
||||||
struct hostent *host_ent;
|
struct hostent *host_ent;
|
||||||
struct sockaddr_in server_addr;
|
struct sockaddr_in server_addr;
|
||||||
char *port_str, hostname[256];
|
char hostname[256];
|
||||||
|
const char *port_str;
|
||||||
int port;
|
int port;
|
||||||
int i, n;
|
int i, n;
|
||||||
int yes = 1;
|
int yes = 1;
|
||||||
|
Reference in New Issue
Block a user