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

Side by Side Diff: gdb/gregset.h

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/go32-nat.c ('k') | gdb/h8300-tdep.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 /* Interface for functions using gregset and fpregset types. 1 /* Interface for functions using gregset and fpregset types.
2 Copyright (C) 2000, 2002, 2007-2012 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2002, 2007-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
11 This program is distributed in the hope that it will be useful, 11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 14 GNU General Public License for more details.
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 18
19 #ifndef GREGSET_H 19 #ifndef GREGSET_H
20 #define GREGSET_H 20 #define GREGSET_H
21 21
22 #ifdef HAVE_SYS_PROCFS_H
23 #include <sys/procfs.h>
24 #endif
25
22 #ifndef GDB_GREGSET_T 26 #ifndef GDB_GREGSET_T
23 #define GDB_GREGSET_T gregset_t 27 #define GDB_GREGSET_T gregset_t
24 #endif 28 #endif
25 29
26 #ifndef GDB_FPREGSET_T 30 #ifndef GDB_FPREGSET_T
27 #define GDB_FPREGSET_T fpregset_t 31 #define GDB_FPREGSET_T fpregset_t
28 #endif 32 #endif
29 33
30 typedef GDB_GREGSET_T gdb_gregset_t; 34 typedef GDB_GREGSET_T gdb_gregset_t;
31 typedef GDB_FPREGSET_T gdb_fpregset_t; 35 typedef GDB_FPREGSET_T gdb_fpregset_t;
(...skipping 18 matching lines...) Expand all
50 /* Copy register values from GDB's register cache into 54 /* Copy register values from GDB's register cache into
51 the native target gregset/fpregset. If regno is -1, 55 the native target gregset/fpregset. If regno is -1,
52 copy all the registers. */ 56 copy all the registers. */
53 57
54 extern void fill_gregset (const struct regcache *regcache, 58 extern void fill_gregset (const struct regcache *regcache,
55 gdb_gregset_t *gregs, int regno); 59 gdb_gregset_t *gregs, int regno);
56 extern void fill_fpregset (const struct regcache *regcache, 60 extern void fill_fpregset (const struct regcache *regcache,
57 gdb_fpregset_t *fpregs, int regno); 61 gdb_fpregset_t *fpregs, int regno);
58 62
59 #endif 63 #endif
OLDNEW
« no previous file with comments | « gdb/go32-nat.c ('k') | gdb/h8300-tdep.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698