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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.python/] [py-frame.c] - Rev 841

Compare with Previous | Blame | View Log

int f2 (int a)
{
  return ++a;
}
 
int f1 (int a, int b)
{
  return f2(a) + b;
}
 
int block (void)
{
  int i = 99;
  {
    double i = 1.1;
    double f = 2.2;
    {
      const char *i = "stuff";
      const char *f = "foo";
      const char *b = "bar";
      return 0; /* Block break here.  */
    }
  }
}
 
int main (int argc, char *argv[])
{
  block ();
  return f1 (1, 2);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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