3 Copyright (C) 2000,2004 Silicon Graphics, Inc. All Rights Reserved.
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of version 2.1 of the GNU Lesser General Public License
7 as published by the Free Software Foundation.
9 This program is distributed in the hope that it would be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 Further, this software is distributed without any warranty that it is
14 free of the rightful claim of any third person regarding infringement
15 or the like. Any license provided herein, whether implied or
16 otherwise, applies only to this software file. Patent licenses, if
17 any, provided herein do not apply to combinations of this program with
18 other software, or any other product whatsoever.
20 You should have received a copy of the GNU Lesser General Public
21 License along with this program; if not, write the Free Software
22 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301,
25 Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane,
26 Mountain View, CA 94043, or:
30 For further information regarding this notice, see:
32 http://oss.sgi.com/projects/GenInfo/NoticeExplan
39 /* Handle error passing in the name of the Dwarf_P_Debug
40 User must supply {} around the macro.
41 Putting the {} here leads to macro uses that don't look like C.
42 The error argument to dwarf_error is hard coded here as 'error'
44 #define DWARF_P_DBG_ERROR(dbg,errval,retval) \
45 _dwarf_p_error(dbg,error,errval); return(retval);
47 struct Dwarf_Error_s
{
48 Dwarf_Sword er_errval
;
51 void _dwarf_p_error(Dwarf_P_Debug dbg
, Dwarf_Error
* error
,