OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [libiberty/] [cplus-dem.c] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 50... Line 50...
#include <stdio.h>
#include <stdio.h>
 
 
#ifdef HAVE_STDLIB_H
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#include <stdlib.h>
#else
#else
char * malloc ();
void * malloc ();
char * realloc ();
void * realloc ();
#endif
#endif
 
 
#include <demangle.h>
#include <demangle.h>
#undef CURRENT_DEMANGLING_STYLE
#undef CURRENT_DEMANGLING_STYLE
#define CURRENT_DEMANGLING_STYLE work->options
#define CURRENT_DEMANGLING_STYLE work->options
Line 982... Line 982...
  for (i = 0; demangled[i] != '\0'; i += 1)
  for (i = 0; demangled[i] != '\0'; i += 1)
    if (ISUPPER ((unsigned char)demangled[i]) || demangled[i] == ' ')
    if (ISUPPER ((unsigned char)demangled[i]) || demangled[i] == ' ')
      goto Suppress;
      goto Suppress;
 
 
  if (! changed)
  if (! changed)
 
    {
 
      free (demangled);
    return NULL;
    return NULL;
 
    }
  else
  else
    return demangled;
    return demangled;
 
 
 Suppress:
 Suppress:
  grow_vect (&demangled,
  grow_vect (&demangled,

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.