Back to index

cell-binutils  2.17cvs20070401
listing.h
Go to the documentation of this file.
00001 /* This file is listing.h
00002    Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1995, 1997, 1998,
00003    2003 Free Software Foundation, Inc.
00004 
00005    This file is part of GAS, the GNU Assembler.
00006 
00007    GAS is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 2, or (at your option)
00010    any later version.
00011 
00012    GAS is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with GAS; see the file COPYING.  If not, write to the Free
00019    Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
00020    02110-1301, USA.  */
00021 
00022 #ifndef __listing_h__
00023 #define __listing_h__
00024 
00025 #define LISTING_LISTING    1
00026 #define LISTING_SYMBOLS    2
00027 #define LISTING_NOFORM     4
00028 #define LISTING_HLL        8
00029 #define LISTING_NODEBUG   16
00030 #define LISTING_NOCOND        32
00031 #define LISTING_MACEXP        64
00032 
00033 #define LISTING_DEFAULT    (LISTING_LISTING | LISTING_HLL | LISTING_SYMBOLS)
00034 
00035 #ifndef NO_LISTING
00036 #define LISTING_NEWLINE() { if (listing) listing_newline(NULL); }
00037 #else
00038 #define LISTING_NEWLINE() {;}
00039 #endif
00040 #define LISTING_EOF()     LISTING_NEWLINE()
00041 
00042 #define LISTING_SKIP_COND() ((listing & LISTING_NOCOND) != 0)
00043 
00044 void listing_eject (int);
00045 void listing_error (const char *message);
00046 void listing_file (const char *name);
00047 void listing_flags (int);
00048 void listing_list (int on);
00049 void listing_newline (char *ps);
00050 void listing_prev_line (void);
00051 void listing_print (char *name);
00052 void listing_psize (int);
00053 void listing_nopage (int);
00054 void listing_source_file (const char *);
00055 void listing_source_line (unsigned int);
00056 void listing_title (int depth);
00057 void listing_warning (const char *message);
00058 void listing_width (unsigned int x);
00059 
00060 extern int listing_lhs_width;
00061 extern int listing_lhs_width_second;
00062 extern int listing_lhs_cont_lines;
00063 extern int listing_rhs_width;
00064 
00065 #endif /* __listing_h__ */
00066 
00067 /* end of listing.h */