/* wrstabs.c -- Output stabs debugging information
- Copyright 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GNU Binutils.
information. */
#include <stdio.h>
-#include <ctype.h>
#include <assert.h>
#include "bfd.h"
#include "bucomm.h"
#include "libiberty.h"
+#include "safe-ctype.h"
#include "debug.h"
#include "budbg.h"
case 2:
index = -22;
break;
-
+
default:
case 4:
index = -16;
}
return true;
-}
+}
/* Push a pointer type. */
/* Start outputting a struct. We ignore the tag, and handle it in
stab_tag. */
-/*ARGSUSED*/
static boolean
stab_start_struct_type (p, tag, id, structp, size)
PTR p;
kindstr = "";
/* Make sure that this is a type reference or definition. */
- if (! isdigit ((unsigned char) *s))
+ if (! ISDIGIT (*s))
{
char *n;
long index;
/* End a function. */
-/*ARGSUSED*/
static boolean
stab_end_function (p)
PTR p ATTRIBUTE_UNUSED;