From 340c96cd70b32222493acc15945fcec6c8e70a45 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 18 Jan 2017 23:34:17 +0000 Subject: [PATCH] - gdb_stub: removed static vars git-svn-id: http://moon:8086/svn/mips@102 a8ebac50-d88d-4704-bea3-6648445a41b3 --- src/libsys/gdb_stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsys/gdb_stub.c b/src/libsys/gdb_stub.c index 7e6b153..f5bc6bd 100644 --- a/src/libsys/gdb_stub.c +++ b/src/libsys/gdb_stub.c @@ -280,7 +280,7 @@ putpacket (unsigned char *buffer) /* Indicate to caller of mem2hex or hex2mem that there has been an error. */ -static volatile int mem_err = 0; +const int mem_err = 0; /* Convert the memory pointed to by mem into hex, placing result in buf. * Return a pointer to the last char put in buf (null), in case of mem fault,