1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 1996, 1999, 2003 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24 code_entry_point
, code_descriptor
, data_pointer
27 static volatile enum tests test
;
29 /* Some basic types and zero buffers. */
32 typedef long code_t (void);
33 static volatile data_t
*data
[10];
34 static volatile code_t
*code
[10];
51 case code_entry_point
:
54 return ((code_t
*) &code
) ();
61 static volatile int i
;
62 signal (SIGSEGV
, keeper
);
63 for (i
= 0; i
< 10; i
++)
This page took 0.031526 seconds and 4 git commands to generate.