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

Side by Side Diff: gdb/ppcobsd-tdep.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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/ppcobsd-tdep.h ('k') | gdb/printcmd.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 /* Target-dependent code for OpenBSD/powerpc. 1 /* Target-dependent code for OpenBSD/powerpc.
2 2
3 Copyright (C) 2004-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
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 15 GNU General Public License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 19
20 #include "defs.h" 20 #include "defs.h"
21 #include "arch-utils.h" 21 #include "arch-utils.h"
22 #include "frame.h" 22 #include "frame.h"
23 #include "frame-unwind.h" 23 #include "frame-unwind.h"
24 #include "gdbtypes.h" 24 #include "gdbtypes.h"
25 #include "osabi.h" 25 #include "osabi.h"
26 #include "regcache.h" 26 #include "regcache.h"
27 #include "regset.h" 27 #include "regset.h"
28 #include "symtab.h" 28 #include "symtab.h"
29 #include "trad-frame.h" 29 #include "trad-frame.h"
30 30
31 #include "gdb_assert.h" 31 #include "gdb_assert.h"
32 #include "gdb_string.h" 32 #include <string.h>
33 33
34 #include "ppc-tdep.h" 34 #include "ppc-tdep.h"
35 #include "ppcobsd-tdep.h" 35 #include "ppcobsd-tdep.h"
36 #include "solib-svr4.h" 36 #include "solib-svr4.h"
37 37
38 /* Register offsets from <machine/reg.h>. */ 38 /* Register offsets from <machine/reg.h>. */
39 struct ppc_reg_offsets ppcobsd_reg_offsets; 39 struct ppc_reg_offsets ppcobsd_reg_offsets;
40 struct ppc_reg_offsets ppcobsd_fpreg_offsets; 40 struct ppc_reg_offsets ppcobsd_fpreg_offsets;
41 41
42 42
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 } 328 }
329 329
330 if (ppcobsd_fpreg_offsets.fpscr_offset == 0) 330 if (ppcobsd_fpreg_offsets.fpscr_offset == 0)
331 { 331 {
332 /* Floating-point registers. */ 332 /* Floating-point registers. */
333 ppcobsd_reg_offsets.f0_offset = 0; 333 ppcobsd_reg_offsets.f0_offset = 0;
334 ppcobsd_reg_offsets.fpscr_offset = 256; 334 ppcobsd_reg_offsets.fpscr_offset = 256;
335 ppcobsd_reg_offsets.fpscr_size = 4; 335 ppcobsd_reg_offsets.fpscr_size = 4;
336 } 336 }
337 } 337 }
OLDNEW
« no previous file with comments | « gdb/ppcobsd-tdep.h ('k') | gdb/printcmd.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698