Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: gdb/ravenscar-sparc-thread.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/python/python-internal.h ('k') | gdb/ravenscar-thread.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « gdb/python/python-internal.h ('k') | gdb/ravenscar-thread.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698