diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-14 02:33:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-14 02:33:24 +0000 |
commit | b315da3853fec493caab23b17343da91c72366f3 (patch) | |
tree | 436f2f6a7281028b3a5b7981b88add3867802fce /gdb/exceptions.h | |
parent | cbd3c883c0326107acb4ceec933aa598439e6f74 (diff) | |
download | gdb-b315da3853fec493caab23b17343da91c72366f3.zip gdb-b315da3853fec493caab23b17343da91c72366f3.tar.gz gdb-b315da3853fec493caab23b17343da91c72366f3.tar.bz2 |
2005-01-13 Andrew Cagney <cagney@gnu.org>
* exceptions.h (struct exception): Make message const.
* mi/mi-main.c (mi_execute_command): Pass result.message directly
to fputstr_unfiltered.
Diffstat (limited to 'gdb/exceptions.h')
-rw-r--r-- | gdb/exceptions.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |