From c68a6671d724482e3101ff3afc3effc928585cf9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 27 May 2005 04:39:33 +0000 Subject: 2005-05-27 Andrew Cagney * jv-lang.c (get_java_utf8_name): Add cast. (evaluate_subexp_java): Use gdb_byte for buffers. * jv-valprint.c (java_value_print, java_value_print): Use gdb_byte for buffers. * scm-lang.c (scm_get_field, scm_unpack) (scm_evaluate_string): Use gdb_byte for buffers. (scm_lookup_name): Add cast. * scm-valprint.c (scm_scmval_print, scm_scmval_print): Use gdb_byte for buffers. * tui/tui.h (tui_get_command_dimension): Make parameters unsigned. * tui/tui.c (tui_get_command_dimension): Make parameters unsigned. * value.h (check_field): Change "name" to a string. * valops.c (check_field): Change "name" to a string. * scm-lang.h (scm_parse): Use gdb_byte for buffers. * source.c (get_current_source_symtab_and_line) (set_current_source_symtab_and_line): Initialize all fields of sal structures. * cli/cli-cmds.c (list_command): Use gdb_byte for buffers. --- gdb/value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/value.h') diff --git a/gdb/value.h b/gdb/value.h index 2347dad..034bdc4 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -495,7 +495,7 @@ extern void print_variable_value (struct symbol *var, struct frame_info *frame, struct ui_file *stream); -extern int check_field (struct value *, const gdb_byte *); +extern int check_field (struct value *, const char *); extern void typedef_print (struct type *type, struct symbol *news, struct ui_file *stream); -- cgit v1.1