| OLD | NEW | 
|    1 /* Ravenscar SPARC target support. |    1 /* Ravenscar SPARC target support. | 
|    2  |    2  | 
|    3    Copyright 2004, 2010-2012 Free Software Foundation, Inc. |    3    Copyright 2004, 2010-2012 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. | 
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  168     } |  168     } | 
|  169   else |  169   else | 
|  170     return; |  170     return; | 
|  171  |  171  | 
|  172   regcache_raw_collect (regcache, regnum, buf); |  172   regcache_raw_collect (regcache, regnum, buf); | 
|  173   write_memory (register_address, |  173   write_memory (register_address, | 
|  174                 buf, |  174                 buf, | 
|  175                 buf_size); |  175                 buf_size); | 
|  176 } |  176 } | 
|  177  |  177  | 
 |  178 /* Provide a prototype to silence -Wmissing-prototypes.  */ | 
 |  179 extern void _initialize_ravenscar_sparc (void); | 
 |  180  | 
|  178 void |  181 void | 
|  179 _initialize_ravenscar_sparc (void) |  182 _initialize_ravenscar_sparc (void) | 
|  180 { |  183 { | 
|  181   ravenscar_sparc_ops.to_fetch_registers = ravenscar_sparc_fetch_registers; |  184   ravenscar_sparc_ops.to_fetch_registers = ravenscar_sparc_fetch_registers; | 
|  182   ravenscar_sparc_ops.to_store_registers = ravenscar_sparc_store_registers; |  185   ravenscar_sparc_ops.to_store_registers = ravenscar_sparc_store_registers; | 
|  183   ravenscar_sparc_ops.to_prepare_to_store = ravenscar_sparc_prepare_to_store; |  186   ravenscar_sparc_ops.to_prepare_to_store = ravenscar_sparc_prepare_to_store; | 
|  184   ravenscar_register_arch_ops (&ravenscar_sparc_ops); |  187   ravenscar_register_arch_ops (&ravenscar_sparc_ops); | 
|  185 } |  188 } | 
| OLD | NEW |