This list is closed, nobody may subscribe to it.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(13) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(38) |
Jul
(10) |
Aug
(70) |
Sep
(63) |
Oct
(61) |
Nov
(41) |
Dec
(28) |
| 2002 |
Jan
(43) |
Feb
(11) |
Mar
(9) |
Apr
(2) |
May
(97) |
Jun
(94) |
Jul
(13) |
Aug
(49) |
Sep
(41) |
Oct
(24) |
Nov
(55) |
Dec
(126) |
| 2003 |
Jan
(90) |
Feb
(75) |
Mar
(32) |
Apr
(24) |
May
(54) |
Jun
(54) |
Jul
(22) |
Aug
(4) |
Sep
(16) |
Oct
(8) |
Nov
(6) |
Dec
(13) |
| 2004 |
Jan
|
Feb
(17) |
Mar
(60) |
Apr
(21) |
May
(12) |
Jun
|
Jul
(13) |
Aug
|
Sep
(29) |
Oct
|
Nov
|
Dec
(2) |
| 2005 |
Jan
(22) |
Feb
(3) |
Mar
(2) |
Apr
(13) |
May
(82) |
Jun
(18) |
Jul
(30) |
Aug
(17) |
Sep
(3) |
Oct
(19) |
Nov
(4) |
Dec
(8) |
| 2006 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(40) |
May
|
Jun
(21) |
Jul
(1) |
Aug
(410) |
Sep
(3) |
Oct
|
Nov
(56) |
Dec
(7) |
| 2007 |
Jan
(19) |
Feb
|
Mar
(4) |
Apr
(8) |
May
(19) |
Jun
(6) |
Jul
(4) |
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(3) |
Dec
(2) |
| 2008 |
Jan
(13) |
Feb
(18) |
Mar
(12) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(6) |
Mar
(8) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
(11) |
Oct
(13) |
Nov
(17) |
Dec
(6) |
| 2010 |
Jan
(24) |
Feb
(10) |
Mar
(27) |
Apr
(20) |
May
(108) |
Jun
(8) |
Jul
(23) |
Aug
(38) |
Sep
(49) |
Oct
(17) |
Nov
(12) |
Dec
(14) |
| 2011 |
Jan
(17) |
Feb
(7) |
Mar
(28) |
Apr
(8) |
May
(20) |
Jun
(11) |
Jul
(7) |
Aug
(12) |
Sep
(4) |
Oct
(20) |
Nov
(19) |
Dec
(2) |
| 2012 |
Jan
(2) |
Feb
(6) |
Mar
(5) |
Apr
(24) |
May
(5) |
Jun
(4) |
Jul
(6) |
Aug
(18) |
Sep
(38) |
Oct
(26) |
Nov
(12) |
Dec
(6) |
| 2013 |
Jan
(19) |
Feb
(18) |
Mar
(44) |
Apr
(35) |
May
(18) |
Jun
(21) |
Jul
(10) |
Aug
(19) |
Sep
(44) |
Oct
(25) |
Nov
(1) |
Dec
(2) |
| 2014 |
Jan
(8) |
Feb
|
Mar
|
Apr
(5) |
May
(1) |
Jun
(3) |
Jul
|
Aug
(3) |
Sep
|
Oct
(4) |
Nov
(4) |
Dec
(7) |
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(4) |
Jul
(6) |
Aug
(2) |
Sep
(8) |
Oct
(2) |
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
(7) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(9) |
Jun
(4) |
Jul
(20) |
Aug
(4) |
Sep
(7) |
Oct
(6) |
Nov
(9) |
Dec
(2) |
| 2017 |
Jan
(7) |
Feb
(7) |
Mar
(5) |
Apr
|
May
(1) |
Jun
(4) |
Jul
(12) |
Aug
(4) |
Sep
(1) |
Oct
(4) |
Nov
(11) |
Dec
(14) |
| 2018 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
|
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
|
23
|
24
|
25
(6) |
26
|
27
|
28
|
29
|
|
30
|
|
|
|
|
|
|
Update of /cvsroot/mingw/utils/drmingw
In directory sc8-pr-cvs1:/tmp/cvs-serv20486
Modified Files:
budbg.h debug.c debug.h debugx.c exchndl.c ieee.c ieee.h
prdbg.c rdcoff.c rddbg.c stabs.c symbols.c
Added Files:
bucomm.h
Log Message:
Merge with latest binutils source.
--- NEW FILE: bucomm.h ---
/* 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 */
Index: budbg.h
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/budbg.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** budbg.h 10 Apr 2002 13:39:05 -0000 1.1
--- budbg.h 25 Nov 2003 18:18:25 -0000 1.2
***************
*** 1,4 ****
/* budbg.c -- Interfaces to the generic debugging information routines.
! Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
--- 1,4 ----
/* budbg.c -- Interfaces to the generic debugging information routines.
! Copyright 1995, 1996, 2002 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
***************
*** 27,45 ****
/* Routine used to read generic debugging information. */
! extern PTR read_debugging_info PARAMS ((bfd *, asymbol **, long));
/* Routine used to print generic debugging information. */
! extern 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 boolean finish_stab PARAMS ((PTR, PTR));
! extern boolean parse_stab PARAMS ((PTR, PTR, int, int, bfd_vma, const char *));
! extern boolean write_stabs_in_sections_debugging_info
PARAMS ((bfd *, PTR, bfd_byte **, bfd_size_type *, bfd_byte **,
bfd_size_type *));
--- 27,50 ----
/* Routine used to read generic debugging information. */
! extern PTR read_debugging_info
! PARAMS ((bfd *, asymbol **, long));
/* Routine used to print generic debugging information. */
! extern bfd_boolean print_debugging_info
! PARAMS ((FILE *, PTR));
/* Routines used to read and write stabs information. */
! extern PTR start_stab
! PARAMS ((PTR, bfd *, bfd_boolean, asymbol **, long));
! extern bfd_boolean finish_stab
! PARAMS ((PTR, PTR));
! extern bfd_boolean parse_stab
! PARAMS ((PTR, PTR, int, int, bfd_vma, const char *));
! extern bfd_boolean write_stabs_in_sections_debugging_info
PARAMS ((bfd *, PTR, bfd_byte **, bfd_size_type *, bfd_byte **,
bfd_size_type *));
***************
*** 47,58 ****
/* Routines used to read and write IEEE debugging information. */
! extern boolean parse_ieee
PARAMS ((PTR, bfd *, const bfd_byte *, bfd_size_type));
! extern boolean write_ieee_debugging_info PARAMS ((bfd *, PTR));
/* Routine used to read COFF debugging information. */
! extern boolean parse_coff PARAMS ((bfd *, asymbol **, long, PTR));
#endif
--- 52,65 ----
/* Routines used to read and write IEEE debugging information. */
! extern bfd_boolean parse_ieee
PARAMS ((PTR, bfd *, const bfd_byte *, bfd_size_type));
! extern bfd_boolean write_ieee_debugging_info
! PARAMS ((bfd *, PTR));
/* Routine used to read COFF debugging information. */
! extern bfd_boolean parse_coff
! PARAMS ((bfd *, asymbol **, long, PTR));
#endif
Index: debug.c
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/debug.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** debug.c 10 Apr 2002 13:39:05 -0000 1.1
--- debug.c 25 Nov 2003 18:18:25 -0000 1.2
***************
*** 1,4 ****
/* debug.c -- Handle generic debugging information.
! Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
--- 1,4 ----
/* debug.c -- Handle generic debugging information.
! Copyright 1995, 1996, 1997, 1998, 2000, 2002 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
***************
[...2494 lines suppressed...]
|| strcmp (v1->physname, v2->physname) != 0
|| ! debug_type_samep (info, v1->type, v2->type))
! return FALSE;
if (v1->context != NULL)
{
if (! debug_type_samep (info, v1->context,
v2->context))
! return FALSE;
}
}
if (*pv1 != NULL || *pv2 != NULL)
! return FALSE;
}
}
if (*pm1 != NULL || *pm2 != NULL)
! return FALSE;
}
! return TRUE;
}
Index: debug.h
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/debug.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** debug.h 10 Apr 2002 13:39:05 -0000 1.1
--- debug.h 25 Nov 2003 18:18:25 -0000 1.2
***************
*** 1,4 ****
/* debug.h -- Describe generic debugging information.
! Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
--- 1,4 ----
/* debug.h -- Describe generic debugging information.
! Copyright 1995, 1996, 2002 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
***************
*** 170,179 ****
/* This is called at the start of each new compilation unit with the
name of the main file in the new unit. */
! boolean (*start_compilation_unit) PARAMS ((PTR, const char *));
/* This is called at the start of each source file within a
compilation unit, before outputting any global information for
that file. The argument is the name of the file. */
! boolean (*start_source) PARAMS ((PTR, const char *));
/* Each writer must keep a stack of types. */
--- 170,179 ----
/* This is called at the start of each new compilation unit with the
name of the main file in the new unit. */
! bfd_boolean (*start_compilation_unit) PARAMS ((PTR, const char *));
/* This is called at the start of each source file within a
compilation unit, before outputting any global information for
that file. The argument is the name of the file. */
! bfd_boolean (*start_source) PARAMS ((PTR, const char *));
/* Each writer must keep a stack of types. */
***************
*** 181,201 ****
/* Push an empty type onto the type stack. This type can appear if
there is a reference to a type which is never defined. */
! boolean (*empty_type) PARAMS ((PTR));
/* Push a void type onto the type stack. */
! boolean (*void_type) PARAMS ((PTR));
/* Push an integer type onto the type stack, given the size and
whether it is unsigned. */
! boolean (*int_type) PARAMS ((PTR, unsigned int, boolean));
/* Push a floating type onto the type stack, given the size. */
! boolean (*float_type) PARAMS ((PTR, unsigned int));
/* Push a complex type onto the type stack, given the size. */
! boolean (*complex_type) PARAMS ((PTR, unsigned int));
! /* Push a boolean type onto the type stack, given the size. */
! boolean (*bool_type) PARAMS ((PTR, unsigned int));
/* Push an enum type onto the type stack, given the tag, a NULL
--- 181,201 ----
/* Push an empty type onto the type stack. This type can appear if
there is a reference to a type which is never defined. */
! bfd_boolean (*empty_type) PARAMS ((PTR));
/* Push a void type onto the type stack. */
! bfd_boolean (*void_type) PARAMS ((PTR));
/* Push an integer type onto the type stack, given the size and
whether it is unsigned. */
! bfd_boolean (*int_type) PARAMS ((PTR, unsigned int, bfd_boolean));
/* Push a floating type onto the type stack, given the size. */
! bfd_boolean (*float_type) PARAMS ((PTR, unsigned int));
/* Push a complex type onto the type stack, given the size. */
! bfd_boolean (*complex_type) PARAMS ((PTR, unsigned int));
! /* Push a bfd_boolean type onto the type stack, given the size. */
! bfd_boolean (*bool_type) PARAMS ((PTR, unsigned int));
/* Push an enum type onto the type stack, given the tag, a NULL
***************
*** 203,212 ****
no tag, the tag argument will be NULL. If this is an undefined
enum, the names and values arguments will be NULL. */
! boolean (*enum_type) PARAMS ((PTR, const char *, const char **,
! bfd_signed_vma *));
/* Pop the top type on the type stack, and push a pointer to that
type onto the type stack. */
! boolean (*pointer_type) PARAMS ((PTR));
/* Push a function type onto the type stack. The second argument
--- 203,212 ----
no tag, the tag argument will be NULL. If this is an undefined
enum, the names and values arguments will be NULL. */
! bfd_boolean (*enum_type)
! PARAMS ((PTR, const char *, const char **, bfd_signed_vma *));
/* Pop the top type on the type stack, and push a pointer to that
type onto the type stack. */
! bfd_boolean (*pointer_type) PARAMS ((PTR));
/* Push a function type onto the type stack. The second argument
***************
*** 214,230 ****
the stack. If the number of argument types is passed as -1, then
the argument types of the function are unknown, and no types have
! been pushed onto the stack. The third argument is true if the
function takes a variable number of arguments. The return type
of the function is pushed onto the type stack below the argument
types, if any. */
! boolean (*function_type) PARAMS ((PTR, int, boolean));
/* Pop the top type on the type stack, and push a reference to that
type onto the type stack. */
! boolean (*reference_type) PARAMS ((PTR));
/* Pop the top type on the type stack, and push a range of that type
with the given lower and upper bounds onto the type stack. */
! boolean (*range_type) PARAMS ((PTR, bfd_signed_vma, bfd_signed_vma));
/* Push an array type onto the type stack. The top type on the type
--- 214,230 ----
the stack. If the number of argument types is passed as -1, then
the argument types of the function are unknown, and no types have
! been pushed onto the stack. The third argument is TRUE if the
function takes a variable number of arguments. The return type
of the function is pushed onto the type stack below the argument
types, if any. */
! bfd_boolean (*function_type) PARAMS ((PTR, int, bfd_boolean));
/* Pop the top type on the type stack, and push a reference to that
type onto the type stack. */
! bfd_boolean (*reference_type) PARAMS ((PTR));
/* Pop the top type on the type stack, and push a range of that type
with the given lower and upper bounds onto the type stack. */
! bfd_boolean (*range_type) PARAMS ((PTR, bfd_signed_vma, bfd_signed_vma));
/* Push an array type onto the type stack. The top type on the type
***************
*** 233,243 ****
pushed. The arguments are the lower bound, the upper bound, and
whether the array is a string. */
! boolean (*array_type) PARAMS ((PTR, bfd_signed_vma, bfd_signed_vma,
! boolean));
/* Pop the top type on the type stack, and push a set of that type
onto the type stack. The argument indicates whether this set is
a bitstring. */
! boolean (*set_type) PARAMS ((PTR, boolean));
/* Push an offset type onto the type stack. The top type on the
--- 233,243 ----
pushed. The arguments are the lower bound, the upper bound, and
whether the array is a string. */
! bfd_boolean (*array_type)
! PARAMS ((PTR, bfd_signed_vma, bfd_signed_vma, bfd_boolean));
/* Pop the top type on the type stack, and push a set of that type
onto the type stack. The argument indicates whether this set is
a bitstring. */
! bfd_boolean (*set_type) PARAMS ((PTR, bfd_boolean));
/* Push an offset type onto the type stack. The top type on the
***************
*** 245,252 ****
stack is the base type. These should be popped before the offset
type is pushed. */
! boolean (*offset_type) PARAMS ((PTR));
/* Push a method type onto the type stack. If the second argument
! is true, the top type on the stack is the class to which the
method belongs; otherwise, the class must be determined by the
class to which the method is attached. The third argument is the
--- 245,252 ----
stack is the base type. These should be popped before the offset
type is pushed. */
! bfd_boolean (*offset_type) PARAMS ((PTR));
/* Push a method type onto the type stack. If the second argument
! is TRUE, the top type on the stack is the class to which the
method belongs; otherwise, the class must be determined by the
class to which the method is attached. The third argument is the
***************
*** 254,271 ****
reverse order (the first type popped is the last argument to the
method). A value of -1 for the third argument means that no
! argument information is available. The fourth argument is true
if the function takes a variable number of arguments. The next
type on the type stack below the domain and the argument types is
the return type of the method. All these types must be popped,
and then the method type must be pushed. */
! boolean (*method_type) PARAMS ((PTR, boolean, int, boolean));
/* Pop the top type off the type stack, and push a const qualified
version of that type onto the type stack. */
! boolean (*const_type) PARAMS ((PTR));
/* Pop the top type off the type stack, and push a volatile
qualified version of that type onto the type stack. */
! boolean (*volatile_type) PARAMS ((PTR));
/* Start building a struct. This is followed by calls to the
--- 254,271 ----
reverse order (the first type popped is the last argument to the
method). A value of -1 for the third argument means that no
! argument information is available. The fourth argument is TRUE
if the function takes a variable number of arguments. The next
type on the type stack below the domain and the argument types is
the return type of the method. All these types must be popped,
and then the method type must be pushed. */
! bfd_boolean (*method_type) PARAMS ((PTR, bfd_boolean, int, bfd_boolean));
/* Pop the top type off the type stack, and push a const qualified
version of that type onto the type stack. */
! bfd_boolean (*const_type) PARAMS ((PTR));
/* Pop the top type off the type stack, and push a volatile
qualified version of that type onto the type stack. */
! bfd_boolean (*volatile_type) PARAMS ((PTR));
/* Start building a struct. This is followed by calls to the
***************
*** 274,283 ****
will be NULL if there isn't one. If the second argument is NULL,
the third argument is a constant identifying this struct for use
! with tag_type. The fourth argument is true for a struct, false
for a union. The fifth argument is the size. If this is an
undefined struct or union, the size will be 0 and struct_field
will not be called before end_struct_type is called. */
! boolean (*start_struct_type) PARAMS ((PTR, const char *, unsigned int,
! boolean, unsigned int));
/* Add a field to the struct type currently being built. The type
--- 274,283 ----
will be NULL if there isn't one. If the second argument is NULL,
the third argument is a constant identifying this struct for use
! with tag_type. The fourth argument is TRUE for a struct, FALSE
for a union. The fifth argument is the size. If this is an
undefined struct or union, the size will be 0 and struct_field
will not be called before end_struct_type is called. */
! bfd_boolean (*start_struct_type)
! PARAMS ((PTR, const char *, unsigned int, bfd_boolean, unsigned int));
/* Add a field to the struct type currently being built. The type
***************
*** 285,293 ****
are the name, the bit position, the bit size (may be zero if the
field is not packed), and the visibility. */
! boolean (*struct_field) PARAMS ((PTR, const char *, bfd_vma, bfd_vma,
! enum debug_visibility));
/* Finish building a struct, and push it onto the type stack. */
! boolean (*end_struct_type) PARAMS ((PTR));
/* Start building a class. This is followed by calls to several
--- 285,293 ----
are the name, the bit position, the bit size (may be zero if the
field is not packed), and the visibility. */
! bfd_boolean (*struct_field)
! PARAMS ((PTR, const char *, bfd_vma, bfd_vma, enum debug_visibility));
/* Finish building a struct, and push it onto the type stack. */
! bfd_boolean (*end_struct_type) PARAMS ((PTR));
/* Start building a class. This is followed by calls to several
***************
*** 297,321 ****
finished by a call to end_class_type. The first five arguments
are the same as for start_struct_type. The sixth argument is
! true if there is a virtual function table; if there is, the
! seventh argument is true if the virtual function table can be
! found in the type itself, and is false if the type of the object
holding the virtual function table should be popped from the type
stack. */
! boolean (*start_class_type) PARAMS ((PTR, const char *, unsigned int,
! boolean, unsigned int, boolean,
! boolean));
/* Add a static member to the class currently being built. The
arguments are the field name, the physical name, and the
visibility. The type must be popped off the type stack. */
! boolean (*class_static_member) PARAMS ((PTR, const char *, const char *,
! enum debug_visibility));
!
/* Add a baseclass to the class currently being built. The type of
the baseclass must be popped off the type stack. The arguments
are the bit position, whether the class is virtual, and the
visibility. */
! boolean (*class_baseclass) PARAMS ((PTR, bfd_vma, boolean,
! enum debug_visibility));
/* Start adding a method to the class currently being built. This
--- 297,321 ----
finished by a call to end_class_type. The first five arguments
are the same as for start_struct_type. The sixth argument is
! TRUE if there is a virtual function table; if there is, the
! seventh argument is TRUE if the virtual function table can be
! found in the type itself, and is FALSE if the type of the object
holding the virtual function table should be popped from the type
stack. */
! bfd_boolean (*start_class_type)
! PARAMS ((PTR, const char *, unsigned int, bfd_boolean, unsigned int,
! bfd_boolean, bfd_boolean));
/* Add a static member to the class currently being built. The
arguments are the field name, the physical name, and the
visibility. The type must be popped off the type stack. */
! bfd_boolean (*class_static_member)
! PARAMS ((PTR, const char *, const char *, enum debug_visibility));
!
/* Add a baseclass to the class currently being built. The type of
the baseclass must be popped off the type stack. The arguments
are the bit position, whether the class is virtual, and the
visibility. */
! bfd_boolean (*class_baseclass)
! PARAMS ((PTR, bfd_vma, bfd_boolean, enum debug_visibility));
/* Start adding a method to the class currently being built. This
***************
*** 325,329 ****
with a call to class_end_method. The argument is the method
name. */
! boolean (*class_start_method) PARAMS ((PTR, const char *));
/* Describe a variant to the class method currently being built.
--- 325,329 ----
with a call to class_end_method. The argument is the method
name. */
! bfd_boolean (*class_start_method) PARAMS ((PTR, const char *));
/* Describe a variant to the class method currently being built.
***************
*** 334,341 ****
function table, and whether the context is on the type stack
(below the variant type). */
! boolean (*class_method_variant) PARAMS ((PTR, const char *,
! enum debug_visibility,
! boolean, boolean,
! bfd_vma, boolean));
/* Describe a static variant to the class method currently being
--- 334,340 ----
function table, and whether the context is on the type stack
(below the variant type). */
! bfd_boolean (*class_method_variant)
! PARAMS ((PTR, const char *, enum debug_visibility, bfd_boolean,
! bfd_boolean, bfd_vma, bfd_boolean));
/* Describe a static variant to the class method currently being
***************
*** 343,359 ****
except that the last two arguments are omitted. The type of the
variant must be popped off the type stack. */
! boolean (*class_static_method_variant) PARAMS ((PTR, const char *,
! enum debug_visibility,
! boolean, boolean));
/* Finish describing a class method. */
! boolean (*class_end_method) PARAMS ((PTR));
/* Finish describing a class, and push it onto the type stack. */
! boolean (*end_class_type) PARAMS ((PTR));
/* Push a type on the stack which was given a name by an earlier
call to typdef. */
! boolean (*typedef_type) PARAMS ((PTR, const char *));
/* Push a tagged type on the stack which was defined earlier. If
--- 342,358 ----
except that the last two arguments are omitted. The type of the
variant must be popped off the type stack. */
! bfd_boolean (*class_static_method_variant)
! PARAMS ((PTR, const char *, enum debug_visibility, bfd_boolean,
! bfd_boolean));
/* Finish describing a class method. */
! bfd_boolean (*class_end_method) PARAMS ((PTR));
/* Finish describing a class, and push it onto the type stack. */
! bfd_boolean (*end_class_type) PARAMS ((PTR));
/* Push a type on the stack which was given a name by an earlier
call to typdef. */
! bfd_boolean (*typedef_type) PARAMS ((PTR, const char *));
/* Push a tagged type on the stack which was defined earlier. If
***************
*** 366,374 ****
start_struct_type (start_class_type) and the call to
end_struct_type (end_class_type). */
! boolean (*tag_type) PARAMS ((PTR, const char *, unsigned int,
! enum debug_type_kind));
/* Pop the type stack, and typedef it to the given name. */
! boolean (*typdef) PARAMS ((PTR, const char *));
/* Pop the type stack, and declare it as a tagged struct or union or
--- 365,373 ----
start_struct_type (start_class_type) and the call to
end_struct_type (end_class_type). */
! bfd_boolean (*tag_type)
! PARAMS ((PTR, const char *, unsigned int, enum debug_type_kind));
/* Pop the type stack, and typedef it to the given name. */
! bfd_boolean (*typdef) PARAMS ((PTR, const char *));
/* Pop the type stack, and declare it as a tagged struct or union or
***************
*** 376,421 ****
was also passed when enum_type, start_struct_type, or
start_class_type was called. */
! boolean (*tag) PARAMS ((PTR, const char *));
/* This is called to record a named integer constant. */
! boolean (*int_constant) PARAMS ((PTR, const char *, bfd_vma));
/* This is called to record a named floating point constant. */
! boolean (*float_constant) PARAMS ((PTR, const char *, double));
/* This is called to record a typed integer constant. The type is
popped off the type stack. */
! boolean (*typed_constant) PARAMS ((PTR, const char *, bfd_vma));
/* This is called to record a variable. The type is popped off the
type stack. */
! boolean (*variable) PARAMS ((PTR, const char *, enum debug_var_kind,
! bfd_vma));
/* Start writing out a function. The return type must be popped off
! the stack. The boolean is true if the function is global. This
is followed by calls to function_parameter, followed by block
information. */
! boolean (*start_function) PARAMS ((PTR, const char *, boolean));
/* Record a function parameter for the current function. The type
must be popped off the stack. */
! boolean (*function_parameter) PARAMS ((PTR, const char *,
! enum debug_parm_kind, bfd_vma));
/* Start writing out a block. There is at least one top level block
per function. Blocks may be nested. The argument is the
starting address of the block. */
! boolean (*start_block) PARAMS ((PTR, bfd_vma));
/* Finish writing out a block. The argument is the ending address
of the block. */
! boolean (*end_block) PARAMS ((PTR, bfd_vma));
/* Finish writing out a function. */
! boolean (*end_function) PARAMS ((PTR));
/* Record line number information for the current compilation unit. */
! boolean (*lineno) PARAMS ((PTR, const char *, unsigned long, bfd_vma));
};
--- 375,420 ----
was also passed when enum_type, start_struct_type, or
start_class_type was called. */
! bfd_boolean (*tag) PARAMS ((PTR, const char *));
/* This is called to record a named integer constant. */
! bfd_boolean (*int_constant) PARAMS ((PTR, const char *, bfd_vma));
/* This is called to record a named floating point constant. */
! bfd_boolean (*float_constant) PARAMS ((PTR, const char *, double));
/* This is called to record a typed integer constant. The type is
popped off the type stack. */
! bfd_boolean (*typed_constant) PARAMS ((PTR, const char *, bfd_vma));
/* This is called to record a variable. The type is popped off the
type stack. */
! bfd_boolean (*variable)
! PARAMS ((PTR, const char *, enum debug_var_kind, bfd_vma));
/* Start writing out a function. The return type must be popped off
! the stack. The bfd_boolean is TRUE if the function is global. This
is followed by calls to function_parameter, followed by block
information. */
! bfd_boolean (*start_function) PARAMS ((PTR, const char *, bfd_boolean));
/* Record a function parameter for the current function. The type
must be popped off the stack. */
! bfd_boolean (*function_parameter)
! PARAMS ((PTR, const char *, enum debug_parm_kind, bfd_vma));
/* Start writing out a block. There is at least one top level block
per function. Blocks may be nested. The argument is the
starting address of the block. */
! bfd_boolean (*start_block) PARAMS ((PTR, bfd_vma));
/* Finish writing out a block. The argument is the ending address
of the block. */
! bfd_boolean (*end_block) PARAMS ((PTR, bfd_vma));
/* Finish writing out a function. */
! bfd_boolean (*end_function) PARAMS ((PTR));
/* Record line number information for the current compilation unit. */
! bfd_boolean (*lineno) PARAMS ((PTR, const char *, unsigned long, bfd_vma));
};
***************
*** 435,458 ****
unit. */
! extern boolean debug_set_filename PARAMS ((PTR, const char *));
/* Change source files to the given file name. This is used for
include files in a single compilation unit. */
! extern boolean debug_start_source PARAMS ((PTR, const char *));
/* Record a function definition. This implicitly starts a function
block. The debug_type argument is the type of the return value.
! The boolean indicates whether the function is globally visible.
The bfd_vma is the address of the start of the function. Currently
the parameter types are specified by calls to
debug_record_parameter. */
! extern boolean debug_record_function
! PARAMS ((PTR, const char *, debug_type, boolean, bfd_vma));
/* Record a parameter for the current function. */
! extern boolean debug_record_parameter
PARAMS ((PTR, const char *, debug_type, enum debug_parm_kind, bfd_vma));
--- 434,457 ----
unit. */
! extern bfd_boolean debug_set_filename PARAMS ((PTR, const char *));
/* Change source files to the given file name. This is used for
include files in a single compilation unit. */
! extern bfd_boolean debug_start_source PARAMS ((PTR, const char *));
/* Record a function definition. This implicitly starts a function
block. The debug_type argument is the type of the return value.
! The bfd_boolean indicates whether the function is globally visible.
The bfd_vma is the address of the start of the function. Currently
the parameter types are specified by calls to
debug_record_parameter. */
! extern bfd_boolean debug_record_function
! PARAMS ((PTR, const char *, debug_type, bfd_boolean, bfd_vma));
/* Record a parameter for the current function. */
! extern bfd_boolean debug_record_parameter
PARAMS ((PTR, const char *, debug_type, enum debug_parm_kind, bfd_vma));
***************
*** 460,464 ****
function ends. */
! extern boolean debug_end_function PARAMS ((PTR, bfd_vma));
/* Start a block in a function. All local information will be
--- 459,463 ----
function ends. */
! extern bfd_boolean debug_end_function PARAMS ((PTR, bfd_vma));
/* Start a block in a function. All local information will be
***************
*** 467,471 ****
is the address at which this block starts. */
! extern boolean debug_start_block PARAMS ((PTR, bfd_vma));
/* Finish a block in a function. This matches the call to
--- 466,470 ----
is the address at which this block starts. */
! extern bfd_boolean debug_start_block PARAMS ((PTR, bfd_vma));
/* Finish a block in a function. This matches the call to
***************
*** 473,513 ****
ends. */
! extern boolean debug_end_block PARAMS ((PTR, bfd_vma));
/* Associate a line number in the current source file with a given
address. */
! extern boolean debug_record_line PARAMS ((PTR, unsigned long, bfd_vma));
/* Start a named common block. This is a block of variables that may
move in memory. */
! extern boolean debug_start_common_block PARAMS ((PTR, const char *));
/* End a named common block. */
! extern boolean debug_end_common_block PARAMS ((PTR, const char *));
/* Record a named integer constant. */
! extern boolean debug_record_int_const PARAMS ((PTR, const char *, bfd_vma));
/* Record a named floating point constant. */
! extern boolean debug_record_float_const PARAMS ((PTR, const char *, double));
/* Record a typed constant with an integral value. */
! extern boolean debug_record_typed_const
PARAMS ((PTR, const char *, debug_type, bfd_vma));
/* Record a label. */
! extern boolean debug_record_label
PARAMS ((PTR, const char *, debug_type, bfd_vma));
/* Record a variable. */
! extern boolean debug_record_variable
PARAMS ((PTR, const char *, debug_type, enum debug_var_kind, bfd_vma));
--- 472,514 ----
ends. */
! extern bfd_boolean debug_end_block PARAMS ((PTR, bfd_vma));
/* Associate a line number in the current source file with a given
address. */
! extern bfd_boolean debug_record_line PARAMS ((PTR, unsigned long, bfd_vma));
/* Start a named common block. This is a block of variables that may
move in memory. */
! extern bfd_boolean debug_start_common_block PARAMS ((PTR, const char *));
/* End a named common block. */
! extern bfd_boolean debug_end_common_block PARAMS ((PTR, const char *));
/* Record a named integer constant. */
! extern bfd_boolean debug_record_int_const
! PARAMS ((PTR, const char *, bfd_vma));
/* Record a named floating point constant. */
! extern bfd_boolean debug_record_float_const
! PARAMS ((PTR, const char *, double));
/* Record a typed constant with an integral value. */
! extern bfd_boolean debug_record_typed_const
PARAMS ((PTR, const char *, debug_type, bfd_vma));
/* Record a label. */
! extern bfd_boolean debug_record_label
PARAMS ((PTR, const char *, debug_type, bfd_vma));
/* Record a variable. */
! extern bfd_boolean debug_record_variable
PARAMS ((PTR, const char *, debug_type, enum debug_var_kind, bfd_vma));
***************
*** 526,533 ****
extern debug_type debug_make_void_type PARAMS ((PTR));
! /* Make an integer type of a given size. The boolean argument is true
if the integer is unsigned. */
! extern debug_type debug_make_int_type PARAMS ((PTR, unsigned int, boolean));
/* Make a floating point type of a given size. FIXME: On some
--- 527,535 ----
extern debug_type debug_make_void_type PARAMS ((PTR));
! /* Make an integer type of a given size. The bfd_boolean argument is TRUE
if the integer is unsigned. */
! extern debug_type debug_make_int_type
! PARAMS ((PTR, unsigned int, bfd_boolean));
/* Make a floating point type of a given size. FIXME: On some
***************
*** 545,554 ****
extern debug_type debug_make_complex_type PARAMS ((PTR, unsigned int));
! /* Make a structure type. The second argument is true for a struct,
! false for a union. The third argument is the size of the struct.
The fourth argument is a NULL terminated array of fields. */
extern debug_type debug_make_struct_type
! PARAMS ((PTR, boolean, bfd_vma, debug_field *));
/* Make an object type. The first three arguments after the handle
--- 547,556 ----
extern debug_type debug_make_complex_type PARAMS ((PTR, unsigned int));
! /* Make a structure type. The second argument is TRUE for a struct,
! FALSE for a union. The third argument is the size of the struct.
The fourth argument is a NULL terminated array of fields. */
extern debug_type debug_make_struct_type
! PARAMS ((PTR, bfd_boolean, bfd_vma, debug_field *));
/* Make an object type. The first three arguments after the handle
***************
*** 556,565 ****
a NULL terminated array of base classes, a NULL terminated array of
methods, the type of the object holding the virtual function table
! if it is not this object, and a boolean which is true if this
object has its own virtual function table. */
extern debug_type debug_make_object_type
! PARAMS ((PTR, boolean, bfd_vma, debug_field *, debug_baseclass *,
! debug_method *, debug_type, boolean));
/* Make an enumeration type. The arguments are a null terminated
--- 558,567 ----
a NULL terminated array of base classes, a NULL terminated array of
methods, the type of the object holding the virtual function table
! if it is not this object, and a bfd_boolean which is TRUE if this
object has its own virtual function table. */
extern debug_type debug_make_object_type
! PARAMS ((PTR, bfd_boolean, bfd_vma, debug_field *, debug_baseclass *,
! debug_method *, debug_type, bfd_boolean));
/* Make an enumeration type. The arguments are a null terminated
***************
*** 576,585 ****
/* Make a function type. The second argument is the return type. The
third argument is a NULL terminated array of argument types. The
! fourth argument is true if the function takes a variable number of
arguments. If the third argument is NULL, then the argument types
are unknown. */
extern debug_type debug_make_function_type
! PARAMS ((PTR, debug_type, debug_type *, boolean));
/* Make a reference to a given type. */
--- 578,587 ----
/* Make a function type. The second argument is the return type. The
third argument is a NULL terminated array of argument types. The
! fourth argument is TRUE if the function takes a variable number of
arguments. If the third argument is NULL, then the argument types
are unknown. */
extern debug_type debug_make_function_type
! PARAMS ((PTR, debug_type, debug_type *, bfd_boolean));
/* Make a reference to a given type. */
***************
*** 596,611 ****
array. The fourth and fifth argument are the lower and upper
bounds, respectively (if the bounds are not known, lower should be
! 0 and upper should be -1). The sixth argument is true if this
array is actually a string, as in C. */
extern debug_type debug_make_array_type
PARAMS ((PTR, debug_type, debug_type, bfd_signed_vma, bfd_signed_vma,
! boolean));
/* Make a set of a given type. For example, a Pascal set type. The
! boolean argument is true if this set is actually a bitstring, as in
CHILL. */
! extern debug_type debug_make_set_type PARAMS ((PTR, debug_type, boolean));
/* Make a type for a pointer which is relative to an object. The
--- 598,613 ----
array. The fourth and fifth argument are the lower and upper
bounds, respectively (if the bounds are not known, lower should be
! 0 and upper should be -1). The sixth argument is TRUE if this
array is actually a string, as in C. */
extern debug_type debug_make_array_type
PARAMS ((PTR, debug_type, debug_type, bfd_signed_vma, bfd_signed_vma,
! bfd_boolean));
/* Make a set of a given type. For example, a Pascal set type. The
! bfd_boolean argument is TRUE if this set is actually a bitstring, as in
CHILL. */
! extern debug_type debug_make_set_type PARAMS ((PTR, debug_type, bfd_boolean));
/* Make a type for a pointer which is relative to an object. The
***************
*** 620,624 ****
return type. The third argument is the domain. The fourth
argument is a NULL terminated array of argument types. The fifth
! argument is true if the function takes a variable number of
arguments, in which case the array of argument types indicates the
types of the first arguments. The domain and the argument array
--- 622,626 ----
return type. The third argument is the domain. The fourth
argument is a NULL terminated array of argument types. The fifth
! argument is TRUE if the function takes a variable number of
arguments, in which case the array of argument types indicates the
types of the first arguments. The domain and the argument array
***************
*** 628,632 ****
extern debug_type debug_make_method_type
! PARAMS ((PTR, debug_type, debug_type, debug_type *, boolean));
/* Make a const qualified version of a given type. */
--- 630,634 ----
extern debug_type debug_make_method_type
! PARAMS ((PTR, debug_type, debug_type, debug_type *, bfd_boolean));
/* Make a const qualified version of a given type. */
***************
*** 651,655 ****
extern debug_baseclass debug_make_baseclass
! PARAMS ((PTR, debug_type, bfd_vma, boolean, enum debug_visibility));
/* Make a field for a struct. The second argument is the name. The
--- 653,657 ----
extern debug_baseclass debug_make_baseclass
! PARAMS ((PTR, debug_type, bfd_vma, bfd_boolean, enum debug_visibility));
/* Make a field for a struct. The second argument is the name. The
***************
*** 691,696 ****
extern debug_method_variant debug_make_method_variant
! PARAMS ((PTR, const char *, debug_type, enum debug_visibility, boolean,
! boolean, bfd_vma, debug_type));
/* Make a static method argument. The arguments are the same as for
--- 693,698 ----
extern debug_method_variant debug_make_method_variant
! PARAMS ((PTR, const char *, debug_type, enum debug_visibility, bfd_boolean,
! bfd_boolean, bfd_vma, debug_type));
/* Make a static method argument. The arguments are the same as for
***************
*** 699,704 ****
extern debug_method_variant debug_make_static_method_variant
! PARAMS ((PTR, const char *, debug_type, enum debug_visibility, boolean,
! boolean));
/* Name a type. This returns a new type with an attached name. */
--- 701,706 ----
extern debug_method_variant debug_make_static_method_variant
! PARAMS ((PTR, const char *, debug_type, enum debug_visibility, bfd_boolean,
! bfd_boolean));
/* Name a type. This returns a new type with an attached name. */
***************
*** 713,717 ****
/* Record the size of a given type. */
! extern boolean debug_record_type_size PARAMS ((PTR, debug_type, unsigned int));
/* Find a named type. */
--- 715,720 ----
/* Record the size of a given type. */
! extern bfd_boolean debug_record_type_size
! PARAMS ((PTR, debug_type, unsigned int));
/* Find a named type. */
***************
*** 744,753 ****
function types). This may be used to determine whether a method
type is a stub method or not. The last argument points to a
! boolean which is set to true if the function takes a variable
number of arguments. */
! extern const debug_type *debug_get_parameter_types PARAMS ((PTR,
! debug_type,
! boolean *));
/* Get the target type of a pointer or reference or const or volatile
--- 747,755 ----
function types). This may be used to determine whether a method
type is a stub method or not. The last argument points to a
! bfd_boolean which is set to TRUE if the function takes a variable
number of arguments. */
! extern const debug_type *debug_get_parameter_types
! PARAMS ((PTR, debug_type, bfd_boolean *));
/* Get the target type of a pointer or reference or const or volatile
***************
*** 794,798 ****
which is passed to the functions. */
! extern boolean debug_write PARAMS ((PTR, const struct debug_write_fns *, PTR));
#endif /* DEBUG_H */
--- 796,801 ----
which is passed to the functions. */
! extern bfd_boolean debug_write
! PARAMS ((PTR, const struct debug_write_fns *, PTR));
#endif /* DEBUG_H */
Index: debugx.c
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/debugx.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** debugx.c 10 Apr 2002 13:39:05 -0000 1.1
--- debugx.c 25 Nov 2003 18:18:25 -0000 1.2
***************
*** 121,125 ****
/* DEBUG_KIND_INT. */
/* Whether the integer is unsigned. */
! boolean kint;
/* DEBUG_KIND_STRUCT, DEBUG_KIND_UNION, DEBUG_KIND_CLASS,
DEBUG_KIND_UNION_CLASS. */
--- 121,125 ----
/* DEBUG_KIND_INT. */
/* Whether the integer is unsigned. */
! bfd_boolean kint;
/* DEBUG_KIND_STRUCT, DEBUG_KIND_UNION, DEBUG_KIND_CLASS,
[...1397 lines suppressed...]
case DEBUG_KIND_VOLATILE:
//return (*fns->volatile_type) (fhandle);
if (! print_value (abfd, syms, symcount, info, type->u.kvolatile, (struct debug_name *) NULL, hprocess, addr, level, indent))
! return FALSE;
! return TRUE;
case DEBUG_KIND_NAMED:
return print_value (abfd, syms, symcount, info, type->u.knamed->type, (struct debug_name *) NULL, hprocess, addr, level, indent);
***************
*** 1654,1658 ****
default:
abort ();
! return false;
}
}
--- 1654,1658 ----
default:
abort ();
! return FALSE;
}
}
Index: exchndl.c
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/exchndl.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** exchndl.c 16 Jan 2003 20:58:03 -0000 1.5
--- exchndl.c 25 Nov 2003 18:18:25 -0000 1.6
***************
*** 14,17 ****
--- 14,18 ----
#include <stdio.h>
#include <stdlib.h>
+ #include <malloc.h>
***************
*** 59,63 ****
// Read in the symbol table.
! static boolean
slurp_symtab (bfd *abfd, asymbol ***syms, long *symcount)
{
--- 60,64 ----
// Read in the symbol table.
! static bfd_boolean
slurp_symtab (bfd *abfd, asymbol ***syms, long *symcount)
{
***************
*** 65,81 ****
if ((bfd_get_file_flags (abfd) & HAS_SYMS) == 0)
! return false;
storage = bfd_get_symtab_upper_bound (abfd);
if (storage < 0)
! return false;
if((*syms = (asymbol **) malloc (storage)) == NULL)
! return false;
if((*symcount = bfd_canonicalize_symtab (abfd, *syms)) < 0)
! return false;
! return true;
}
--- 66,82 ----
if ((bfd_get_file_flags (abfd) & HAS_SYMS) == 0)
! return FALSE;
storage = bfd_get_symtab_upper_bound (abfd);
if (storage < 0)
! return FALSE;
if((*syms = (asymbol **) malloc (storage)) == NULL)
! return FALSE;
if((*symcount = bfd_canonicalize_symtab (abfd, *syms)) < 0)
! return FALSE;
! return TRUE;
}
***************
*** 88,92 ****
const char *functionname;
unsigned int line;
! boolean found;
};
--- 89,93 ----
const char *functionname;
unsigned int line;
! bfd_boolean found;
};
***************
*** 151,157 ****
info.syms = syms;
! info.found = false;
bfd_map_over_sections (abfd, find_address_in_section, (PTR) &info);
! if (info.found == false || info.line == 0)
return FALSE;
--- 152,158 ----
info.syms = syms;
! info.found = FALSE;
bfd_map_over_sections (abfd, find_address_in_section, (PTR) &info);
! if (info.found == FALSE || info.line == 0)
return FALSE;
***************
*** 182,188 ****
info.syms = syms;
! info.found = false;
bfd_map_over_sections (abfd, find_address_in_section, (PTR) &info);
! if (info.found == false || info.line == 0)
return FALSE;
--- 183,189 ----
info.syms = syms;
! info.found = FALSE;
bfd_map_over_sections (abfd, find_address_in_section, (PTR) &info);
! if (info.found == FALSE || info.line == 0)
return FALSE;
Index: ieee.c
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/ieee.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ieee.c 10 Apr 2002 13:39:05 -0000 1.1
--- ieee.c 25 Nov 2003 18:18:25 -0000 1.2
***************
*** 1,4 ****
/* ieee.c -- Read and write IEEE-695 debugging information.
! Copyright (C) 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
--- 1,4 ----
/* ieee.c -- Read and write IEEE-695 debugging information.
! Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ia...@cy...>.
***************
[...8722 lines suppressed...]
! return false;
}
--- 7665,7669 ----
|| ! ieee_write_asn (info, info->lineno_name_indx,
info->pending_lineno_addr))
! return FALSE;
}
***************
*** 7615,7618 ****
info->pending_lineno_addr = addr;
! return true;
}
--- 7672,7675 ----
info->pending_lineno_addr = addr;
! return TRUE;
}
Index: ieee.h
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/ieee.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ieee.h 10 Apr 2002 13:39:05 -0000 1.1
--- ieee.h 25 Nov 2003 18:18:25 -0000 1.2
***************
*** 1,3 ****
--- 1,21 ----
/* IEEE Standard 695-1980 "Universal Format for Object Modules" header file
+
+ Copyright 2001 Free Software Foundation, Inc.
+
+ 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, 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.
+
Contributed by Cygnus Support. */
***************
*** 5,137 ****
#define Module_Beginning 0xe0
! typedef struct ieee_module {
! char *processor;
! char *module_name;
! } ieee_module_begin_type;
#define Address_Descriptor 0xec
! typedef struct ieee_address {
! bfd_vma number_of_bits_mau;
! bfd_vma number_of_maus_in_address;
! unsigned char byte_order;
#define IEEE_LITTLE 0xcc
#define IEEE_BIG 0xcd
! } ieee_address_descriptor_type;
!
! typedef union ieee_w_variable {
! file_ptr offset[N_W_VARIABLES];
! struct {
! file_ptr extension_record;
! file_ptr environmental_record;
! file_ptr section_part;
! file_ptr external_part;
! file_ptr debug_information_part;
! file_ptr data_part;
! file_ptr trailer_part;
! file_ptr me_record;
! } r;
! } ieee_w_variable_type;
!
!
typedef enum ieee_record
! {
! ieee_number_start_enum = 0x00,
! ieee_number_end_enum=0x7f,
! ieee_number_repeat_start_enum = 0x80,
! ieee_number_repeat_end_enum = 0x88,
! ieee_number_repeat_4_enum = 0x84,
! ieee_number_repeat_3_enum = 0x83,
! ieee_number_repeat_2_enum = 0x82,
! ieee_number_repeat_1_enum = 0x81,
! ieee_module_beginning_enum = 0xe0,
! ieee_module_end_enum = 0xe1,
! ieee_extension_length_1_enum = 0xde,
! ieee_extension_length_2_enum = 0xdf,
! ieee_section_type_enum = 0xe6,
! ieee_section_alignment_enum = 0xe7,
! ieee_external_symbol_enum = 0xe8,
! ieee_comma = 0x90,
! ieee_external_reference_enum = 0xe9,
! ieee_set_current_section_enum = 0xe5,
! ieee_address_descriptor_enum = 0xec,
! ieee_load_constant_bytes_enum = 0xed,
! ieee_load_with_relocation_enum = 0xe4,
! ieee_variable_A_enum = 0xc1,
! ieee_variable_B_enum = 0xc2,
! ieee_variable_C_enum = 0xc3,
! ieee_variable_D_enum = 0xc4,
! ieee_variable_E_enum = 0xc5,
! ieee_variable_F_enum = 0xc6,
! ieee_variable_G_enum = 0xc7,
! ieee_variable_H_enum = 0xc8,
! ieee_variable_I_enum = 0xc9,
! ieee_variable_J_enum = 0xca,
! ieee_variable_K_enum = 0xcb,
! ieee_variable_L_enum = 0xcc,
! ieee_variable_M_enum = 0xcd,
! ieee_variable_N_enum = 0xce,
! ieee_variable_O_enum = 0xcf,
! ieee_variable_P_enum = 0xd0,
! ieee_variable_Q_enum = 0xd1,
! ieee_variable_R_enum = 0xd2,
! ieee_variable_S_enum = 0xd3,
! ieee_variable_T_enum = 0xd4,
! ieee_variable_U_enum = 0xd5,
! ieee_variable_V_enum = 0xd6,
! ieee_variable_W_enum = 0xd7,
! ieee_variable_X_enum = 0xd8,
! ieee_variable_Y_enum = 0xd9,
! ieee_variable_Z_enum = 0xda,
! ieee_function_plus_enum = 0xa5,
! ieee_function_minus_enum = 0xa6,
! ieee_function_signed_open_b_enum = 0xba,
! ieee_function_signed_close_b_enum = 0xbb,
! ieee_function_unsigned_open_b_enum = 0xbc,
! ieee_function_unsigned_close_b_enum = 0xbd,
! ieee_function_either_open_b_enum = 0xbe,
! ieee_function_either_close_b_enum = 0xbf,
! ieee_record_seperator_enum = 0xdb,
! ieee_e2_first_byte_enum = 0xe2,
! ieee_section_size_enum = 0xe2d3,
! ieee_physical_region_size_enum = 0xe2c1,
! ieee_region_base_address_enum = 0xe2c2,
! ieee_mau_size_enum = 0xe2c6,
! ieee_m_value_enum = 0xe2cd,
! ieee_section_base_address_enum = 0xe2cc,
! ieee_asn_record_enum = 0xe2ce,
! ieee_section_offset_enum = 0xe2d2,
! ieee_value_starting_address_enum = 0xe2c7,
! ieee_assign_value_to_variable_enum = 0xe2d7,
! ieee_set_current_pc_enum = 0xe2d0,
! ieee_value_record_enum = 0xe2c9,
! ieee_nn_record = 0xf0,
! ieee_at_record_enum = 0xf1,
! ieee_ty_record_enum = 0xf2,
! ieee_attribute_record_enum = 0xf1c9,
! ieee_atn_record_enum = 0xf1ce,
! ieee_external_reference_info_record_enum = 0xf1d8,
! ieee_weak_external_reference_enum= 0xf4,
! ieee_repeat_data_enum = 0xf7,
! ieee_bb_record_enum = 0xf8,
! ieee_be_record_enum = 0xf9
! } ieee_record_enum_type;
!
- typedef struct ieee_section {
- unsigned int section_index;
- unsigned int section_type;
- char *section_name;
- unsigned int parent_section_index;
- unsigned int sibling_section_index;
- unsigned int context_index;
- } ieee_section_type;
#define IEEE_REFERENCE_BASE 11
#define IEEE_PUBLIC_BASE 32
--- 23,163 ----
#define Module_Beginning 0xe0
! typedef struct ieee_module
! {
! char *processor;
! char *module_name;
! }
! ieee_module_begin_type;
#define Address_Descriptor 0xec
! typedef struct ieee_address
! {
! bfd_vma number_of_bits_mau;
! bfd_vma number_of_maus_in_address;
! unsigned char byte_order;
#define IEEE_LITTLE 0xcc
#define IEEE_BIG 0xcd
! }
! ieee_address_descriptor_type;
+ typedef union ieee_w_variable
+ {
+ file_ptr offset[N_W_VARIABLES];
+ struct
+ {
+ file_ptr extension_record;
+ file_ptr environmental_record;
+ file_ptr section_part;
+ file_ptr external_part;
+ file_ptr debug_information_part;
+ file_ptr data_part;
+ file_ptr trailer_part;
+ file_ptr me_record;
+ }
+ r;
+ }
+ ieee_w_variable_type;
typedef enum ieee_record
! {
! ieee_number_start_enum = 0x00,
! ieee_number_end_enum=0x7f,
! ieee_number_repeat_start_enum = 0x80,
! ieee_number_repeat_end_enum = 0x88,
! ieee_number_repeat_4_enum = 0x84,
! ieee_number_repeat_3_enum = 0x83,
! ieee_number_repeat_2_enum = 0x82,
! ieee_number_repeat_1_enum = 0x81,
! ieee_module_beginning_enum = 0xe0,
! ieee_module_end_enum = 0xe1,
! ieee_extension_length_1_enum = 0xde,
! ieee_extension_length_2_enum = 0xdf,
! ieee_section_type_enum = 0xe6,
! ieee_section_alignment_enum = 0xe7,
! ieee_external_symbol_enum = 0xe8,
! ieee_comma = 0x90,
! ieee_external_reference_enum = 0xe9,
! ieee_set_current_section_enum = 0xe5,
! ieee_address_descriptor_enum = 0xec,
! ieee_load_constant_bytes_enum = 0xed,
! ieee_load_with_relocation_enum = 0xe4,
! ieee_variable_A_enum = 0xc1,
! ieee_variable_B_enum = 0xc2,
! ieee_variable_C_enum = 0xc3,
! ieee_variable_D_enum = 0xc4,
! ieee_variable_E_enum = 0xc5,
! ieee_variable_F_enum = 0xc6,
! ieee_variable_G_enum = 0xc7,
! ieee_variable_H_enum = 0xc8,
! ieee_variable_I_enum = 0xc9,
! ieee_variable_J_enum = 0xca,
! ieee_variable_K_enum = 0xcb,
! ieee_variable_L_enum = 0xcc,
! ieee_variable_M_enum = 0xcd,
! ieee_variable_N_enum = 0xce,
! ieee_variable_O_enum = 0xcf,
! ieee_variable_P_enum = 0xd0,
! ieee_variable_Q_enum = 0xd1,
! ieee_variable_R_enum = 0xd2,
! ieee_variable_S_enum = 0xd3,
! ieee_variable_T_enum = 0xd4,
! ieee_variable_U_enum = 0xd5,
! ieee_variable_V_enum = 0xd6,
! ieee_variable_W_enum = 0xd7,
! ieee_variable_X_enum = 0xd8,
! ieee_variable_Y_enum = 0xd9,
! ieee_variable_Z_enum = 0xda,
! ieee_function_plus_enum = 0xa5,
! ieee_function_minus_enum = 0xa6,
! ieee_function_signed_open_b_enum = 0xba,
! ieee_function_signed_close_b_enum = 0xbb,
! ieee_function_unsigned_open_b_enum = 0xbc,
! ieee_function_unsigned_close_b_enum = 0xbd,
! ieee_function_either_open_b_enum = 0xbe,
! ieee_function_either_close_b_enum = 0xbf,
! ieee_record_seperator_enum = 0xdb,
! ieee_e2_first_byte_enum = 0xe2,
! ieee_section_size_enum = 0xe2d3,
! ieee_physical_region_size_enum = 0xe2c1,
! ieee_region_base_address_enum = 0xe2c2,
! ieee_mau_size_enum = 0xe2c6,
! ieee_m_value_enum = 0xe2cd,
! ieee_section_base_address_enum = 0xe2cc,
! ieee_asn_record_enum = 0xe2ce,
! ieee_section_offset_enum = 0xe2d2,
! ieee_value_starting_address_enum = 0xe2c7,
! ieee_assign_value_to_variable_enum = 0xe2d7,
! ieee_set_current_pc_enum = 0xe2d0,
! ieee_value_record_enum = 0xe2c9,
! ieee_nn_record = 0xf0,
! ieee_at_record_enum = 0xf1,
! ieee_ty_record_enum = 0xf2,
! ieee_attribute_record_enum = 0xf1c9,
! ieee_atn_record_enum = 0xf1ce,
! ieee_external_reference_info_record_enum = 0xf1d8,
! ieee_weak_external_reference_enum= 0xf4,
! ieee_repeat_data_enum = 0xf7,
! ieee_bb_record_enum = 0xf8,
! ieee_be_record_enum = 0xf9
! }
! ieee_record_enum_type;
!
! typedef struct ieee_section
! {
! unsigned int section_index;
! unsigned int section_type;
! char * section_name;
! unsigned int parent_section_index;
! unsigned int sibling_section_index;
! unsigned int context_index;
! }
! ieee_section_type;
#define IEEE_REFERENCE_BASE 11
#define IEEE_PUBLIC_BASE 32
Index: prdbg.c
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/prdbg.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** prdbg.c 10 Apr 2002 13:39:05 -0000 1.1
--- prdbg.c 25 Nov 2003 18:18:25 -0000 1.2
***************
*** 62,133 ****
static void indent PARAMS ((struct pr_handle *));
! static boolean push_type PARAMS ((struct pr_handle *, const char *));
! static boolean prepend_type PARAMS ((struct pr_handle *, const char *));
! static boolean append_type PARAMS ((struct pr_handle *, const char *));
! static boolean substitute_type PARAMS ((struct pr_handle *, const char *));
! static boolean indent_type PARAMS ((struct pr_handle *));
static char *pop_type PARAMS ((struct pr_handle *));
! static void print_vma PARAMS ((bfd_vma, char *, boolean, boolean));
! static boolean pr_fix_visibility
[...2390 lines suppressed...]
***************
*** 1856,1863 ****
/*ARGSUSED*/
! static boolean
pr_end_function (p)
PTR p ATTRIBUTE_UNUSED;
{
! return true;
}
--- 1856,1863 ----
/*ARGSUSED*/
! static bfd_boolean
pr_end_function (p)
PTR p ATTRIBUTE_UNUSED;
{
! return TRUE;
}
Index: rdcoff.c
===================================================================
RCS file: /cvsroot/mingw/ut...
[truncated message content] |
|
From: <jrf...@us...> - 2003-11-25 18:18:30
|
Update of /cvsroot/mingw/utils/drmingw/include
In directory sc8-pr-cvs1:/tmp/cvs-serv20486/include
Modified Files:
dis-asm.h getopt.h libcoff.h libiberty.h
Added Files:
filenames.h safe-ctype.h
Log Message:
Merge with latest binutils source.
--- NEW FILE: filenames.h ---
/* Macros for taking apart, interpreting and processing file names.
These are here because some non-Posix (a.k.a. DOSish) systems have
drive letter brain-damage at the beginning of an absolute file name,
use forward- and back-slash in path names interchangeably, and
some of them have case-insensitive file names.
Copyright 2000, 2001 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
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 FILENAMES_H
#define FILENAMES_H
#if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined (__CYGWIN__)
#ifndef HAVE_DOS_BASED_FILE_SYSTEM
#define HAVE_DOS_BASED_FILE_SYSTEM 1
#endif
#define IS_DIR_SEPARATOR(c) ((c) == '/' || (c) == '\\')
/* Note that IS_ABSOLUTE_PATH accepts d:foo as well, although it is
only semi-absolute. This is because the users of IS_ABSOLUTE_PATH
want to know whether to prepend the current working directory to
a file name, which should not be done with a name like d:foo. */
#define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]) || (((f)[0]) && ((f)[1] == ':')))
#define FILENAME_CMP(s1, s2) strcasecmp(s1, s2)
#else /* not DOSish */
#define IS_DIR_SEPARATOR(c) ((c) == '/')
#define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]))
#define FILENAME_CMP(s1, s2) strcmp(s1, s2)
#endif /* not DOSish */
#endif /* FILENAMES_H */
--- NEW FILE: safe-ctype.h ---
/* <ctype.h> replacement macros.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Contributed by Zack Weinberg <za...@st...>.
This file is part of the libiberty library.
Libiberty is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
Libiberty 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with libiberty; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* This is a compatible replacement of the standard C library's <ctype.h>
with the following properties:
- Implements all isxxx() macros required by C99.
- Also implements some character classes useful when
parsing C-like languages.
- Does not change behavior depending on the current locale.
- Behaves properly for all values in the range of a signed or
unsigned char.
To avoid conflicts, this header defines the isxxx functions in upper
case, e.g. ISALPHA not isalpha. */
#ifndef SAFE_CTYPE_H
#define SAFE_CTYPE_H
#ifdef isalpha
#error "safe-ctype.h and ctype.h may not be used simultaneously"
#else
/* Categories. */
enum {
/* In C99 */
_sch_isblank = 0x0001, /* space \t */
_sch_iscntrl = 0x0002, /* nonprinting characters */
_sch_isdigit = 0x0004, /* 0-9 */
_sch_islower = 0x0008, /* a-z */
_sch_isprint = 0x0010, /* any printing character including ' ' */
_sch_ispunct = 0x0020, /* all punctuation */
_sch_isspace = 0x0040, /* space \t \n \r \f \v */
_sch_isupper = 0x0080, /* A-Z */
_sch_isxdigit = 0x0100, /* 0-9A-Fa-f */
/* Extra categories useful to cpplib. */
_sch_isidst = 0x0200, /* A-Za-z_ */
_sch_isvsp = 0x0400, /* \n \r */
_sch_isnvsp = 0x0800, /* space \t \f \v \0 */
/* Combinations of the above. */
_sch_isalpha = _sch_isupper|_sch_islower, /* A-Za-z */
_sch_isalnum = _sch_isalpha|_sch_isdigit, /* A-Za-z0-9 */
_sch_isidnum = _sch_isidst|_sch_isdigit, /* A-Za-z0-9_ */
_sch_isgraph = _sch_isalnum|_sch_ispunct, /* isprint and not space */
_sch_iscppsp = _sch_isvsp|_sch_isnvsp, /* isspace + \0 */
_sch_isbasic = _sch_isprint|_sch_iscppsp /* basic charset of ISO C
(plus ` and @) */
};
/* Character classification. */
extern const unsigned short _sch_istable[256];
#define _sch_test(c, bit) (_sch_istable[(c) & 0xff] & (unsigned short)(bit))
#define ISALPHA(c) _sch_test(c, _sch_isalpha)
#define ISALNUM(c) _sch_test(c, _sch_isalnum)
#define ISBLANK(c) _sch_test(c, _sch_isblank)
#define ISCNTRL(c) _sch_test(c, _sch_iscntrl)
#define ISDIGIT(c) _sch_test(c, _sch_isdigit)
#define ISGRAPH(c) _sch_test(c, _sch_isgraph)
#define ISLOWER(c) _sch_test(c, _sch_islower)
#define ISPRINT(c) _sch_test(c, _sch_isprint)
#define ISPUNCT(c) _sch_test(c, _sch_ispunct)
#define ISSPACE(c) _sch_test(c, _sch_isspace)
#define ISUPPER(c) _sch_test(c, _sch_isupper)
#define ISXDIGIT(c) _sch_test(c, _sch_isxdigit)
#define ISIDNUM(c) _sch_test(c, _sch_isidnum)
#define ISIDST(c) _sch_test(c, _sch_isidst)
#define IS_ISOBASIC(c) _sch_test(c, _sch_isbasic)
#define IS_VSPACE(c) _sch_test(c, _sch_isvsp)
#define IS_NVSPACE(c) _sch_test(c, _sch_isnvsp)
#define IS_SPACE_OR_NUL(c) _sch_test(c, _sch_iscppsp)
/* Character transformation. */
extern const unsigned char _sch_toupper[256];
extern const unsigned char _sch_tolower[256];
#define TOUPPER(c) _sch_toupper[(c) & 0xff]
#define TOLOWER(c) _sch_tolower[(c) & 0xff]
#endif /* no ctype.h */
#endif /* SAFE_CTYPE_H */
Index: dis-asm.h
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/include/dis-asm.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** dis-asm.h 2 Dec 2002 22:12:25 -0000 1.2
--- dis-asm.h 25 Nov 2003 18:18:26 -0000 1.3
***************
*** 211,214 ****
--- 211,215 ----
extern int print_insn_i860 PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_i960 PARAMS ((bfd_vma, disassemble_info*));
+ extern int print_insn_ip2k PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_m32r PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_m88k PARAMS ((bfd_vma, disassemble_info*));
***************
*** 217,220 ****
--- 218,222 ----
extern int print_insn_mn10200 PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_mn10300 PARAMS ((bfd_vma, disassemble_info*));
+ extern int print_insn_msp430 PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_ns32k PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_openrisc PARAMS ((bfd_vma, disassemble_info*));
***************
*** 229,232 ****
--- 231,235 ----
extern int print_insn_sh PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_tic30 PARAMS ((bfd_vma, disassemble_info*));
+ extern int print_insn_tic4x PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_tic54x PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_tic80 PARAMS ((bfd_vma, disassemble_info*));
***************
*** 238,245 ****
--- 241,251 ----
extern int print_insn_sh64x_media PARAMS ((bfd_vma, disassemble_info *));
extern int print_insn_frv PARAMS ((bfd_vma, disassemble_info *));
+ extern int print_insn_iq2000 PARAMS ((bfd_vma, disassemble_info *));
extern disassembler_ftype arc_get_disassembler PARAMS ((void *));
extern disassembler_ftype cris_get_disassembler PARAMS ((bfd *));
+ extern void print_mips_disassembler_options PARAMS ((FILE *));
+ extern void print_ppc_disassembler_options PARAMS ((FILE *));
extern void print_arm_disassembler_options PARAMS ((FILE *));
extern void parse_arm_disassembler_option PARAMS ((char *));
***************
*** 316,320 ****
#ifdef __cplusplus
! };
#endif
--- 322,326 ----
#ifdef __cplusplus
! }
#endif
Index: getopt.h
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/include/getopt.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** getopt.h 29 Sep 2002 23:50:26 -0000 1.1
--- getopt.h 25 Nov 2003 18:18:26 -0000 1.2
***************
*** 1,5 ****
/* Declarations for getopt.
! Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000
! Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
--- 1,5 ----
/* Declarations for getopt.
! Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 2000,
! 2002 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
***************
*** 109,117 ****
#if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT)
/* Many other libraries have conflicting prototypes for getopt, with
! differences in the consts, in stdlib.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else
extern int getopt ();
#endif
#endif /* !HAVE_DECL_GETOPT */
--- 109,119 ----
#if defined (__GNU_LIBRARY__) || defined (HAVE_DECL_GETOPT)
/* Many other libraries have conflicting prototypes for getopt, with
! differences in the consts, in unistd.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else
+ #ifndef __cplusplus
extern int getopt ();
+ #endif /* __cplusplus */
#endif
#endif /* !HAVE_DECL_GETOPT */
Index: libcoff.h
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/include/libcoff.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** libcoff.h 2 Dec 2002 22:12:25 -0000 1.2
--- libcoff.h 25 Nov 2003 18:18:26 -0000 1.3
***************
*** 79,92 ****
_bfd_coff_get_external_symbols. */
PTR external_syms;
! /* If this is true, the external_syms may not be freed. */
! boolean keep_syms;
/* The string table. May be NULL. Read by
_bfd_coff_read_string_table. */
char *strings;
! /* If this is true, the strings may not be freed. */
! boolean keep_strings;
! /* If this is true, the strings have been written out already. */
! boolean strings_written;
/* is this a PE format coff file */
--- 79,92 ----
_bfd_coff_get_external_symbols. */
PTR external_syms;
! /* If this is TRUE, the external_syms may not be freed. */
! bfd_boolean keep_syms;
/* The string table. May be NULL. Read by
_bfd_coff_read_string_table. */
char *strings;
! /* If this is TRUE, the strings may not be freed. */
! bfd_boolean keep_strings;
! /* If this is TRUE, the strings have been written out already. */
! bfd_boolean strings_written;
/* is this a PE format coff file */
***************
*** 122,129 ****
int dll;
int has_reloc_section;
! boolean (*in_reloc_p) PARAMS((bfd *, reloc_howto_type *));
flagword real_flags;
int target_subsystem;
! boolean force_minimum_alignment;
} pe_data_type;
--- 122,129 ----
int dll;
int has_reloc_section;
! bfd_boolean (*in_reloc_p) PARAMS((bfd *, reloc_howto_type *));
flagword real_flags;
int target_subsystem;
! bfd_boolean force_minimum_alignment;
} pe_data_type;
***************
*** 137,145 ****
coff_data_type coff;
! /* True if this is an XCOFF64 file. */
! boolean xcoff64;
! /* True if a large a.out header should be generated. */
! boolean full_aouthdr;
/* TOC value. */
--- 137,145 ----
coff_data_type coff;
! /* TRUE if this is an XCOFF64 file. */
! bfd_boolean xcoff64;
! /* TRUE if a large a.out header should be generated. */
! bfd_boolean full_aouthdr;
/* TOC value. */
***************
*** 189,198 ****
/* The relocs, swapped into COFF internal form. This may be NULL. */
struct internal_reloc *relocs;
! /* If this is true, the relocs entry may not be freed. */
! boolean keep_relocs;
/* The section contents. This may be NULL. */
bfd_byte *contents;
! /* If this is true, the contents entry may not be freed. */
! boolean keep_contents;
/* Information cached by coff_find_nearest_line. */
bfd_vma offset;
--- 189,198 ----
/* The relocs, swapped into COFF internal form. This may be NULL. */
struct internal_reloc *relocs;
! /* If this is TRUE, the relocs entry may not be freed. */
! bfd_boolean keep_relocs;
/* The section contents. This may be NULL. */
bfd_byte *contents;
! /* If this is TRUE, the contents entry may not be freed. */
! bfd_boolean keep_contents;
/* Information cached by coff_find_nearest_line. */
bfd_vma offset;
***************
*** 296,300 ****
(bfd_link_hash_traverse \
(&(table)->root, \
! (boolean (*) PARAMS ((struct bfd_link_hash_entry *, PTR))) (func), \
(info)))
--- 296,300 ----
(bfd_link_hash_traverse \
(&(table)->root, \
! (bfd_boolean (*) PARAMS ((struct bfd_link_hash_entry *, PTR))) (func), \
(info)))
***************
*** 316,326 ****
extern struct coff_symbol_struct *coff_symbol_from
PARAMS ((bfd *, asymbol *));
! extern boolean coff_renumber_symbols
PARAMS ((bfd *, int *));
extern void coff_mangle_symbols
PARAMS ((bfd *));
! extern boolean coff_write_symbols
PARAMS ((bfd *));
! extern boolean coff_write_linenumbers
PARAMS ((bfd *));
extern alent *coff_get_lineno
--- 316,326 ----
extern struct coff_symbol_struct *coff_symbol_from
PARAMS ((bfd *, asymbol *));
! extern bfd_boolean coff_renumber_symbols
PARAMS ((bfd *, int *));
extern void coff_mangle_symbols
PARAMS ((bfd *));
! extern bfd_boolean coff_write_symbols
PARAMS ((bfd *));
! extern bfd_boolean coff_write_linenumbers
PARAMS ((bfd *));
extern alent *coff_get_lineno
***************
*** 328,336 ****
extern asymbol *coff_section_symbol
PARAMS ((bfd *, char *));
! extern boolean _bfd_coff_get_external_symbols
PARAMS ((bfd *));
extern const char *_bfd_coff_read_string_table
PARAMS ((bfd *));
! extern boolean _bfd_coff_free_symbols
PARAMS ((bfd *));
extern struct coff_ptr_struct *coff_get_normalized_symtab
--- 328,336 ----
extern asymbol *coff_section_symbol
PARAMS ((bfd *, char *));
! extern bfd_boolean _bfd_coff_get_external_symbols
PARAMS ((bfd *));
extern const char *_bfd_coff_read_string_table
PARAMS ((bfd *));
! extern bfd_boolean _bfd_coff_free_symbols
PARAMS ((bfd *));
extern struct coff_ptr_struct *coff_get_normalized_symtab
***************
*** 344,361 ****
extern void coff_get_symbol_info
PARAMS ((bfd *, asymbol *, symbol_info *ret));
! extern boolean _bfd_coff_is_local_label_name
PARAMS ((bfd *, const char *));
extern asymbol *coff_bfd_make_debug_symbol
PARAMS ((bfd *, PTR, unsigned long));
! extern boolean coff_find_nearest_line
PARAMS ((bfd *, asection *, asymbol **, bfd_vma, const char **,
const char **, unsigned int *));
extern int coff_sizeof_headers
! PARAMS ((bfd *, boolean));
! extern boolean bfd_coff_reloc16_relax_section
! PARAMS ((bfd *, asection *, struct bfd_link_info *, boolean *));
extern bfd_byte *bfd_coff_reloc16_get_relocated_section_contents
PARAMS ((bfd *, struct bfd_link_info *, struct bfd_link_order *,
! bfd_byte *, boolean, asymbol **));
extern bfd_vma bfd_coff_reloc16_get_value
PARAMS ((arelent *, struct bfd_link_info *, asection *));
--- 344,361 ----
extern void coff_get_symbol_info
PARAMS ((bfd *, asymbol *, symbol_info *ret));
! extern bfd_boolean _bfd_coff_is_local_label_name
PARAMS ((bfd *, const char *));
extern asymbol *coff_bfd_make_debug_symbol
PARAMS ((bfd *, PTR, unsigned long));
! extern bfd_boolean coff_find_nearest_line
PARAMS ((bfd *, asection *, asymbol **, bfd_vma, const char **,
const char **, unsigned int *));
extern int coff_sizeof_headers
! PARAMS ((bfd *, bfd_boolean));
! extern bfd_boolean bfd_coff_reloc16_relax_section
! PARAMS ((bfd *, asection *, struct bfd_link_info *, bfd_boolean *));
extern bfd_byte *bfd_coff_reloc16_get_relocated_section_contents
PARAMS ((bfd *, struct bfd_link_info *, struct bfd_link_order *,
! bfd_byte *, bfd_boolean, asymbol **));
extern bfd_vma bfd_coff_reloc16_get_value
PARAMS ((arelent *, struct bfd_link_info *, asection *));
***************
*** 459,467 ****
bfd *output_bfd;
/* Used to indicate failure in traversal routine. */
! boolean failed;
/* If doing "task linking" set only during the time when we want the
global symbol writer to convert the storage class of defined global
symbols from global to static. */
! boolean global_to_static;
/* Hash table for long symbol names. */
struct bfd_strtab_hash *strtab;
--- 459,467 ----
bfd *output_bfd;
/* Used to indicate failure in traversal routine. */
! bfd_boolean failed;
/* If doing "task linking" set only during the time when we want the
global symbol writer to convert the storage class of defined global
symbols from global to static. */
! bfd_boolean global_to_static;
/* Hash table for long symbol names. */
struct bfd_strtab_hash *strtab;
***************
*** 537,541 ****
extern struct bfd_hash_entry *_bfd_coff_link_hash_newfunc
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
! extern boolean _bfd_coff_link_hash_table_init
PARAMS ((struct coff_link_hash_table *, bfd *,
struct bfd_hash_entry *(*) (struct bfd_hash_entry *,
--- 537,541 ----
extern struct bfd_hash_entry *_bfd_coff_link_hash_newfunc
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
! extern bfd_boolean _bfd_coff_link_hash_table_init
PARAMS ((struct coff_link_hash_table *, bfd *,
struct bfd_hash_entry *(*) (struct bfd_hash_entry *,
***************
*** 546,557 ****
extern const char *_bfd_coff_internal_syment_name
PARAMS ((bfd *, const struct internal_syment *, char *));
! extern boolean _bfd_coff_link_add_symbols
PARAMS ((bfd *, struct bfd_link_info *));
! extern boolean _bfd_coff_final_link
PARAMS ((bfd *, struct bfd_link_info *));
extern struct internal_reloc *_bfd_coff_read_internal_relocs
! PARAMS ((bfd *, asection *, boolean, bfd_byte *, boolean,
struct internal_reloc *));
! extern boolean _bfd_coff_generic_relocate_section
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
--- 546,557 ----
extern const char *_bfd_coff_internal_syment_name
PARAMS ((bfd *, const struct internal_syment *, char *));
! extern bfd_boolean _bfd_coff_link_add_symbols
PARAMS ((bfd *, struct bfd_link_info *));
! extern bfd_boolean _bfd_coff_final_link
PARAMS ((bfd *, struct bfd_link_info *));
extern struct internal_reloc *_bfd_coff_read_internal_relocs
! PARAMS ((bfd *, asection *, bfd_boolean, bfd_byte *, bfd_boolean,
struct internal_reloc *));
! extern bfd_boolean _bfd_coff_generic_relocate_section
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
***************
*** 559,569 ****
extern struct bfd_hash_entry *_bfd_coff_debug_merge_hash_newfunc
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
! extern boolean _bfd_coff_write_global_sym
PARAMS ((struct coff_link_hash_entry *, PTR));
! extern boolean _bfd_coff_write_task_globals
PARAMS ((struct coff_link_hash_entry *, PTR));
! extern boolean _bfd_coff_link_input_bfd
PARAMS ((struct coff_final_link_info *, bfd *));
! extern boolean _bfd_coff_reloc_link_order
PARAMS ((bfd *, struct coff_final_link_info *, asection *,
struct bfd_link_order *));
--- 559,569 ----
extern struct bfd_hash_entry *_bfd_coff_debug_merge_hash_newfunc
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *));
! extern bfd_boolean _bfd_coff_write_global_sym
PARAMS ((struct coff_link_hash_entry *, PTR));
! extern bfd_boolean _bfd_coff_write_task_globals
PARAMS ((struct coff_link_hash_entry *, PTR));
! extern bfd_boolean _bfd_coff_link_input_bfd
PARAMS ((struct coff_final_link_info *, bfd *));
! extern bfd_boolean _bfd_coff_reloc_link_order
PARAMS ((bfd *, struct coff_final_link_info *, asection *,
struct bfd_link_order *));
***************
*** 587,595 ****
extern void _bfd_xcoff_bfd_link_hash_table_free
PARAMS ((struct bfd_link_hash_table *));
! extern boolean _bfd_xcoff_bfd_link_add_symbols
PARAMS ((bfd *, struct bfd_link_info *));
! extern boolean _bfd_xcoff_bfd_final_link
PARAMS ((bfd *, struct bfd_link_info *));
! extern boolean _bfd_ppc_xcoff_relocate_section
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
--- 587,595 ----
extern void _bfd_xcoff_bfd_link_hash_table_free
PARAMS ((struct bfd_link_hash_table *));
! extern bfd_boolean _bfd_xcoff_bfd_link_add_symbols
PARAMS ((bfd *, struct bfd_link_info *));
! extern bfd_boolean _bfd_xcoff_bfd_final_link
PARAMS ((bfd *, struct bfd_link_info *));
! extern bfd_boolean _bfd_ppc_xcoff_relocate_section
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
***************
*** 598,604 ****
linker, and so should start with bfd and be declared in bfd.h. */
! extern boolean ppc_allocate_toc_section
PARAMS ((struct bfd_link_info *));
! extern boolean ppc_process_before_allocation
PARAMS ((bfd *, struct bfd_link_info *));
--- 598,604 ----
linker, and so should start with bfd and be declared in bfd.h. */
! extern bfd_boolean ppc_allocate_toc_section
PARAMS ((struct bfd_link_info *));
! extern bfd_boolean ppc_process_before_allocation
PARAMS ((bfd *, struct bfd_link_info *));
***************
*** 654,658 ****
/* Have the line numbers been relocated yet ? */
! boolean done_lineno;
} coff_symbol_type;
/* COFF symbol classifications. */
--- 654,658 ----
/* Have the line numbers been relocated yet ? */
! bfd_boolean done_lineno;
} coff_symbol_type;
/* COFF symbol classifications. */
***************
*** 712,719 ****
unsigned int _bfd_linesz;
unsigned int _bfd_filnmlen;
! boolean _bfd_coff_long_filenames;
! boolean _bfd_coff_long_section_names;
unsigned int _bfd_coff_default_section_alignment_power;
! boolean _bfd_coff_force_symnames_in_strings;
unsigned int _bfd_coff_debug_string_prefix_length;
--- 712,719 ----
unsigned int _bfd_linesz;
unsigned int _bfd_filnmlen;
! bfd_boolean _bfd_coff_long_filenames;
! bfd_boolean _bfd_coff_long_section_names;
unsigned int _bfd_coff_default_section_alignment_power;
! bfd_boolean _bfd_coff_force_symnames_in_strings;
unsigned int _bfd_coff_debug_string_prefix_length;
***************
*** 730,737 ****
PARAMS ((bfd *abfd, PTR, PTR));
! boolean (*_bfd_coff_bad_format_hook)
PARAMS ((bfd *, PTR));
! boolean (*_bfd_coff_set_arch_mach_hook)
PARAMS ((bfd *, PTR));
--- 730,737 ----
PARAMS ((bfd *abfd, PTR, PTR));
! bfd_boolean (*_bfd_coff_bad_format_hook)
PARAMS ((bfd *, PTR));
! bfd_boolean (*_bfd_coff_set_arch_mach_hook)
PARAMS ((bfd *, PTR));
***************
*** 739,743 ****
PARAMS ((bfd *, PTR, PTR));
! boolean (*_bfd_styp_to_sec_flags_hook)
PARAMS ((bfd *, PTR, const char *, asection *, flagword *));
--- 739,743 ----
PARAMS ((bfd *, PTR, PTR));
! bfd_boolean (*_bfd_styp_to_sec_flags_hook)
PARAMS ((bfd *, PTR, const char *, asection *, flagword *));
***************
*** 745,759 ****
PARAMS ((bfd *, asection *, PTR));
! boolean (*_bfd_coff_slurp_symbol_table)
PARAMS ((bfd *));
! boolean (*_bfd_coff_symname_in_debug)
PARAMS ((bfd *, struct internal_syment *));
! boolean (*_bfd_coff_pointerize_aux_hook)
PARAMS ((bfd *, combined_entry_type *, combined_entry_type *,
unsigned int, combined_entry_type *));
! boolean (*_bfd_coff_print_aux)
PARAMS ((bfd *, FILE *, combined_entry_type *, combined_entry_type *,
combined_entry_type *, unsigned int));
--- 745,759 ----
PARAMS ((bfd *, asection *, PTR));
! bfd_boolean (*_bfd_coff_slurp_symbol_table)
PARAMS ((bfd *));
! bfd_boolean (*_bfd_coff_symname_in_debug)
PARAMS ((bfd *, struct internal_syment *));
! bfd_boolean (*_bfd_coff_pointerize_aux_hook)
PARAMS ((bfd *, combined_entry_type *, combined_entry_type *,
unsigned int, combined_entry_type *));
! bfd_boolean (*_bfd_coff_print_aux)
PARAMS ((bfd *, FILE *, combined_entry_type *, combined_entry_type *,
combined_entry_type *, unsigned int));
***************
*** 770,780 ****
PARAMS ((bfd *, struct internal_syment *));
! boolean (*_bfd_coff_compute_section_file_positions)
PARAMS ((bfd *));
! boolean (*_bfd_coff_start_final_link)
PARAMS ((bfd *, struct bfd_link_info *));
! boolean (*_bfd_coff_relocate_section)
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
--- 770,780 ----
PARAMS ((bfd *, struct internal_syment *));
! bfd_boolean (*_bfd_coff_compute_section_file_positions)
PARAMS ((bfd *));
! bfd_boolean (*_bfd_coff_start_final_link)
PARAMS ((bfd *, struct bfd_link_info *));
! bfd_boolean (*_bfd_coff_relocate_section)
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
***************
*** 785,801 ****
bfd_vma *));
! boolean (*_bfd_coff_adjust_symndx)\
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *,
! struct internal_reloc *, boolean *));
! boolean (*_bfd_coff_link_add_one_symbol)
PARAMS ((struct bfd_link_info *, bfd *, const char *, flagword,
! asection *, bfd_vma, const char *, boolean, boolean,
struct bfd_link_hash_entry **));
! boolean (*_bfd_coff_link_output_has_begun)
PARAMS ((bfd *, struct coff_final_link_info *));
! boolean (*_bfd_coff_final_link_postscript)
PARAMS ((bfd *, struct coff_final_link_info *));
--- 785,801 ----
bfd_vma *));
! bfd_boolean (*_bfd_coff_adjust_symndx)
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *,
! struct internal_reloc *, bfd_boolean *));
! bfd_boolean (*_bfd_coff_link_add_one_symbol)
PARAMS ((struct bfd_link_info *, bfd *, const char *, flagword,
! asection *, bfd_vma, const char *, bfd_boolean, bfd_boolean,
struct bfd_link_hash_entry **));
! bfd_boolean (*_bfd_coff_link_output_has_begun)
PARAMS ((bfd *, struct coff_final_link_info *));
! bfd_boolean (*_bfd_coff_final_link_postscript)
PARAMS ((bfd *, struct coff_final_link_info *));
Index: libiberty.h
===================================================================
RCS file: /cvsroot/mingw/utils/drmingw/include/libiberty.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** libiberty.h 29 Sep 2002 23:31:46 -0000 1.1
--- libiberty.h 25 Nov 2003 18:18:26 -0000 1.2
***************
*** 75,79 ****
is 1, we found it so don't provide any declaration at all. */
#if !HAVE_DECL_BASENAME
! #if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
extern char *basename PARAMS ((const char *));
#else
--- 75,79 ----
is 1, we found it so don't provide any declaration at all. */
#if !HAVE_DECL_BASENAME
! #if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
extern char *basename PARAMS ((const char *));
#else
***************
*** 146,149 ****
--- 146,155 ----
extern long get_run_time PARAMS ((void));
+ /* Generate a relocated path to some installation directory. Allocates
+ return value using malloc. */
+
+ extern char *make_relative_prefix PARAMS ((const char *, const char *,
+ const char *));
+
/* Choose a temporary directory to use for scratch files. */
***************
*** 265,273 ****
--- 271,282 ----
extern int pwait PARAMS ((int, int *, int));
+ #if !HAVE_DECL_ASPRINTF
/* Like sprintf but provides a pointer to malloc'd storage, which must
be freed by the caller. */
extern int asprintf PARAMS ((char **, const char *, ...)) ATTRIBUTE_PRINTF_2;
+ #endif
+ #if !HAVE_DECL_VASPRINTF
/* Like vsprintf but provides a pointer to malloc'd storage, which
must be freed by the caller. */
***************
*** 275,278 ****
--- 284,288 ----
extern int vasprintf PARAMS ((char **, const char *, va_list))
ATTRIBUTE_PRINTF(2,0);
+ #endif
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
|
|
From: <jrf...@us...> - 2003-11-25 16:53:26
|
Update of /cvsroot/mingw/utils/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv2305/scripts
Modified Files:
dsw2mak.in
Log Message:
Version bump. Removed some redundant funciton checks in autoconf. Update changelog.
Index: dsw2mak.in
===================================================================
RCS file: /cvsroot/mingw/utils/scripts/dsw2mak.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** dsw2mak.in 25 Nov 2003 15:30:34 -0000 1.7
--- dsw2mak.in 25 Nov 2003 16:53:23 -0000 1.8
***************
*** 42,45 ****
--- 42,52 ----
#
# Changelog (incomplete):
+ # 2003-11-25: Amitai Yuval
+ # Strip DOS line-endings from DSW's too.
+ #
+ # 2002-11-07: Alain Touret
+ # Fix bug in the linker output target determination.
+ # Support for C++ source files with .cc and .cxx extensions.
+ #
# 2001-02-18: José Fonseca
# Improved linker libraries and options handling.
***************
*** 904,908 ****
for(i = 0; i < nprojects; i++) {
print ".PHONY: " project_name[i] > outfile
! print project_name[i] ": " project_dependencies[i] > outfile
if(project_makefile[i] != "") {
if(basedir(project_makefile[i]) == "")
--- 911,915 ----
for(i = 0; i < nprojects; i++) {
print ".PHONY: " project_name[i] > outfile
! print project_name[i] ":" project_dependencies[i] > outfile
if(project_makefile[i] != "") {
if(basedir(project_makefile[i]) == "")
|
|
From: <jrf...@us...> - 2003-11-25 16:53:26
|
Update of /cvsroot/mingw/utils In directory sc8-pr-cvs1:/tmp/cvs-serv2305 Modified Files: ChangeLog configure.ac Log Message: Version bump. Removed some redundant funciton checks in autoconf. Update changelog. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/utils/ChangeLog,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ChangeLog 4 Feb 2003 01:49:01 -0000 1.8 --- ChangeLog 25 Nov 2003 16:53:22 -0000 1.9 *************** *** 1,6 **** ! 2003-02-04 01:45 infidel ! * redir/Makefile.am, reimp/Makefile.am, res2coff/Makefile.am: ! Install documentation in the doc subdirectory. 2002-12-04 12:15 jrfonseca --- 1,40 ---- ! 2003-11-25 16:51 jrfonseca ! * pexports/hlex.l: input()/unput() must be called within the ! actions. ! ! 2003-11-25 15:30 jrfonseca ! ! * scripts/dsw2mak.in: Strip DOS line-endings from DSW too (Amitai ! Yuval) ! ! 2003-05-24 11:57 jrfonseca ! ! * scripts/dsw2mak.in: Changed the dsw2mak license to LPGL. ! ! 2003-02-04 01:49 infidel ! ! * ChangeLog, redir/Makefile.am, reimp/Makefile.am, ! res2coff/Makefile.am: 2003-02-04 01:45 infidel ! ! * redir/Makefile.am, reimp/Makefile.am, ! res2coff/Makefile.am: ! Install documentation in the doc subdirectory. ! ! 2003-01-25 13:43 jrfonseca ! ! * drmingw/main.c: Make DrMingw accept hexadecimal numbers as the ! process ID. (Daniel K. O.) ! ! 2003-01-16 20:58 jrfonseca ! ! * drmingw/exchndl.c: Optionally remove the BFD dependency of ! exchndl.c (with omition the HAVE_BFD macro), generating a truly ! LPGL exchndl.dll. (Heiko Gerdau) ! ! 2002-12-04 12:24 jrfonseca ! ! * ChangeLog, drmingw/Makefile.am: Dr.MinGW documentation wasn't ! being included in the sources. 2002-12-04 12:15 jrfonseca Index: configure.ac =================================================================== RCS file: /cvsroot/mingw/utils/configure.ac,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** configure.ac 4 Dec 2002 12:15:22 -0000 1.5 --- configure.ac 25 Nov 2003 16:53:22 -0000 1.6 *************** *** 1,7 **** # Process this file with autoconf 2.53 or better to produce a configure script. ! AC_INIT(mingw-utils,0.2) AC_PREREQ(2.53) ! AM_INIT_AUTOMAKE(1.6 no-define) AC_CONFIG_SRCDIR(Makefile.am) AM_CONFIG_HEADER(config.h) --- 1,7 ---- # Process this file with autoconf 2.53 or better to produce a configure script. ! AC_INIT(mingw-utils,0.3) AC_PREREQ(2.53) ! AM_INIT_AUTOMAKE(1.7 no-define) AC_CONFIG_SRCDIR(Makefile.am) AM_CONFIG_HEADER(config.h) *************** *** 16,20 **** AC_PROG_RANLIB ! AM_PROG_LEX AC_PROG_YACC --- 16,20 ---- AC_PROG_RANLIB ! AC_PROG_LEX AC_PROG_YACC *************** *** 41,51 **** # AC_MSG_RESULT($where_toGet_utime_h) - # Checks for typedefs, structures, and compiler characteristics. - # Checks for library functions. - AC_FUNC_MALLOC - AC_FUNC_STAT AC_CHECK_FUNCS(mkstemp mktemp, break) - AC_FUNC_UTIME_NULL AC_CHECK_FUNCS(utime) --- 41,46 ---- |
|
From: <jrf...@us...> - 2003-11-25 16:51:55
|
Update of /cvsroot/mingw/utils/pexports
In directory sc8-pr-cvs1:/tmp/cvs-serv1995
Modified Files:
hlex.l
Log Message:
input()/unput() must be called within the actions.
Index: hlex.l
===================================================================
RCS file: /cvsroot/mingw/utils/pexports/hlex.l,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** hlex.l 10 Apr 2002 13:39:06 -0000 1.1
--- hlex.l 25 Nov 2003 16:51:52 -0000 1.2
***************
*** 8,11 ****
--- 8,12 ----
#include "hparse.h"
+
%}
***************
*** 13,17 ****
"#".* { }
"//".* { }
! "/*" { comment(); }
"__"{L}+ { return(ID); }
--- 14,33 ----
"#".* { }
"//".* { }
! "/*" {
! char c, c1;
!
! loop:
! while ((c = input()) != '*' && c != 0)
! putchar(c);
!
! if ((c1 = input()) != '/' && c != 0)
! {
! unput(c1);
! goto loop;
! }
!
! if (c != 0)
! putchar(c1);
! }
"__"{L}+ { return(ID); }
***************
*** 36,56 ****
{
return(1);
- }
-
- comment()
- {
- char c, c1;
-
- loop:
- while ((c = input()) != '*' && c != 0)
- putchar(c);
-
- if ((c1 = input()) != '/' && c != 0)
- {
- unput(c1);
- goto loop;
- }
-
- if (c != 0)
- putchar(c1);
}
--- 52,54 ----
|
|
From: <jrf...@us...> - 2003-11-25 15:30:38
|
Update of /cvsroot/mingw/utils/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv15824
Modified Files:
dsw2mak.in
Log Message:
Strip DOS line-endings from DSW too (Amitai Yuval)
Index: dsw2mak.in
===================================================================
RCS file: /cvsroot/mingw/utils/scripts/dsw2mak.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** dsw2mak.in 24 May 2003 10:57:34 -0000 1.6
--- dsw2mak.in 25 Nov 2003 15:30:34 -0000 1.7
***************
*** 847,850 ****
--- 847,853 ----
# main loop
while((getline < infile) == 1) {
+ # Strip DOS line-endings
+ gsub(/\r$/, "")
+
# catch a project definition
if(/^Project:/) {
***************
*** 901,905 ****
for(i = 0; i < nprojects; i++) {
print ".PHONY: " project_name[i] > outfile
! print project_name[i] ":" project_dependencies[i] > outfile
if(project_makefile[i] != "") {
if(basedir(project_makefile[i]) == "")
--- 904,908 ----
for(i = 0; i < nprojects; i++) {
print ".PHONY: " project_name[i] > outfile
! print project_name[i] ": " project_dependencies[i] > outfile
if(project_makefile[i] != "") {
if(basedir(project_makefile[i]) == "")
|