| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH v2] MIPS: microMIPS: Add breakpoints. |
| From: | "Steven J. Hill" <sjhill@mips.com> |
| Date: | Sat, 12 Jan 2013 17:38:06 -0600 |
| Cc: | "Steven J. Hill" <sjhill@mips.com>, ralf@linux-mips.org |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: "Steven J. Hill" <sjhill@mips.com> Redefine BRK_BUG and BRK_KDB values for a pure microMIPS kernel. Signed-off-by: Steven J. Hill <sjhill@mips.com> --- arch/mips/include/asm/break.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/include/asm/break.h b/arch/mips/include/asm/break.h index 9161e68..487feb8 100644 --- a/arch/mips/include/asm/break.h +++ b/arch/mips/include/asm/break.h @@ -27,9 +27,16 @@ #define BRK_STACKOVERFLOW 9 /* For Ada stackchecking */ #define BRK_NORLD 10 /* No rld found - not used by Linux/MIPS */ #define _BRK_THREADBP 11 /* For threads, user bp (used by debuggers) */ + +#ifdef CONFIG_CPU_MICROMIPS +#define BRK_BUG 12 /* Used by BUG() */ +#define BRK_KDB 13 /* Used in KDB_ENTER() */ +#define BRK_MEMU 14 /* Used by FPU emulator */ +#else #define BRK_BUG 512 /* Used by BUG() */ #define BRK_KDB 513 /* Used in KDB_ENTER() */ #define BRK_MEMU 514 /* Used by FPU emulator */ +#endif #define BRK_KPROBE_BP 515 /* Kprobe break */ #define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ #define BRK_MULOVF 1023 /* Multiply overflow */ -- 1.7.9.5 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v4] MIPS: Add option to disable software I/O coherency., Steven J. Hill |
|---|---|
| Next by Date: | [PATCH v100,03/13] MIPS: microMIPS: Floating point support for 16-bit instructions., Steven J. Hill |
| Previous by Thread: | [PATCH v4] MIPS: Add option to disable software I/O coherency., Steven J. Hill |
| Next by Thread: | [PATCH v100,03/13] MIPS: microMIPS: Floating point support for 16-bit instructions., Steven J. Hill |
| Indexes: | [Date] [Thread] [Top] [All Lists] |