Imported Upstream version 2.9.0
[debian/cc1111] / device / include / pic16 / gstack.h
1 /*-------------------------------------------------------------------------
2
3    gstack.h :- debug stack tracing header
4
5    Written for pic16 port by Vangelis Rokas, 2004 (vrokas@otenet.gr)
6
7    This library is free software; you can redistribute it and/or modify it
8    under the terms of the GNU Library General Public License as published by the
9    Free Software Foundation; either version 2, or (at your option) any
10    later version.
11
12    This library is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU Library General Public License for more details.
16
17    You should have received a copy of the GNU Library General Public License
18    along with this program; if not, write to the Free Software
19    Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21    In other words, you are welcome to use, share and improve this program.
22    You are forbidden to forbid anyone else to use, share and improve
23    what you give them.   Help stamp out software-hoarding!
24 -------------------------------------------------------------------------*/
25 /*
26 ** $Id: gstack.h 3648 2005-01-22 18:02:16Z vrokas $
27 */
28
29 #ifndef __PIC16_GSTACK_H__
30 #define __PIC16_GSTACK_H__
31
32 /* link the debug library */
33 #pragma library debug
34
35 extern void (* _gstack_overflow_handler)(void);
36
37 #endif  /* __PIC16_GSTACK_H__ */