summaryrefslogtreecommitdiff
path: root/gdb/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r--gdb/exceptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/exceptions.h b/gdb/exceptions.h
index d6c4ffcebcf..e062b1860db 100644
--- a/gdb/exceptions.h
+++ b/gdb/exceptions.h
@@ -59,7 +59,7 @@ struct exception
{
enum return_reason reason;
enum errors error;
- char *message;
+ const char *message;
};
/* A pre-defined non-exception. */