* gdb.base/gdb1250.exp: Use runto {allow-pending}.
[deliverable/binutils-gdb.git] / gdb / sparc64-linux-nat.c
CommitLineData
386c036b 1/* Native-dependent code for GNU/Linux UltraSPARC.
8b39fe56
MK
2
3 Copyright 2003 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
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
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
21
386c036b
MK
22#include "defs.h"
23
24#include "sparc64-tdep.h"
25#include "sparc-nat.h"
26
27static const struct sparc_gregset sparc64_linux_ptrace_gregset =
28{
29 16 * 8, /* "tstate" */
30 17 * 8, /* %pc */
31 18 * 8, /* %npc */
32 19 * 8, /* %y */
33 -1, /* %wim */
34 -1, /* %tbr */
35 0 * 8, /* %g1 */
36 -1, /* %l0 */
37 4 /* sizeof (%y) */
38};
39\f
40
41/* Provide a prototype to silence -Wmissing-prototypes. */
42void _initialize_sparc64_linux_nat (void);
43
44void
45_initialize_sparc64_linux_nat (void)
46{
47 sparc_gregset = &sparc64_linux_ptrace_gregset;
48}
This page took 0.117088 seconds and 4 git commands to generate.