-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
José Fonseca
committed
Nov 25, 2003
1 parent
be18db2
commit 758e370
Showing
19 changed files
with
3,048 additions
and
2,663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/* bucomm.h -- binutils common include file. | ||
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | ||
2002 Free Software Foundation, Inc. | ||
This file is part of GNU Binutils. | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | ||
|
||
#ifndef _BUCOMM_H | ||
#define _BUCOMM_H | ||
|
||
#include "ansidecl.h" | ||
#include <stdio.h> | ||
#include <sys/types.h> | ||
|
||
#include "config.h" | ||
|
||
#include <stdarg.h> | ||
|
||
#include <errno.h> | ||
|
||
#ifdef HAVE_UNISTD_H | ||
#include <unistd.h> | ||
#endif | ||
|
||
#ifdef HAVE_STRING_H | ||
#include <string.h> | ||
#endif | ||
|
||
#ifdef HAVE_STDLIB_H | ||
#include <stdlib.h> | ||
#endif | ||
|
||
#ifdef HAVE_FCNTL_H | ||
#include <fcntl.h> | ||
#else | ||
#ifdef HAVE_SYS_FILE_H | ||
#include <sys/file.h> | ||
#endif | ||
#endif | ||
|
||
#if defined(__GNUC__) && !defined(C_ALLOCA) | ||
# undef alloca | ||
# define alloca __builtin_alloca | ||
#else | ||
# if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA) | ||
# include <alloca.h> | ||
# else | ||
# ifndef alloca /* predefined by HP cc +Olibcalls */ | ||
# if !defined (__STDC__) && !defined (__hpux) | ||
char *alloca (); | ||
# else | ||
void *alloca (); | ||
# endif /* __STDC__, __hpux */ | ||
# endif /* alloca */ | ||
# endif /* HAVE_ALLOCA_H */ | ||
#endif | ||
|
||
#ifdef HAVE_LOCALE_H | ||
# include <locale.h> | ||
#endif | ||
|
||
#ifdef ENABLE_NLS | ||
# include <libintl.h> | ||
# define _(String) gettext (String) | ||
# ifdef gettext_noop | ||
# define N_(String) gettext_noop (String) | ||
# else | ||
# define N_(String) (String) | ||
# endif | ||
#else | ||
# define gettext(Msgid) (Msgid) | ||
# define dgettext(Domainname, Msgid) (Msgid) | ||
# define dcgettext(Domainname, Msgid, Category) (Msgid) | ||
# define textdomain(Domainname) while (0) /* nothing */ | ||
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */ | ||
# define _(String) (String) | ||
# define N_(String) (String) | ||
#endif | ||
|
||
#define non_fatal(fmt, args...) fprintf(stderr, fmt, ## args) | ||
|
||
#endif /* _BUCOMM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* budbg.c -- Interfaces to the generic debugging information routines. | ||
Copyright (C) 1995, 1996 Free Software Foundation, Inc. | ||
Copyright 1995, 1996, 2002 Free Software Foundation, Inc. | ||
Written by Ian Lance Taylor <[email protected]>. | ||
This file is part of GNU Binutils. | ||
|
@@ -26,33 +26,40 @@ | |
|
||
/* Routine used to read generic debugging information. */ | ||
|
||
extern PTR read_debugging_info PARAMS ((bfd *, asymbol **, long)); | ||
extern PTR read_debugging_info | ||
PARAMS ((bfd *, asymbol **, long)); | ||
|
||
/* Routine used to print generic debugging information. */ | ||
|
||
extern boolean print_debugging_info PARAMS ((FILE *, PTR)); | ||
extern bfd_boolean print_debugging_info | ||
PARAMS ((FILE *, PTR)); | ||
|
||
/* Routines used to read and write stabs information. */ | ||
|
||
extern PTR start_stab PARAMS ((PTR, bfd *, boolean, asymbol **, long)); | ||
extern PTR start_stab | ||
PARAMS ((PTR, bfd *, bfd_boolean, asymbol **, long)); | ||
|
||
extern boolean finish_stab PARAMS ((PTR, PTR)); | ||
extern bfd_boolean finish_stab | ||
PARAMS ((PTR, PTR)); | ||
|
||
extern boolean parse_stab PARAMS ((PTR, PTR, int, int, bfd_vma, const char *)); | ||
extern bfd_boolean parse_stab | ||
PARAMS ((PTR, PTR, int, int, bfd_vma, const char *)); | ||
|
||
extern boolean write_stabs_in_sections_debugging_info | ||
extern bfd_boolean write_stabs_in_sections_debugging_info | ||
PARAMS ((bfd *, PTR, bfd_byte **, bfd_size_type *, bfd_byte **, | ||
bfd_size_type *)); | ||
|
||
/* Routines used to read and write IEEE debugging information. */ | ||
|
||
extern boolean parse_ieee | ||
extern bfd_boolean parse_ieee | ||
PARAMS ((PTR, bfd *, const bfd_byte *, bfd_size_type)); | ||
|
||
extern boolean write_ieee_debugging_info PARAMS ((bfd *, PTR)); | ||
extern bfd_boolean write_ieee_debugging_info | ||
PARAMS ((bfd *, PTR)); | ||
|
||
/* Routine used to read COFF debugging information. */ | ||
|
||
extern boolean parse_coff PARAMS ((bfd *, asymbol **, long, PTR)); | ||
extern bfd_boolean parse_coff | ||
PARAMS ((bfd *, asymbol **, long, PTR)); | ||
|
||
#endif |
Oops, something went wrong.