aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_test.h
blob: b8e663440fcf74791bb2ed29c0a1b1198b1cb091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/** @file debug_test.h
 *  @brief C header file for debugger test routines
 *
 */

/* Copyright (C) 2007-2010 the NxOS developers
 *
 * Module Developed by: TC Wan <tcwan@cs.usm.my>
 *
 * See AUTHORS for a full list of the developers.
 *
 * See COPYING for redistribution license
 *
 */

#ifndef __DEBUG_TEST_H__
#define __DEBUG_TEST_H__

#include "_c_arm_macros.h"

#ifndef __ASSEMBLY__

/* Define C stuff */
/** @defgroup debug_public */
/*@{*/

/**
 * Insert ARM Breakpoint instruction into code stream
 */
FUNCDEF void dbg__test_arm_bkpt(void);
/**
 * Insert Thumb Breakpoint instruction into code stream
 */
FUNCDEF void dbg__test_thumb_bkpt(void);

/**
 * Dummy function for testing ARM instruction stepping
 */
FUNCDEF void dbg__test_arm_instrstep(void);
/**
 * Dummy function for testing Thumb instruction stepping
 */
FUNCDEF void dbg__test_thumb_instrstep(void);

 /*@}*/

#endif


#endif /* __DEBUG_TEST_H__ */