OLD | NEW |
1 /* Target-dependent code for the Motorola 88000 series. | 1 /* Target-dependent code for the Motorola 88000 series. |
2 | 2 |
3 Copyright (C) 2004-2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2004-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 11 matching lines...) Expand all Loading... |
25 #include "frame-unwind.h" | 25 #include "frame-unwind.h" |
26 #include "gdbcore.h" | 26 #include "gdbcore.h" |
27 #include "gdbtypes.h" | 27 #include "gdbtypes.h" |
28 #include "regcache.h" | 28 #include "regcache.h" |
29 #include "regset.h" | 29 #include "regset.h" |
30 #include "symtab.h" | 30 #include "symtab.h" |
31 #include "trad-frame.h" | 31 #include "trad-frame.h" |
32 #include "value.h" | 32 #include "value.h" |
33 | 33 |
34 #include "gdb_assert.h" | 34 #include "gdb_assert.h" |
35 #include "gdb_string.h" | 35 #include <string.h> |
36 | 36 |
37 #include "m88k-tdep.h" | 37 #include "m88k-tdep.h" |
38 | 38 |
39 /* Fetch the instruction at PC. */ | 39 /* Fetch the instruction at PC. */ |
40 | 40 |
41 static unsigned long | 41 static unsigned long |
42 m88k_fetch_instruction (CORE_ADDR pc, enum bfd_endian byte_order) | 42 m88k_fetch_instruction (CORE_ADDR pc, enum bfd_endian byte_order) |
43 { | 43 { |
44 return read_memory_unsigned_integer (pc, 4, byte_order); | 44 return read_memory_unsigned_integer (pc, 4, byte_order); |
45 } | 45 } |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 | 883 |
884 | 884 |
885 /* Provide a prototype to silence -Wmissing-prototypes. */ | 885 /* Provide a prototype to silence -Wmissing-prototypes. */ |
886 void _initialize_m88k_tdep (void); | 886 void _initialize_m88k_tdep (void); |
887 | 887 |
888 void | 888 void |
889 _initialize_m88k_tdep (void) | 889 _initialize_m88k_tdep (void) |
890 { | 890 { |
891 gdbarch_register (bfd_arch_m88k, m88k_gdbarch_init, NULL); | 891 gdbarch_register (bfd_arch_m88k, m88k_gdbarch_init, NULL); |
892 } | 892 } |
OLD | NEW |