This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Const val_print_type_code_int


fyi,
Andrew
2005-01-28  Andrew Cagney  <cagney@gnu.org>

	* valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
	* valprint.h (val_print_type_code_int): Ditto.

Index: valprint.c
===================================================================
RCS file: /cvs/src/src/gdb/valprint.c,v
retrieving revision 1.38
diff -p -u -r1.38 valprint.c
--- valprint.c	28 Jan 2005 16:45:16 -0000	1.38
+++ valprint.c	28 Jan 2005 23:41:43 -0000
@@ -177,7 +177,7 @@ value_print (struct value *val, struct u
    value.  STREAM is where to print the value.  */
 
 void
-val_print_type_code_int (struct type *type, char *valaddr,
+val_print_type_code_int (struct type *type, const bfd_byte *valaddr,
 			 struct ui_file *stream)
 {
   if (TYPE_LENGTH (type) > sizeof (LONGEST))
Index: valprint.h
===================================================================
RCS file: /cvs/src/src/gdb/valprint.h,v
retrieving revision 1.7
diff -p -u -r1.7 valprint.h
--- valprint.h	28 Jan 2005 16:23:51 -0000	1.7
+++ valprint.h	28 Jan 2005 23:41:43 -0000
@@ -54,7 +54,7 @@ extern void val_print_array_elements (st
 				      struct ui_file *, int, int, int,
 				      enum val_prettyprint, unsigned int);
 
-extern void val_print_type_code_int (struct type *, char *,
+extern void val_print_type_code_int (struct type *, const bfd_byte *,
 				     struct ui_file *);
 
 extern void print_binary_chars (struct ui_file *, const bfd_byte *,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]