update Chinese(Simplified) translation
[maemo-rb.git] / lib / unwarminder / backtrace.h
blob3bf3eb5aac65ac9a00eca527cd09285c190a673a
1 /***************************************************************************
2 * ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk
4 * This program is PUBLIC DOMAIN.
5 * This means that there is no copyright and anyone is able to take a copy
6 * for free and use it as they wish, with or without modifications, and in
7 * any context, commercially or otherwise. The only limitation is that I
8 * don't guarantee that the software is fit for any purpose or accept any
9 * liability for it's use or misuse - this software is without warranty.
10 ***************************************************************************
11 * File Description: Unwinder client that reads local memory.
12 **************************************************************************/
14 #ifndef CLIENT_H
15 #define CLIENT_H
17 /***************************************************************************
18 * Nested Includes
19 ***************************************************************************/
20 #include "config.h"
21 #include "system.h"
22 #include "lcd.h"
24 #include <stdio.h>
25 #include "unwarminder.h"
26 #include "get_sp.h"
27 #include "gcc_extensions.h"
29 #if defined(SIM_CLIENT)
30 #error This file is not for the simulated unwinder client
31 #endif
33 /***************************************************************************
34 * Typedefs
35 ***************************************************************************/
37 /** Example structure for holding unwind results.
39 typedef struct
41 Int16 frameCount;
42 Int32 address[32];
44 CliStack;
46 /***************************************************************************
47 * Variables
48 ***************************************************************************/
50 extern const UnwindCallbacks cliCallbacks;
52 void backtrace(int pcAddr, int spAddr, unsigned *line);
54 #endif
57 /* END OF FILE */