GNU Binutils with patches for OS216
Révision | 5565b5569bf75adccb29b590f5433aeb9dda3314 (tree) |
---|---|
l'heure | 2001-03-07 11:57:08 |
Auteur | J.T. Conklin <jtc@acor...> |
Commiter | J.T. Conklin |
2001-03-06 J.T. Conklin <jtc@redback.com>
@@ -1,3 +1,40 @@ | ||
1 | +2001-03-06 J.T. Conklin <jtc@redback.com> | |
2 | + | |
3 | + * symtab.h (decode_line_1): Removed declaration. | |
4 | + | |
5 | + * symfile.c (#include <assert.h>): Removed. | |
6 | + | |
7 | + * arch-utils.c (#include <ctype.h>): Removed. | |
8 | + * c-typeprint.c: Likewise. | |
9 | + * dbxread.c: Likewise. | |
10 | + * gdbtypes.c: Likewise. | |
11 | + * target.c: Likewise. | |
12 | + * os9kread.c: Likewise. | |
13 | + | |
14 | + * c-valprint.c (#include "demangle.h"): Removed. | |
15 | + * ch-typeprint.c: Likewise. | |
16 | + * eval.c: Likewise. | |
17 | + * f-typeprint.c: Likewise. | |
18 | + * f-valprint.c: Likewise. | |
19 | + * m2-typeprint.c: Likewise. | |
20 | + * typeprint.c: Likewise. | |
21 | + * p-typeprint.c: Likewise. | |
22 | + * valarith.c: Likewise. | |
23 | + * valprint.c: Likewise. | |
24 | + | |
25 | + * m2-typeprint.c (#include "gdb_string.h"): Removed. | |
26 | + * nlmread.c: Likewise. | |
27 | + | |
28 | + * mdebugread.c (#include "gdb-stabs.h"): Removed. | |
29 | + * minsyms.c: Likewise. | |
30 | + * mipsread.c: Likewise. | |
31 | + * nlmread.c: Likewise. | |
32 | + | |
33 | + * m2-typeprint.c (#include "obstack.h"): Removed. | |
34 | + * m2-valprint.c: Likewise. | |
35 | + | |
36 | + * event-loop.c (#include <setjmp.h>): Removed. | |
37 | + | |
1 | 38 | 2001-03-06 Stan Shebs <shebs@apple.com> |
2 | 39 | |
3 | 40 | * MAINTAINERS: Remove self from specific maintenance domains |
@@ -361,7 +361,9 @@ VERSION = 5.0 | ||
361 | 361 | DIST=gdb |
362 | 362 | |
363 | 363 | LINT=/usr/5bin/lint |
364 | -LINTFLAGS= $(BFD_CFLAGS) | |
364 | +LINTFLAGS= $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ | |
365 | + $(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \ | |
366 | + $(INTL_CFLAGS) | |
365 | 367 | |
366 | 368 | RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \ |
367 | 369 | echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \ |
@@ -1110,6 +1112,9 @@ lint: $(LINTFILES) | ||
1110 | 1112 | $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \ |
1111 | 1113 | `echo $(DEPFILES) | sed 's/\.o /\.c /g'` |
1112 | 1114 | |
1115 | +flint: $(filter-out %.y,$(LINTFILES)) $(DEPFILES:.c=.o) | |
1116 | + flint co.lnt $(LINTFLAGS) $^ | |
1117 | + | |
1113 | 1118 | gdb.cxref: $(SFILES) |
1114 | 1119 | cxref -I. $(SFILES) >gdb.cxref |
1115 | 1120 |
@@ -27,7 +27,6 @@ | ||
27 | 27 | /* Just include everything in sight so that the every old definition |
28 | 28 | of macro is visible. */ |
29 | 29 | #include "gdb_string.h" |
30 | -#include <ctype.h> | |
31 | 30 | #include "symtab.h" |
32 | 31 | #include "frame.h" |
33 | 32 | #include "inferior.h" |
@@ -38,7 +38,6 @@ | ||
38 | 38 | |
39 | 39 | #include "gdb_string.h" |
40 | 40 | #include <errno.h> |
41 | -#include <ctype.h> | |
42 | 41 | |
43 | 42 | /* Flag indicating target was compiled by HP compiler */ |
44 | 43 | extern int hp_som_som_object_present; |
@@ -25,7 +25,6 @@ | ||
25 | 25 | #include "gdbtypes.h" |
26 | 26 | #include "expression.h" |
27 | 27 | #include "value.h" |
28 | -#include "demangle.h" | |
29 | 28 | #include "valprint.h" |
30 | 29 | #include "language.h" |
31 | 30 | #include "c-lang.h" |
@@ -31,7 +31,6 @@ | ||
31 | 31 | #include "command.h" |
32 | 32 | #include "gdbcmd.h" |
33 | 33 | #include "language.h" |
34 | -#include "demangle.h" | |
35 | 34 | #include "ch-lang.h" |
36 | 35 | #include "typeprint.h" |
37 | 36 |
@@ -44,7 +44,6 @@ | ||
44 | 44 | |
45 | 45 | #include "obstack.h" |
46 | 46 | #include "gdb_stat.h" |
47 | -#include <ctype.h> | |
48 | 47 | #include "symtab.h" |
49 | 48 | #include "breakpoint.h" |
50 | 49 | #include "command.h" |
@@ -821,9 +821,9 @@ extern int longest_to_int (LONGEST); | ||
821 | 821 | /* Assorted functions we can declare, now that const and volatile are |
822 | 822 | defined. */ |
823 | 823 | |
824 | -extern char *savestring (const char *, int); | |
824 | +extern char *savestring (const char *, size_t); | |
825 | 825 | |
826 | -extern char *msavestring (void *, const char *, int); | |
826 | +extern char *msavestring (void *, const char *, size_t); | |
827 | 827 | |
828 | 828 | extern char *mstrsave (void *, const char *); |
829 | 829 |
@@ -28,7 +28,6 @@ | ||
28 | 28 | #include "expression.h" |
29 | 29 | #include "target.h" |
30 | 30 | #include "frame.h" |
31 | -#include "demangle.h" | |
32 | 31 | #include "language.h" /* For CAST_IS_CONVERSION */ |
33 | 32 | #include "f-lang.h" /* for array bound stuff */ |
34 | 33 |
@@ -35,7 +35,6 @@ | ||
35 | 35 | #include <sys/types.h> |
36 | 36 | #include "gdb_string.h" |
37 | 37 | #include <errno.h> |
38 | -#include <setjmp.h> | |
39 | 38 | #include <sys/time.h> |
40 | 39 | |
41 | 40 | /* Type of the mask arguments to select. */ |
@@ -33,7 +33,6 @@ | ||
33 | 33 | #include "command.h" |
34 | 34 | #include "gdbcmd.h" |
35 | 35 | #include "language.h" |
36 | -#include "demangle.h" | |
37 | 36 | #include "f-lang.h" |
38 | 37 | #include "typeprint.h" |
39 | 38 | #include "frame.h" /* ??? */ |
@@ -27,7 +27,6 @@ | ||
27 | 27 | #include "gdbtypes.h" |
28 | 28 | #include "expression.h" |
29 | 29 | #include "value.h" |
30 | -#include "demangle.h" | |
31 | 30 | #include "valprint.h" |
32 | 31 | #include "language.h" |
33 | 32 | #include "f-lang.h" |
@@ -1165,7 +1165,6 @@ check_typedef (register struct type *type) | ||
1165 | 1165 | } |
1166 | 1166 | |
1167 | 1167 | /* New code added to support parsing of Cfront stabs strings */ |
1168 | -#include <ctype.h> | |
1169 | 1168 | #define INIT_EXTRA { pextras->len=0; pextras->str[0]='\0'; } |
1170 | 1169 | #define ADD_EXTRA(c) { pextras->str[pextras->len++]=c; } |
1171 | 1170 |
@@ -20,7 +20,6 @@ | ||
20 | 20 | Boston, MA 02111-1307, USA. */ |
21 | 21 | |
22 | 22 | #include "defs.h" |
23 | -#include "obstack.h" | |
24 | 23 | #include "bfd.h" /* Binary File Description */ |
25 | 24 | #include "symtab.h" |
26 | 25 | #include "gdbtypes.h" |
@@ -31,10 +30,7 @@ | ||
31 | 30 | #include "command.h" |
32 | 31 | #include "gdbcmd.h" |
33 | 32 | #include "language.h" |
34 | -#include "demangle.h" | |
35 | 33 | #include "m2-lang.h" |
36 | - | |
37 | -#include "gdb_string.h" | |
38 | 34 | #include <errno.h> |
39 | 35 | |
40 | 36 | void |
@@ -20,7 +20,6 @@ | ||
20 | 20 | Boston, MA 02111-1307, USA. */ |
21 | 21 | |
22 | 22 | #include "defs.h" |
23 | -#include "obstack.h" | |
24 | 23 | #include "symtab.h" |
25 | 24 | #include "gdbtypes.h" |
26 | 25 | #include "valprint.h" |
@@ -79,8 +79,6 @@ typedef struct mips_extra_func_info | ||
79 | 79 | #include "gdb_stat.h" |
80 | 80 | #include "gdb_string.h" |
81 | 81 | |
82 | -#include "gdb-stabs.h" | |
83 | - | |
84 | 82 | #include "bfd.h" |
85 | 83 | |
86 | 84 | #include "coff/ecoff.h" /* COFF-like aspects of ecoff files */ |
@@ -47,7 +47,6 @@ | ||
47 | 47 | #include "symfile.h" |
48 | 48 | #include "objfiles.h" |
49 | 49 | #include "demangle.h" |
50 | -#include "gdb-stabs.h" | |
51 | 50 | |
52 | 51 | /* Accumulate the minimal symbols for each objfile in bunches of BUNCH_SIZE. |
53 | 52 | At the end, copy them all into one newly allocated location on an objfile's |
@@ -33,7 +33,6 @@ | ||
33 | 33 | #include "objfiles.h" |
34 | 34 | #include "buildsym.h" |
35 | 35 | #include "stabsread.h" |
36 | -#include "gdb-stabs.h" | |
37 | 36 | |
38 | 37 | #include "coff/sym.h" |
39 | 38 | #include "coff/internal.h" |
@@ -21,12 +21,10 @@ | ||
21 | 21 | Boston, MA 02111-1307, USA. */ |
22 | 22 | |
23 | 23 | #include "defs.h" |
24 | -#include "gdb_string.h" | |
25 | 24 | #include "bfd.h" |
26 | 25 | #include "symtab.h" |
27 | 26 | #include "symfile.h" |
28 | 27 | #include "objfiles.h" |
29 | -#include "gdb-stabs.h" | |
30 | 28 | #include "buildsym.h" |
31 | 29 | #include "stabsread.h" |
32 | 30 |
@@ -46,7 +46,6 @@ | ||
46 | 46 | |
47 | 47 | #include "obstack.h" |
48 | 48 | #include "gdb_stat.h" |
49 | -#include <ctype.h> | |
50 | 49 | #include "symtab.h" |
51 | 50 | #include "breakpoint.h" |
52 | 51 | #include "command.h" |
@@ -32,7 +32,6 @@ | ||
32 | 32 | #include "command.h" |
33 | 33 | #include "gdbcmd.h" |
34 | 34 | #include "language.h" |
35 | -#include "demangle.h" | |
36 | 35 | #include "p-lang.h" |
37 | 36 | #include "typeprint.h" |
38 | 37 |
@@ -39,7 +39,6 @@ | ||
39 | 39 | #include "obstack.h" |
40 | 40 | #include "completer.h" |
41 | 41 | |
42 | -#include <assert.h> | |
43 | 42 | #include <sys/types.h> |
44 | 43 | #include <fcntl.h> |
45 | 44 | #include "gdb_string.h" |
@@ -1347,11 +1347,6 @@ extern struct symtabs_and_lines decode_line_spec (char *, int); | ||
1347 | 1347 | |
1348 | 1348 | extern struct symtabs_and_lines decode_line_spec_1 (char *, int); |
1349 | 1349 | |
1350 | -/* From linespec.c */ | |
1351 | - | |
1352 | -extern struct symtabs_and_lines decode_line_1 (char **, | |
1353 | - int, struct symtab *, int, char ***); | |
1354 | - | |
1355 | 1350 | /* Symmisc.c */ |
1356 | 1351 | |
1357 | 1352 | void maintenance_print_symbols (char *, int); |
@@ -22,7 +22,6 @@ | ||
22 | 22 | |
23 | 23 | #include "defs.h" |
24 | 24 | #include <errno.h> |
25 | -#include <ctype.h> | |
26 | 25 | #include "gdb_string.h" |
27 | 26 | #include "target.h" |
28 | 27 | #include "gdbcmd.h" |
@@ -31,7 +31,6 @@ | ||
31 | 31 | #include "gdbcmd.h" |
32 | 32 | #include "target.h" |
33 | 33 | #include "language.h" |
34 | -#include "demangle.h" | |
35 | 34 | |
36 | 35 | #include "gdb_string.h" |
37 | 36 | #include <errno.h> |
@@ -1155,7 +1155,7 @@ myread (int desc, char *addr, int len) | ||
1155 | 1155 | Uses malloc to get the space. Returns the address of the copy. */ |
1156 | 1156 | |
1157 | 1157 | char * |
1158 | -savestring (const char *ptr, int size) | |
1158 | +savestring (const char *ptr, size_t size) | |
1159 | 1159 | { |
1160 | 1160 | register char *p = (char *) xmalloc (size + 1); |
1161 | 1161 | memcpy (p, ptr, size); |
@@ -1164,7 +1164,7 @@ savestring (const char *ptr, int size) | ||
1164 | 1164 | } |
1165 | 1165 | |
1166 | 1166 | char * |
1167 | -msavestring (void *md, const char *ptr, int size) | |
1167 | +msavestring (void *md, const char *ptr, size_t size) | |
1168 | 1168 | { |
1169 | 1169 | register char *p = (char *) xmmalloc (md, size + 1); |
1170 | 1170 | memcpy (p, ptr, size); |
@@ -27,7 +27,6 @@ | ||
27 | 27 | #include "expression.h" |
28 | 28 | #include "target.h" |
29 | 29 | #include "language.h" |
30 | -#include "demangle.h" | |
31 | 30 | #include "gdb_string.h" |
32 | 31 | #include <math.h> |
33 | 32 |
@@ -30,7 +30,6 @@ | ||
30 | 30 | #include "target.h" |
31 | 31 | #include "obstack.h" |
32 | 32 | #include "language.h" |
33 | -#include "demangle.h" | |
34 | 33 | #include "annotate.h" |
35 | 34 | #include "valprint.h" |
36 | 35 |