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 Renesas. | 3 Contributed by Renesas. |
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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1379 /* Use cr5 as EVB (EIT Vector Base) register. */ | 1379 /* Use cr5 as EVB (EIT Vector Base) register. */ |
1380 USI new_pc = m32rbf_h_cr_get (current_cpu, 5) + 0x40 + num * 4; | 1380 USI new_pc = m32rbf_h_cr_get (current_cpu, 5) + 0x40 + num * 4; |
1381 return new_pc; | 1381 return new_pc; |
1382 } | 1382 } |
1383 } | 1383 } |
1384 | 1384 |
1385 /* Fake an "rte" insn. */ | 1385 /* Fake an "rte" insn. */ |
1386 /* FIXME: Should duplicate all of rte processing. */ | 1386 /* FIXME: Should duplicate all of rte processing. */ |
1387 return (pc & -4) + 4; | 1387 return (pc & -4) + 4; |
1388 } | 1388 } |
OLD | NEW |