diff options
-rw-r--r-- | libgloss/ChangeLog | 7 | ||||
-rw-r--r-- | libgloss/debug.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index e580b75e2..3970e5abd 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,4 +1,9 @@ -2002-04-17 Joel Sherrill <joel@OARcorp.com> +2002-04-17 Joel Sherrill <joel@OARcorp.com> + + * debug.h: Change mem_err to volatile to match definition in + debug.c. + +2002-04-17 Joel Sherrill <joel@OARcorp.com> * sparc/cygmon-salib.c, sparc/erc32-stub.c: Don't use multi-line strings. diff --git a/libgloss/debug.h b/libgloss/debug.h index 95353418e..9a78076d2 100644 --- a/libgloss/debug.h +++ b/libgloss/debug.h @@ -77,7 +77,7 @@ extern char *gdb_set(char *); /* Q - set value */ * indicate to caller of mem2hex or hex2mem that there has been an error. * 0 means ok, 1 means error */ -extern int mem_err; +extern volatile int mem_err; /* * indicate whether the debug vectors have been initialized |