Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / config / sparc / tm-sol2.h
blobd4ca102f225b3d72f97f2b5a254c351548c416e5
1 /* Target-dependent definitions for Solaris SPARC.
3 Copyright 2003, 2004 Free Software Foundation, Inc.
5 This file is part of GDB.
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.
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.
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., 675 Mass Ave, Cambridge, MA 02139, USA. */
21 #ifndef TM_SOL2_H
22 #define TM_SOL2_H
24 /* Shared library support. */
25 #include "solib.h"
27 /* The Sun compilers (Sun ONE Studio, Forte Developer, Sun WorkShop,
28 SunPRO) compiler puts out 0 instead of the address in N_SO stabs.
29 Starting with SunPRO 3.0, the compiler does this for N_FUN stabs
30 too. */
31 #define SOFUN_ADDRESS_MAYBE_MISSING
33 /* The Sun compilers also do "globalization"; see the comment in
34 sparc-tdep.c for more information. */
35 extern char *sparc_stabs_unglobalize_name (char *name);
36 #define STATIC_TRANSFORM_NAME(name) \
37 sparc_stabs_unglobalize_name (name)
38 #define IS_STATIC_TRANSFORM_NAME(name) \
39 ((name) != sparc_stabs_unglobalize_name (name))
41 #endif /* tm-sol2.h */