OLD | NEW |
1 /* m32r exception, interrupt, and trap (EIT) support | 1 /* m32r exception, interrupt, and trap (EIT) support |
2 Copyright (C) 1998, 2003, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 1998-2013 Free Software Foundation, Inc. |
3 Contributed by Cygnus Solutions. | 3 Contributed by Cygnus Solutions. |
4 | 4 |
5 This file is part of GDB, the GNU debugger. | 5 This file is part of GDB, the GNU debugger. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
11 | 11 |
12 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 /* Use cr5 as EVB (EIT Vector Base) register. */ | 190 /* Use cr5 as EVB (EIT Vector Base) register. */ |
191 USI new_pc = m32rbf_h_cr_get (current_cpu, 5) + 0x40 + num * 4; | 191 USI new_pc = m32rbf_h_cr_get (current_cpu, 5) + 0x40 + num * 4; |
192 return new_pc; | 192 return new_pc; |
193 } | 193 } |
194 } | 194 } |
195 | 195 |
196 /* Fake an "rte" insn. */ | 196 /* Fake an "rte" insn. */ |
197 /* FIXME: Should duplicate all of rte processing. */ | 197 /* FIXME: Should duplicate all of rte processing. */ |
198 return (pc & -4) + 4; | 198 return (pc & -4) + 4; |
199 } | 199 } |
OLD | NEW |