* remote.c (remote_write_bytes): Take a const buffer argument.
[deliverable/binutils-gdb.git] / gdb / m2-lang.c
index 116e678b42a39b4ed10544bc2aab33b2c5e4b130..7bf8fa3b10b7bfc08a57cc1e9d3b00adf68428ed 100644 (file)
@@ -1,6 +1,6 @@
 /* Modula 2 language support routines for GDB, the GNU debugger.
 
-   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2002, 2003,
+   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2002, 2003,
    2004, 2005 Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -17,8 +17,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
 #include "defs.h"
 #include "symtab.h"
@@ -107,7 +107,7 @@ m2_printchar (int c, struct ui_file *stream)
    be replaced with a true Modula version. */
 
 static void
-m2_printstr (struct ui_file *stream, const bfd_byte *string,
+m2_printstr (struct ui_file *stream, const gdb_byte *string,
             unsigned int length, int width, int force_ellipses)
 {
   unsigned int i;
@@ -437,6 +437,7 @@ const struct language_defn m2_language_defn =
   &builtin_type_m2_char,       /* Type of string elements */
   default_word_break_characters,
   NULL, /* FIXME: la_language_arch_info.  */
+  default_print_array_index,
   LANG_MAGIC
 };
 
This page took 0.02382 seconds and 4 git commands to generate.