1
/* Kernel debugger for MN10300
3
* Copyright (C) 2010 Red Hat, Inc. All Rights Reserved.
4
* Written by David Howells (dhowells@redhat.com)
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public Licence
8
* as published by the Free Software Foundation; either version
9
* 2 of the Licence, or (at your option) any later version.
16
* BUFMAX defines the maximum number of characters in inbound/outbound
17
* buffers at least NUMREGBYTES*2 are needed for register packets
18
* Longer buffer is needed to list all threads
23
* Note that this register image is in a different order than the register
24
* image that Linux produces at interrupt time.
69
#define GDB_ORIG_D0 41
70
#define NUMREGBYTES (GDB_FR_SIZE*4)
72
static inline void arch_kgdb_breakpoint(void)
74
asm(".globl __arch_kgdb_breakpoint; __arch_kgdb_breakpoint: break");
76
extern u8 __arch_kgdb_breakpoint;
78
#define BREAK_INSTR_SIZE 1
79
#define CACHE_FLUSH_IS_SAFE 1
81
#endif /* _ASM_KGDB_H */