OLD | NEW |
1 /* Model support. | 1 /* Model support. |
2 Copyright (C) 1996-1998, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 1996-2013 Free Software Foundation, Inc. |
3 Contributed by Cygnus Support. | 3 Contributed by Cygnus Support. |
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 } | 233 } |
234 sim_model_set (sd, NULL, MACH_MODELS (mach)); | 234 sim_model_set (sd, NULL, MACH_MODELS (mach)); |
235 } | 235 } |
236 else | 236 else |
237 { | 237 { |
238 STATE_ARCHITECTURE (sd) = bfd_scan_arch (MACH_BFD_NAME (CPU_MACH (cpu))); | 238 STATE_ARCHITECTURE (sd) = bfd_scan_arch (MACH_BFD_NAME (CPU_MACH (cpu))); |
239 } | 239 } |
240 | 240 |
241 return SIM_RC_OK; | 241 return SIM_RC_OK; |
242 } | 242 } |
OLD | NEW |