/* Support for printing Fortran types for GDB, the GNU debugger.
- Copyright (C) 1986, 1988, 1989, 1991, 1993, 1994, 1995, 1996, 1998, 2000,
- 2001, 2002, 2003, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 1986-2014 Free Software Foundation, Inc.
Contributed by Motorola. Adapted from the C version by Farooq Butt
(fmbutt@engage.sps.mot.com).
#include "target.h"
#include "f-lang.h"
-#include "gdb_string.h"
+#include <string.h>
#include <errno.h>
#if 0 /* Currently unused. */
void
f_print_type (struct type *type, const char *varstring, struct ui_file *stream,
- int show, int level)
+ int show, int level, const struct type_print_options *flags)
{
enum type_code code;
int demangled_args;
case TYPE_CODE_SET:
case TYPE_CODE_RANGE:
case TYPE_CODE_STRING:
- case TYPE_CODE_BITSTRING:
case TYPE_CODE_METHOD:
case TYPE_CODE_REF:
case TYPE_CODE_COMPLEX:
case TYPE_CODE_SET:
case TYPE_CODE_RANGE:
case TYPE_CODE_STRING:
- case TYPE_CODE_BITSTRING:
case TYPE_CODE_METHOD:
case TYPE_CODE_COMPLEX:
case TYPE_CODE_TYPEDEF:
break;
case TYPE_CODE_CHAR:
- /* Override name "char" and make it "character". */
- fprintfi_filtered (level, stream, "character");
- break;
-
case TYPE_CODE_INT:
/* There may be some character types that attempt to come
through as TYPE_CODE_INT since dbxstclass.h is so