1 // OBSOLETE /* Support for printing Chill values for GDB, the GNU debugger.
2 // OBSOLETE Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
3 // OBSOLETE 1998, 2000, 2001
4 // OBSOLETE Free Software Foundation, Inc.
6 // OBSOLETE This file is part of GDB.
8 // OBSOLETE This program is free software; you can redistribute it and/or modify
9 // OBSOLETE it under the terms of the GNU General Public License as published by
10 // OBSOLETE the Free Software Foundation; either version 2 of the License, or
11 // OBSOLETE (at your option) any later version.
13 // OBSOLETE This program is distributed in the hope that it will be useful,
14 // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // OBSOLETE GNU General Public License for more details.
18 // OBSOLETE You should have received a copy of the GNU General Public License
19 // OBSOLETE along with this program; if not, write to the Free Software
20 // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
21 // OBSOLETE Boston, MA 02111-1307, USA. */
23 // OBSOLETE #include "defs.h"
24 // OBSOLETE #include "gdb_obstack.h"
25 // OBSOLETE #include "symtab.h"
26 // OBSOLETE #include "gdbtypes.h"
27 // OBSOLETE #include "valprint.h"
28 // OBSOLETE #include "expression.h"
29 // OBSOLETE #include "value.h"
30 // OBSOLETE #include "language.h"
31 // OBSOLETE #include "demangle.h"
32 // OBSOLETE #include "c-lang.h" /* For c_val_print */
33 // OBSOLETE #include "typeprint.h"
34 // OBSOLETE #include "ch-lang.h"
35 // OBSOLETE #include "annotate.h"
37 // OBSOLETE static void chill_print_value_fields (struct type *, char *,
38 // OBSOLETE struct ui_file *, int, int,
39 // OBSOLETE enum val_prettyprint, struct type **);
41 // OBSOLETE static void chill_print_type_scalar (struct type *, LONGEST,
42 // OBSOLETE struct ui_file *);
44 // OBSOLETE static void chill_val_print_array_elements (struct type *, char *,
45 // OBSOLETE CORE_ADDR, struct ui_file *,
46 // OBSOLETE int, int, int,
47 // OBSOLETE enum val_prettyprint);
50 // OBSOLETE /* Print integral scalar data VAL, of type TYPE, onto stdio stream STREAM.
51 // OBSOLETE Used to print data from type structures in a specified type. For example,
52 // OBSOLETE array bounds may be characters or booleans in some languages, and this
53 // OBSOLETE allows the ranges to be printed in their "natural" form rather than as
54 // OBSOLETE decimal integer values. */
56 // OBSOLETE static void
57 // OBSOLETE chill_print_type_scalar (struct type *type, LONGEST val, struct ui_file *stream)
59 // OBSOLETE switch (TYPE_CODE (type))
61 // OBSOLETE case TYPE_CODE_RANGE:
62 // OBSOLETE if (TYPE_TARGET_TYPE (type))
64 // OBSOLETE chill_print_type_scalar (TYPE_TARGET_TYPE (type), val, stream);
68 // OBSOLETE case TYPE_CODE_UNDEF:
69 // OBSOLETE case TYPE_CODE_PTR:
70 // OBSOLETE case TYPE_CODE_ARRAY:
71 // OBSOLETE case TYPE_CODE_STRUCT:
72 // OBSOLETE case TYPE_CODE_UNION:
73 // OBSOLETE case TYPE_CODE_ENUM:
74 // OBSOLETE case TYPE_CODE_FUNC:
75 // OBSOLETE case TYPE_CODE_INT:
76 // OBSOLETE case TYPE_CODE_FLT:
77 // OBSOLETE case TYPE_CODE_VOID:
78 // OBSOLETE case TYPE_CODE_SET:
79 // OBSOLETE case TYPE_CODE_STRING:
80 // OBSOLETE case TYPE_CODE_BITSTRING:
81 // OBSOLETE case TYPE_CODE_ERROR:
82 // OBSOLETE case TYPE_CODE_MEMBER:
83 // OBSOLETE case TYPE_CODE_METHOD:
84 // OBSOLETE case TYPE_CODE_REF:
85 // OBSOLETE case TYPE_CODE_CHAR:
86 // OBSOLETE case TYPE_CODE_BOOL:
87 // OBSOLETE case TYPE_CODE_COMPLEX:
88 // OBSOLETE case TYPE_CODE_TYPEDEF:
92 // OBSOLETE print_type_scalar (type, val, stream);
95 // OBSOLETE /* Print the elements of an array.
96 // OBSOLETE Similar to val_print_array_elements, but prints
97 // OBSOLETE element indexes (in Chill syntax). */
99 // OBSOLETE static void
100 // OBSOLETE chill_val_print_array_elements (struct type *type, char *valaddr,
101 // OBSOLETE CORE_ADDR address, struct ui_file *stream,
102 // OBSOLETE int format, int deref_ref, int recurse,
103 // OBSOLETE enum val_prettyprint pretty)
105 // OBSOLETE unsigned int i = 0;
106 // OBSOLETE unsigned int things_printed = 0;
107 // OBSOLETE unsigned len;
108 // OBSOLETE struct type *elttype;
109 // OBSOLETE struct type *range_type = TYPE_FIELD_TYPE (type, 0);
110 // OBSOLETE struct type *index_type = TYPE_TARGET_TYPE (range_type);
111 // OBSOLETE unsigned eltlen;
112 // OBSOLETE /* Position of the array element we are examining to see
113 // OBSOLETE whether it is repeated. */
114 // OBSOLETE unsigned int rep1;
115 // OBSOLETE /* Number of repetitions we have detected so far. */
116 // OBSOLETE unsigned int reps;
117 // OBSOLETE LONGEST low_bound = TYPE_FIELD_BITPOS (range_type, 0);
119 // OBSOLETE elttype = check_typedef (TYPE_TARGET_TYPE (type));
120 // OBSOLETE eltlen = TYPE_LENGTH (elttype);
121 // OBSOLETE len = TYPE_LENGTH (type) / eltlen;
123 // OBSOLETE annotate_array_section_begin (i, elttype);
125 // OBSOLETE for (; i < len && things_printed < print_max; i++)
127 // OBSOLETE if (i != 0)
129 // OBSOLETE if (prettyprint_arrays)
131 // OBSOLETE fprintf_filtered (stream, ",\n");
132 // OBSOLETE print_spaces_filtered (2 + 2 * recurse, stream);
136 // OBSOLETE fprintf_filtered (stream, ", ");
139 // OBSOLETE wrap_here (n_spaces (2 + 2 * recurse));
141 // OBSOLETE rep1 = i + 1;
142 // OBSOLETE reps = 1;
143 // OBSOLETE while ((rep1 < len) &&
144 // OBSOLETE !memcmp (valaddr + i * eltlen, valaddr + rep1 * eltlen, eltlen))
150 // OBSOLETE fputs_filtered ("(", stream);
151 // OBSOLETE chill_print_type_scalar (index_type, low_bound + i, stream);
152 // OBSOLETE if (reps > 1)
154 // OBSOLETE fputs_filtered (":", stream);
155 // OBSOLETE chill_print_type_scalar (index_type, low_bound + i + reps - 1,
157 // OBSOLETE fputs_filtered ("): ", stream);
158 // OBSOLETE val_print (elttype, valaddr + i * eltlen, 0, 0, stream, format,
159 // OBSOLETE deref_ref, recurse + 1, pretty);
161 // OBSOLETE i = rep1 - 1;
162 // OBSOLETE things_printed += 1;
166 // OBSOLETE fputs_filtered ("): ", stream);
167 // OBSOLETE val_print (elttype, valaddr + i * eltlen, 0, 0, stream, format,
168 // OBSOLETE deref_ref, recurse + 1, pretty);
169 // OBSOLETE annotate_elt ();
170 // OBSOLETE things_printed++;
173 // OBSOLETE annotate_array_section_end ();
174 // OBSOLETE if (i < len)
176 // OBSOLETE fprintf_filtered (stream, "...");
180 // OBSOLETE /* Print data of type TYPE located at VALADDR (within GDB), which came from
181 // OBSOLETE the inferior at address ADDRESS, onto stdio stream STREAM according to
182 // OBSOLETE FORMAT (a letter or 0 for natural format). The data at VALADDR is in
183 // OBSOLETE target byte order.
185 // OBSOLETE If the data are a string pointer, returns the number of string characters
188 // OBSOLETE If DEREF_REF is nonzero, then dereference references, otherwise just print
189 // OBSOLETE them like pointers.
191 // OBSOLETE The PRETTY parameter controls prettyprinting. */
194 // OBSOLETE chill_val_print (struct type *type, char *valaddr, int embedded_offset,
195 // OBSOLETE CORE_ADDR address, struct ui_file *stream, int format,
196 // OBSOLETE int deref_ref, int recurse, enum val_prettyprint pretty)
198 // OBSOLETE LONGEST val;
199 // OBSOLETE unsigned int i = 0; /* Number of characters printed. */
200 // OBSOLETE struct type *elttype;
201 // OBSOLETE CORE_ADDR addr;
203 // OBSOLETE CHECK_TYPEDEF (type);
205 // OBSOLETE switch (TYPE_CODE (type))
207 // OBSOLETE case TYPE_CODE_ARRAY:
208 // OBSOLETE if (TYPE_LENGTH (type) > 0 && TYPE_LENGTH (TYPE_TARGET_TYPE (type)) > 0)
210 // OBSOLETE if (prettyprint_arrays)
212 // OBSOLETE print_spaces_filtered (2 + 2 * recurse, stream);
214 // OBSOLETE fprintf_filtered (stream, "[");
215 // OBSOLETE chill_val_print_array_elements (type, valaddr, address, stream,
216 // OBSOLETE format, deref_ref, recurse, pretty);
217 // OBSOLETE fprintf_filtered (stream, "]");
221 // OBSOLETE error ("unimplemented in chill_val_print; unspecified array length");
225 // OBSOLETE case TYPE_CODE_INT:
226 // OBSOLETE format = format ? format : output_format;
227 // OBSOLETE if (format)
229 // OBSOLETE print_scalar_formatted (valaddr, type, format, 0, stream);
233 // OBSOLETE val_print_type_code_int (type, valaddr, stream);
237 // OBSOLETE case TYPE_CODE_CHAR:
238 // OBSOLETE format = format ? format : output_format;
239 // OBSOLETE if (format)
241 // OBSOLETE print_scalar_formatted (valaddr, type, format, 0, stream);
245 // OBSOLETE LA_PRINT_CHAR ((unsigned char) unpack_long (type, valaddr),
250 // OBSOLETE case TYPE_CODE_FLT:
251 // OBSOLETE if (format)
253 // OBSOLETE print_scalar_formatted (valaddr, type, format, 0, stream);
257 // OBSOLETE print_floating (valaddr, type, stream);
261 // OBSOLETE case TYPE_CODE_BOOL:
262 // OBSOLETE format = format ? format : output_format;
263 // OBSOLETE if (format)
265 // OBSOLETE print_scalar_formatted (valaddr, type, format, 0, stream);
269 // OBSOLETE /* FIXME: Why is this using builtin_type_chill_bool not type? */
270 // OBSOLETE val = unpack_long (builtin_type_chill_bool, valaddr);
271 // OBSOLETE fprintf_filtered (stream, val ? "TRUE" : "FALSE");
275 // OBSOLETE case TYPE_CODE_UNDEF:
276 // OBSOLETE /* This happens (without TYPE_FLAG_STUB set) on systems which don't use
277 // OBSOLETE dbx xrefs (NO_DBX_XREFS in gcc) if a file has a "struct foo *bar"
278 // OBSOLETE and no complete type for struct foo in that file. */
279 // OBSOLETE fprintf_filtered (stream, "<incomplete type>");
282 // OBSOLETE case TYPE_CODE_PTR:
283 // OBSOLETE if (format && format != 's')
285 // OBSOLETE print_scalar_formatted (valaddr, type, format, 0, stream);
288 // OBSOLETE addr = unpack_pointer (type, valaddr);
289 // OBSOLETE elttype = check_typedef (TYPE_TARGET_TYPE (type));
291 // OBSOLETE /* We assume a NULL pointer is all zeros ... */
292 // OBSOLETE if (addr == 0)
294 // OBSOLETE fputs_filtered ("NULL", stream);
295 // OBSOLETE return 0;
298 // OBSOLETE if (TYPE_CODE (elttype) == TYPE_CODE_FUNC)
300 // OBSOLETE /* Try to print what function it points to. */
301 // OBSOLETE print_address_demangle (addr, stream, demangle);
302 // OBSOLETE /* Return value is irrelevant except for string pointers. */
303 // OBSOLETE return (0);
305 // OBSOLETE if (addressprint && format != 's')
307 // OBSOLETE print_address_numeric (addr, 1, stream);
310 // OBSOLETE /* For a pointer to char or unsigned char, also print the string
311 // OBSOLETE pointed to, unless pointer is null. */
312 // OBSOLETE if (TYPE_LENGTH (elttype) == 1
313 // OBSOLETE && TYPE_CODE (elttype) == TYPE_CODE_CHAR
314 // OBSOLETE && (format == 0 || format == 's')
315 // OBSOLETE && addr != 0
316 // OBSOLETE && /* If print_max is UINT_MAX, the alloca below will fail.
317 // OBSOLETE In that case don't try to print the string. */
318 // OBSOLETE print_max < UINT_MAX)
319 // OBSOLETE i = val_print_string (addr, -1, TYPE_LENGTH (elttype), stream);
321 // OBSOLETE /* Return number of characters printed, plus one for the
322 // OBSOLETE terminating null if we have "reached the end". */
323 // OBSOLETE return (i + (print_max && i != print_max));
326 // OBSOLETE case TYPE_CODE_STRING:
327 // OBSOLETE i = TYPE_LENGTH (type);
328 // OBSOLETE LA_PRINT_STRING (stream, valaddr, i, 1, 0);
329 // OBSOLETE /* Return number of characters printed, plus one for the terminating
330 // OBSOLETE null if we have "reached the end". */
331 // OBSOLETE return (i + (print_max && i != print_max));
334 // OBSOLETE case TYPE_CODE_BITSTRING:
335 // OBSOLETE case TYPE_CODE_SET:
336 // OBSOLETE elttype = TYPE_INDEX_TYPE (type);
337 // OBSOLETE CHECK_TYPEDEF (elttype);
338 // OBSOLETE if (TYPE_STUB (elttype))
340 // OBSOLETE fprintf_filtered (stream, "<incomplete type>");
341 // OBSOLETE gdb_flush (stream);
345 // OBSOLETE struct type *range = elttype;
346 // OBSOLETE LONGEST low_bound, high_bound;
348 // OBSOLETE int is_bitstring = TYPE_CODE (type) == TYPE_CODE_BITSTRING;
349 // OBSOLETE int need_comma = 0;
351 // OBSOLETE if (is_bitstring)
352 // OBSOLETE fputs_filtered ("B'", stream);
354 // OBSOLETE fputs_filtered ("[", stream);
356 // OBSOLETE i = get_discrete_bounds (range, &low_bound, &high_bound);
357 // OBSOLETE maybe_bad_bstring:
358 // OBSOLETE if (i < 0)
360 // OBSOLETE fputs_filtered ("<error value>", stream);
361 // OBSOLETE goto done;
364 // OBSOLETE for (i = low_bound; i <= high_bound; i++)
366 // OBSOLETE int element = value_bit_index (type, valaddr, i);
367 // OBSOLETE if (element < 0)
369 // OBSOLETE i = element;
370 // OBSOLETE goto maybe_bad_bstring;
372 // OBSOLETE if (is_bitstring)
373 // OBSOLETE fprintf_filtered (stream, "%d", element);
374 // OBSOLETE else if (element)
376 // OBSOLETE if (need_comma)
377 // OBSOLETE fputs_filtered (", ", stream);
378 // OBSOLETE chill_print_type_scalar (range, (LONGEST) i, stream);
379 // OBSOLETE need_comma = 1;
381 // OBSOLETE /* Look for a continuous range of true elements. */
382 // OBSOLETE if (i + 1 <= high_bound && value_bit_index (type, valaddr, ++i))
384 // OBSOLETE int j = i; /* j is the upper bound so far of the range */
385 // OBSOLETE fputs_filtered (":", stream);
386 // OBSOLETE while (i + 1 <= high_bound
387 // OBSOLETE && value_bit_index (type, valaddr, ++i))
389 // OBSOLETE chill_print_type_scalar (range, (LONGEST) j, stream);
394 // OBSOLETE if (is_bitstring)
395 // OBSOLETE fputs_filtered ("'", stream);
397 // OBSOLETE fputs_filtered ("]", stream);
401 // OBSOLETE case TYPE_CODE_STRUCT:
402 // OBSOLETE if (chill_varying_type (type))
404 // OBSOLETE struct type *inner = check_typedef (TYPE_FIELD_TYPE (type, 1));
405 // OBSOLETE long length = unpack_long (TYPE_FIELD_TYPE (type, 0), valaddr);
406 // OBSOLETE char *data_addr = valaddr + TYPE_FIELD_BITPOS (type, 1) / 8;
408 // OBSOLETE switch (TYPE_CODE (inner))
410 // OBSOLETE case TYPE_CODE_STRING:
411 // OBSOLETE if (length > TYPE_LENGTH (type) - 2)
413 // OBSOLETE fprintf_filtered (stream,
414 // OBSOLETE "<dynamic length %ld > static length %d> *invalid*",
415 // OBSOLETE length, TYPE_LENGTH (type));
417 // OBSOLETE /* Don't print the string; doing so might produce a
418 // OBSOLETE segfault. */
419 // OBSOLETE return length;
421 // OBSOLETE LA_PRINT_STRING (stream, data_addr, length, 1, 0);
422 // OBSOLETE return length;
427 // OBSOLETE chill_print_value_fields (type, valaddr, stream, format, recurse, pretty,
431 // OBSOLETE case TYPE_CODE_REF:
432 // OBSOLETE if (addressprint)
434 // OBSOLETE fprintf_filtered (stream, "LOC(");
435 // OBSOLETE print_address_numeric
436 // OBSOLETE (extract_address (valaddr, TARGET_PTR_BIT / HOST_CHAR_BIT),
439 // OBSOLETE fprintf_filtered (stream, ")");
440 // OBSOLETE if (deref_ref)
441 // OBSOLETE fputs_filtered (": ", stream);
443 // OBSOLETE /* De-reference the reference. */
444 // OBSOLETE if (deref_ref)
446 // OBSOLETE if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_UNDEF)
448 // OBSOLETE struct value *deref_val =
450 // OBSOLETE (TYPE_TARGET_TYPE (type),
451 // OBSOLETE unpack_pointer (lookup_pointer_type (builtin_type_void),
452 // OBSOLETE valaddr),
454 // OBSOLETE val_print (VALUE_TYPE (deref_val),
455 // OBSOLETE VALUE_CONTENTS (deref_val),
457 // OBSOLETE VALUE_ADDRESS (deref_val), stream, format,
458 // OBSOLETE deref_ref, recurse + 1, pretty);
461 // OBSOLETE fputs_filtered ("???", stream);
465 // OBSOLETE case TYPE_CODE_ENUM:
466 // OBSOLETE c_val_print (type, valaddr, 0, address, stream, format,
467 // OBSOLETE deref_ref, recurse, pretty);
470 // OBSOLETE case TYPE_CODE_RANGE:
471 // OBSOLETE if (TYPE_TARGET_TYPE (type))
472 // OBSOLETE chill_val_print (TYPE_TARGET_TYPE (type), valaddr, 0, address, stream,
473 // OBSOLETE format, deref_ref, recurse, pretty);
476 // OBSOLETE case TYPE_CODE_MEMBER:
477 // OBSOLETE case TYPE_CODE_UNION:
478 // OBSOLETE case TYPE_CODE_FUNC:
479 // OBSOLETE case TYPE_CODE_VOID:
480 // OBSOLETE case TYPE_CODE_ERROR:
482 // OBSOLETE /* Let's defer printing to the C printer, rather than
483 // OBSOLETE print an error message. FIXME! */
484 // OBSOLETE c_val_print (type, valaddr, 0, address, stream, format,
485 // OBSOLETE deref_ref, recurse, pretty);
487 // OBSOLETE gdb_flush (stream);
488 // OBSOLETE return (0);
491 // OBSOLETE /* Mutually recursive subroutines of cplus_print_value and c_val_print to
492 // OBSOLETE print out a structure's fields: cp_print_value_fields and cplus_print_value.
494 // OBSOLETE TYPE, VALADDR, STREAM, RECURSE, and PRETTY have the
495 // OBSOLETE same meanings as in cplus_print_value and c_val_print.
497 // OBSOLETE DONT_PRINT is an array of baseclass types that we
498 // OBSOLETE should not print, or zero if called from top level. */
500 // OBSOLETE static void
501 // OBSOLETE chill_print_value_fields (struct type *type, char *valaddr,
502 // OBSOLETE struct ui_file *stream, int format, int recurse,
503 // OBSOLETE enum val_prettyprint pretty, struct type **dont_print)
505 // OBSOLETE int i, len;
506 // OBSOLETE int fields_seen = 0;
508 // OBSOLETE CHECK_TYPEDEF (type);
510 // OBSOLETE fprintf_filtered (stream, "[");
511 // OBSOLETE len = TYPE_NFIELDS (type);
512 // OBSOLETE if (len == 0)
514 // OBSOLETE fprintf_filtered (stream, "<No data fields>");
518 // OBSOLETE for (i = 0; i < len; i++)
520 // OBSOLETE if (fields_seen)
522 // OBSOLETE fprintf_filtered (stream, ", ");
524 // OBSOLETE fields_seen = 1;
525 // OBSOLETE if (pretty)
527 // OBSOLETE fprintf_filtered (stream, "\n");
528 // OBSOLETE print_spaces_filtered (2 + 2 * recurse, stream);
532 // OBSOLETE wrap_here (n_spaces (2 + 2 * recurse));
534 // OBSOLETE fputs_filtered (".", stream);
535 // OBSOLETE fprintf_symbol_filtered (stream, TYPE_FIELD_NAME (type, i),
536 // OBSOLETE language_chill, DMGL_NO_OPTS);
537 // OBSOLETE fputs_filtered (": ", stream);
538 // OBSOLETE if (TYPE_FIELD_PACKED (type, i))
540 // OBSOLETE struct value *v;
542 // OBSOLETE /* Bitfields require special handling, especially due to byte
543 // OBSOLETE order problems. */
544 // OBSOLETE v = value_from_longest (TYPE_FIELD_TYPE (type, i),
545 // OBSOLETE unpack_field_as_long (type, valaddr, i));
547 // OBSOLETE chill_val_print (TYPE_FIELD_TYPE (type, i), VALUE_CONTENTS (v), 0, 0,
548 // OBSOLETE stream, format, 0, recurse + 1, pretty);
552 // OBSOLETE chill_val_print (TYPE_FIELD_TYPE (type, i),
553 // OBSOLETE valaddr + TYPE_FIELD_BITPOS (type, i) / 8, 0,
554 // OBSOLETE 0, stream, format, 0, recurse + 1, pretty);
557 // OBSOLETE if (pretty)
559 // OBSOLETE fprintf_filtered (stream, "\n");
560 // OBSOLETE print_spaces_filtered (2 * recurse, stream);
563 // OBSOLETE fprintf_filtered (stream, "]");
567 // OBSOLETE chill_value_print (struct value *val, struct ui_file *stream, int format,
568 // OBSOLETE enum val_prettyprint pretty)
570 // OBSOLETE struct type *type = VALUE_TYPE (val);
571 // OBSOLETE struct type *real_type = check_typedef (type);
573 // OBSOLETE /* If it is a pointer, indicate what it points to.
575 // OBSOLETE Print type also if it is a reference. */
577 // OBSOLETE if (TYPE_CODE (real_type) == TYPE_CODE_PTR ||
578 // OBSOLETE TYPE_CODE (real_type) == TYPE_CODE_REF)
580 // OBSOLETE char *valaddr = VALUE_CONTENTS (val);
581 // OBSOLETE CORE_ADDR addr = unpack_pointer (type, valaddr);
582 // OBSOLETE if (TYPE_CODE (type) != TYPE_CODE_PTR || addr != 0)
585 // OBSOLETE char *name = TYPE_NAME (type);
586 // OBSOLETE if (name)
587 // OBSOLETE fputs_filtered (name, stream);
588 // OBSOLETE else if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_VOID)
589 // OBSOLETE fputs_filtered ("PTR", stream);
592 // OBSOLETE fprintf_filtered (stream, "(");
593 // OBSOLETE type_print (type, "", stream, -1);
594 // OBSOLETE fprintf_filtered (stream, ")");
596 // OBSOLETE fprintf_filtered (stream, "(");
597 // OBSOLETE i = val_print (type, valaddr, 0, VALUE_ADDRESS (val),
598 // OBSOLETE stream, format, 1, 0, pretty);
599 // OBSOLETE fprintf_filtered (stream, ")");
600 // OBSOLETE return i;
603 // OBSOLETE return (val_print (type, VALUE_CONTENTS (val), 0,
604 // OBSOLETE VALUE_ADDRESS (val), stream, format, 1, 0, pretty));
This page took 0.041094 seconds and 4 git commands to generate.