From b315da3853fec493caab23b17343da91c72366f3 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 14 Jan 2005 02:33:24 +0000 Subject: 2005-01-13 Andrew Cagney * exceptions.h (struct exception): Make message const. * mi/mi-main.c (mi_execute_command): Pass result.message directly to fputstr_unfiltered. --- gdb/exceptions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/exceptions.h') diff --git a/gdb/exceptions.h b/gdb/exceptions.h index d6c4ffc..e062b18 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. */ -- cgit v1.1