]>
Commit | Line | Data |
---|---|---|
386c036b MK |
1 | /* Target-dependent definitions for Solaris SPARC. |
2 | ||
6aba47ca | 3 | Copyright 2003, 2004, 2007 Free Software Foundation, Inc. |
386c036b MK |
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 | |
a9762ec7 | 9 | the Free Software Foundation; either version 3 of the License, or |
386c036b MK |
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 | |
a9762ec7 | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
386c036b MK |
19 | |
20 | #ifndef TM_SOL2_H | |
21 | #define TM_SOL2_H | |
22 | ||
386c036b MK |
23 | /* The Sun compilers (Sun ONE Studio, Forte Developer, Sun WorkShop, |
24 | SunPRO) compiler puts out 0 instead of the address in N_SO stabs. | |
25 | Starting with SunPRO 3.0, the compiler does this for N_FUN stabs | |
26 | too. */ | |
27 | #define SOFUN_ADDRESS_MAYBE_MISSING | |
28 | ||
29 | /* The Sun compilers also do "globalization"; see the comment in | |
30 | sparc-tdep.c for more information. */ | |
31 | extern char *sparc_stabs_unglobalize_name (char *name); | |
32 | #define STATIC_TRANSFORM_NAME(name) \ | |
33 | sparc_stabs_unglobalize_name (name) | |
34 | #define IS_STATIC_TRANSFORM_NAME(name) \ | |
35 | ((name) != sparc_stabs_unglobalize_name (name)) | |
36 | ||
37 | #endif /* tm-sol2.h */ |