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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.base/] [solib-symbol-main.c] - Blame information for rev 25

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 jlechner
/* Copyright 2007, 2008 Free Software Foundation, Inc.
2
   This program is free software; you can redistribute it and/or modify
3
   it under the terms of the GNU General Public License as published by
4
   the Free Software Foundation; either version 3 of the License, or
5
   (at your option) any later version.
6
 
7
   This program is distributed in the hope that it will be useful,
8
   but WITHOUT ANY WARRANTY; without even the implied warranty of
9
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
   GNU General Public License for more details.
11
 
12
   You should have received a copy of the GNU General Public License
13
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
14
 
15
   Contributed by Markus Deuling <deuling@de.ibm.com>.
16
*/
17
#include <stdio.h>
18
 
19
extern void foo();
20
void foo3();
21
void foo2();
22
 
23
int main ()
24
{
25
  printf ("in main\n");
26
  foo ();
27
  foo3 ();
28
  return 0;
29
}
30
 
31
void foo3()
32
{
33
  printf ("foo3 in main\n");
34
  return;
35
}
36
 
37
void foo2()
38
{
39
  printf ("foo2 in main\n");
40
  return;
41
}
42
 

powered by: WebSVN 2.1.0

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