OLD | NEW |
1 /* SPU target-dependent code for GDB, the GNU debugger. | 1 /* SPU target-dependent code for GDB, the GNU debugger. |
2 Copyright (C) 2006-2012 Free Software Foundation, Inc. | 2 Copyright (C) 2006-2013 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GDB. | 4 This file is part of GDB. |
5 | 5 |
6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
11 This program is distributed in the hope that it will be useful, | 11 This program is distributed in the hope that it will be useful, |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 (((addr) & (ULONGEST)1 << 63) \ | 108 (((addr) & (ULONGEST)1 << 63) \ |
109 ? (int) ((ULONGEST)(addr) >> 32 & 0x3fffffff) \ | 109 ? (int) ((ULONGEST)(addr) >> 32 & 0x3fffffff) \ |
110 : -1) | 110 : -1) |
111 | 111 |
112 #define SPUADDR_ADDR(addr) \ | 112 #define SPUADDR_ADDR(addr) \ |
113 (((addr) & (ULONGEST)1 << 63)? (ULONGEST)(addr) & 0xffffffff : (addr)) | 113 (((addr) & (ULONGEST)1 << 63)? (ULONGEST)(addr) & 0xffffffff : (addr)) |
114 | 114 |
115 #define SPU_OVERLAY_LMA ((ULONGEST)1 << 62) | 115 #define SPU_OVERLAY_LMA ((ULONGEST)1 << 62) |
116 | 116 |
117 #endif | 117 #endif |
OLD | NEW |