From 84462018f37ada6ef190368f69f0997396e34d02 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 17 Apr 2002 19:10:37 +0000 Subject: [PATCH] 2002-04-17 Joel Sherrill * debug.h: Change mem_err to volatile to match definition in debug.c. --- libgloss/ChangeLog | 7 ++++++- 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 +2002-04-17 Joel Sherrill + + * debug.h: Change mem_err to volatile to match definition in + debug.c. + +2002-04-17 Joel Sherrill * 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