Commit | Line | Data |
---|---|---|
4c2df51b DJ |
1 | /* Dwarf2 location expression support for GDB. |
2 | Copyright 2003 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GDB. | |
5 | ||
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 | |
8 | the Free Software Foundation; either version 2 of the License, or | |
9 | (at your option) any later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program; if not, write to the Free Software | |
18 | Foundation, Inc., 59 Temple Place - Suite 330, | |
19 | Boston, MA 02111-1307, USA. */ | |
20 | ||
21 | #if !defined (DWARF2LOC_H) | |
22 | #define DWARF2LOC_H | |
23 | ||
24 | /* This header is private to the DWARF-2 reader. It is shared between | |
25 | dwarf2read.c and dwarf2loc.c. */ | |
26 | ||
27 | /* The symbol location baton type used by the DWARF-2 reader (i.e. | |
28 | SYMBOL_LOCATION_BATON for a LOC_COMPUTED symbol). */ | |
29 | ||
30 | struct dwarf2_locexpr_baton | |
31 | { | |
32 | unsigned char *data; | |
33 | unsigned short size; | |
34 | struct objfile *objfile; | |
35 | }; | |
36 | ||
37 | extern struct location_funcs dwarf2_locexpr_funcs; | |
38 | ||
39 | #endif |