xref: /netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/dw2-dup-frame.c (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1 /*
2    Copyright 2013-2017 Free Software Foundation, Inc.
3 
4    This program is free software; you can redistribute it and/or modify
5    it under the terms of the GNU General Public License as published by
6    the Free Software Foundation; either version 3 of the License, or
7    (at your option) any later version.
8 
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13 
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
16 
17 void
18 stop_frame ()
19 {
20   /* The debug information for this frame is modified in the accompanying
21      .S file, to mark a set of registers as being DW_CFA_same_value.  */
22 }
23 
24 void
25 first_frame ()
26 {
27   stop_frame ();
28 }
29 
30 int
31 main ()
32 {
33   first_frame ();
34 
35   return 0;
36 }
37