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

Side by Side Diff: gdb/sparc-linux-nat.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/source.c ('k') | gdb/sparc-nat.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 /* Native-dependent code for GNU/Linux SPARC. 1 /* Native-dependent code for GNU/Linux SPARC.
2 Copyright (C) 2005-2012 Free Software Foundation, Inc. 2 Copyright (C) 2005-2012 Free Software Foundation, Inc.
3 3
4 This file is part of GDB. 4 This file is part of GDB.
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or 8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 sparc32_collect_gregset (sparc_gregset, regcache, regnum, gregs); 46 sparc32_collect_gregset (sparc_gregset, regcache, regnum, gregs);
47 } 47 }
48 48
49 void 49 void
50 fill_fpregset (const struct regcache *regcache, 50 fill_fpregset (const struct regcache *regcache,
51 prfpregset_t *fpregs, int regnum) 51 prfpregset_t *fpregs, int regnum)
52 { 52 {
53 sparc32_collect_fpregset (regcache, regnum, fpregs); 53 sparc32_collect_fpregset (regcache, regnum, fpregs);
54 } 54 }
55 55
56 void _initialialize_sparc_linux_nat (void); 56 void _initialize_sparc_linux_nat (void);
57 57
58 void 58 void
59 _initialize_sparc_linux_nat (void) 59 _initialize_sparc_linux_nat (void)
60 { 60 {
61 struct target_ops *t; 61 struct target_ops *t;
62 62
63 /* Fill in the generic GNU/Linux methods. */ 63 /* Fill in the generic GNU/Linux methods. */
64 t = linux_target (); 64 t = linux_target ();
65 65
66 /* Add our register access methods. */ 66 /* Add our register access methods. */
67 t->to_fetch_registers = sparc_fetch_inferior_registers; 67 t->to_fetch_registers = sparc_fetch_inferior_registers;
68 t->to_store_registers = sparc_store_inferior_registers; 68 t->to_store_registers = sparc_store_inferior_registers;
69 69
70 /* Register the target. */ 70 /* Register the target. */
71 linux_nat_add_target (t); 71 linux_nat_add_target (t);
72 } 72 }
OLDNEW
« no previous file with comments | « gdb/source.c ('k') | gdb/sparc-nat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698