OLD | NEW |
1 /* Target-dependent code for UltraSPARC. | 1 /* Target-dependent code for UltraSPARC. |
2 | 2 |
3 Copyright (C) 2003-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2003-2013 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
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, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 14 matching lines...) Expand all Loading... |
28 #include "gdbtypes.h" | 28 #include "gdbtypes.h" |
29 #include "inferior.h" | 29 #include "inferior.h" |
30 #include "symtab.h" | 30 #include "symtab.h" |
31 #include "objfiles.h" | 31 #include "objfiles.h" |
32 #include "osabi.h" | 32 #include "osabi.h" |
33 #include "regcache.h" | 33 #include "regcache.h" |
34 #include "target.h" | 34 #include "target.h" |
35 #include "value.h" | 35 #include "value.h" |
36 | 36 |
37 #include "gdb_assert.h" | 37 #include "gdb_assert.h" |
38 #include "gdb_string.h" | 38 #include <string.h> |
39 | 39 |
40 #include "sparc64-tdep.h" | 40 #include "sparc64-tdep.h" |
41 | 41 |
42 /* This file implements the SPARC 64-bit ABI as defined by the | 42 /* This file implements the SPARC 64-bit ABI as defined by the |
43 section "Low-Level System Information" of the SPARC Compliance | 43 section "Low-Level System Information" of the SPARC Compliance |
44 Definition (SCD) 2.4.1, which is the 64-bit System V psABI for | 44 Definition (SCD) 2.4.1, which is the 64-bit System V psABI for |
45 SPARC. */ | 45 SPARC. */ |
46 | 46 |
47 /* Please use the sparc32_-prefix for 32-bit specific code, the | 47 /* Please use the sparc32_-prefix for 32-bit specific code, the |
48 sparc64_-prefix for 64-bit specific code and the sparc_-prefix for | 48 sparc64_-prefix for 64-bit specific code and the sparc_-prefix for |
(...skipping 1389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1438 { | 1438 { |
1439 /* Not all of the register set variants include Locals and | 1439 /* Not all of the register set variants include Locals and |
1440 Inputs. For those that don't, we read them off the stack. */ | 1440 Inputs. For those that don't, we read them off the stack. */ |
1441 if (gregset->r_l0_offset != -1) | 1441 if (gregset->r_l0_offset != -1) |
1442 { | 1442 { |
1443 int offset = gregset->r_l0_offset; | 1443 int offset = gregset->r_l0_offset; |
1444 | 1444 |
1445 if (sparc32) | 1445 if (sparc32) |
1446 offset += 4; | 1446 offset += 4; |
1447 | 1447 |
error: old chunk mismatch |
None
OLD | NEW |