• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révision5565b5569bf75adccb29b590f5433aeb9dda3314 (tree)
l'heure2001-03-07 11:57:08
AuteurJ.T. Conklin <jtc@acor...>
CommiterJ.T. Conklin

Message de Log

2001-03-06 J.T. Conklin <jtc@redback.com>

        • symtab.h (decode_line_1): Removed declaration.
        • symfile.c (#include <assert.h>): Removed.
        • arch-utils.c (#include <ctype.h>): Removed.
        • c-typeprint.c: Likewise.
        • dbxread.c: Likewise.
        • gdbtypes.c: Likewise.
        • target.c: Likewise.
        • os9kread.c: Likewise.
        • c-valprint.c (#include "demangle.h"): Removed.
        • ch-typeprint.c: Likewise.
        • eval.c: Likewise.
        • f-typeprint.c: Likewise.
        • f-valprint.c: Likewise.
        • m2-typeprint.c: Likewise.
        • typeprint.c: Likewise.
        • p-typeprint.c: Likewise.
        • valarith.c: Likewise.
        • valprint.c: Likewise.
        • m2-typeprint.c (#include "gdb_string.h"): Removed.
        • nlmread.c: Likewise.
        • mdebugread.c (#include "gdb-stabs.h"): Removed.
        • minsyms.c: Likewise.
        • mipsread.c: Likewise.
        • nlmread.c: Likewise.
        • m2-typeprint.c (#include "obstack.h"): Removed.
        • m2-valprint.c: Likewise.
        • event-loop.c (#include <setjmp.h>): Removed.

Change Summary

Modification

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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+
138 2001-03-06 Stan Shebs <shebs@apple.com>
239
340 * MAINTAINERS: Remove self from specific maintenance domains
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -361,7 +361,9 @@ VERSION = 5.0
361361 DIST=gdb
362362
363363 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)
365367
366368 RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \
367369 echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \
@@ -1110,6 +1112,9 @@ lint: $(LINTFILES)
11101112 $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
11111113 `echo $(DEPFILES) | sed 's/\.o /\.c /g'`
11121114
1115+flint: $(filter-out %.y,$(LINTFILES)) $(DEPFILES:.c=.o)
1116+ flint co.lnt $(LINTFLAGS) $^
1117+
11131118 gdb.cxref: $(SFILES)
11141119 cxref -I. $(SFILES) >gdb.cxref
11151120
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -27,7 +27,6 @@
2727 /* Just include everything in sight so that the every old definition
2828 of macro is visible. */
2929 #include "gdb_string.h"
30-#include <ctype.h>
3130 #include "symtab.h"
3231 #include "frame.h"
3332 #include "inferior.h"
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -38,7 +38,6 @@
3838
3939 #include "gdb_string.h"
4040 #include <errno.h>
41-#include <ctype.h>
4241
4342 /* Flag indicating target was compiled by HP compiler */
4443 extern int hp_som_som_object_present;
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -25,7 +25,6 @@
2525 #include "gdbtypes.h"
2626 #include "expression.h"
2727 #include "value.h"
28-#include "demangle.h"
2928 #include "valprint.h"
3029 #include "language.h"
3130 #include "c-lang.h"
--- a/gdb/ch-typeprint.c
+++ b/gdb/ch-typeprint.c
@@ -31,7 +31,6 @@
3131 #include "command.h"
3232 #include "gdbcmd.h"
3333 #include "language.h"
34-#include "demangle.h"
3534 #include "ch-lang.h"
3635 #include "typeprint.h"
3736
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -44,7 +44,6 @@
4444
4545 #include "obstack.h"
4646 #include "gdb_stat.h"
47-#include <ctype.h>
4847 #include "symtab.h"
4948 #include "breakpoint.h"
5049 #include "command.h"
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -821,9 +821,9 @@ extern int longest_to_int (LONGEST);
821821 /* Assorted functions we can declare, now that const and volatile are
822822 defined. */
823823
824-extern char *savestring (const char *, int);
824+extern char *savestring (const char *, size_t);
825825
826-extern char *msavestring (void *, const char *, int);
826+extern char *msavestring (void *, const char *, size_t);
827827
828828 extern char *mstrsave (void *, const char *);
829829
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -28,7 +28,6 @@
2828 #include "expression.h"
2929 #include "target.h"
3030 #include "frame.h"
31-#include "demangle.h"
3231 #include "language.h" /* For CAST_IS_CONVERSION */
3332 #include "f-lang.h" /* for array bound stuff */
3433
--- a/gdb/event-loop.c
+++ b/gdb/event-loop.c
@@ -35,7 +35,6 @@
3535 #include <sys/types.h>
3636 #include "gdb_string.h"
3737 #include <errno.h>
38-#include <setjmp.h>
3938 #include <sys/time.h>
4039
4140 /* Type of the mask arguments to select. */
--- a/gdb/f-typeprint.c
+++ b/gdb/f-typeprint.c
@@ -33,7 +33,6 @@
3333 #include "command.h"
3434 #include "gdbcmd.h"
3535 #include "language.h"
36-#include "demangle.h"
3736 #include "f-lang.h"
3837 #include "typeprint.h"
3938 #include "frame.h" /* ??? */
--- a/gdb/f-valprint.c
+++ b/gdb/f-valprint.c
@@ -27,7 +27,6 @@
2727 #include "gdbtypes.h"
2828 #include "expression.h"
2929 #include "value.h"
30-#include "demangle.h"
3130 #include "valprint.h"
3231 #include "language.h"
3332 #include "f-lang.h"
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -1165,7 +1165,6 @@ check_typedef (register struct type *type)
11651165 }
11661166
11671167 /* New code added to support parsing of Cfront stabs strings */
1168-#include <ctype.h>
11691168 #define INIT_EXTRA { pextras->len=0; pextras->str[0]='\0'; }
11701169 #define ADD_EXTRA(c) { pextras->str[pextras->len++]=c; }
11711170
--- a/gdb/m2-typeprint.c
+++ b/gdb/m2-typeprint.c
@@ -20,7 +20,6 @@
2020 Boston, MA 02111-1307, USA. */
2121
2222 #include "defs.h"
23-#include "obstack.h"
2423 #include "bfd.h" /* Binary File Description */
2524 #include "symtab.h"
2625 #include "gdbtypes.h"
@@ -31,10 +30,7 @@
3130 #include "command.h"
3231 #include "gdbcmd.h"
3332 #include "language.h"
34-#include "demangle.h"
3533 #include "m2-lang.h"
36-
37-#include "gdb_string.h"
3834 #include <errno.h>
3935
4036 void
--- a/gdb/m2-valprint.c
+++ b/gdb/m2-valprint.c
@@ -20,7 +20,6 @@
2020 Boston, MA 02111-1307, USA. */
2121
2222 #include "defs.h"
23-#include "obstack.h"
2423 #include "symtab.h"
2524 #include "gdbtypes.h"
2625 #include "valprint.h"
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -79,8 +79,6 @@ typedef struct mips_extra_func_info
7979 #include "gdb_stat.h"
8080 #include "gdb_string.h"
8181
82-#include "gdb-stabs.h"
83-
8482 #include "bfd.h"
8583
8684 #include "coff/ecoff.h" /* COFF-like aspects of ecoff files */
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -47,7 +47,6 @@
4747 #include "symfile.h"
4848 #include "objfiles.h"
4949 #include "demangle.h"
50-#include "gdb-stabs.h"
5150
5251 /* Accumulate the minimal symbols for each objfile in bunches of BUNCH_SIZE.
5352 At the end, copy them all into one newly allocated location on an objfile's
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -33,7 +33,6 @@
3333 #include "objfiles.h"
3434 #include "buildsym.h"
3535 #include "stabsread.h"
36-#include "gdb-stabs.h"
3736
3837 #include "coff/sym.h"
3938 #include "coff/internal.h"
--- a/gdb/nlmread.c
+++ b/gdb/nlmread.c
@@ -21,12 +21,10 @@
2121 Boston, MA 02111-1307, USA. */
2222
2323 #include "defs.h"
24-#include "gdb_string.h"
2524 #include "bfd.h"
2625 #include "symtab.h"
2726 #include "symfile.h"
2827 #include "objfiles.h"
29-#include "gdb-stabs.h"
3028 #include "buildsym.h"
3129 #include "stabsread.h"
3230
--- a/gdb/os9kread.c
+++ b/gdb/os9kread.c
@@ -46,7 +46,6 @@
4646
4747 #include "obstack.h"
4848 #include "gdb_stat.h"
49-#include <ctype.h>
5049 #include "symtab.h"
5150 #include "breakpoint.h"
5251 #include "command.h"
--- a/gdb/p-typeprint.c
+++ b/gdb/p-typeprint.c
@@ -32,7 +32,6 @@
3232 #include "command.h"
3333 #include "gdbcmd.h"
3434 #include "language.h"
35-#include "demangle.h"
3635 #include "p-lang.h"
3736 #include "typeprint.h"
3837
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -39,7 +39,6 @@
3939 #include "obstack.h"
4040 #include "completer.h"
4141
42-#include <assert.h>
4342 #include <sys/types.h>
4443 #include <fcntl.h>
4544 #include "gdb_string.h"
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1347,11 +1347,6 @@ extern struct symtabs_and_lines decode_line_spec (char *, int);
13471347
13481348 extern struct symtabs_and_lines decode_line_spec_1 (char *, int);
13491349
1350-/* From linespec.c */
1351-
1352-extern struct symtabs_and_lines decode_line_1 (char **,
1353- int, struct symtab *, int, char ***);
1354-
13551350 /* Symmisc.c */
13561351
13571352 void maintenance_print_symbols (char *, int);
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -22,7 +22,6 @@
2222
2323 #include "defs.h"
2424 #include <errno.h>
25-#include <ctype.h>
2625 #include "gdb_string.h"
2726 #include "target.h"
2827 #include "gdbcmd.h"
--- a/gdb/typeprint.c
+++ b/gdb/typeprint.c
@@ -31,7 +31,6 @@
3131 #include "gdbcmd.h"
3232 #include "target.h"
3333 #include "language.h"
34-#include "demangle.h"
3534
3635 #include "gdb_string.h"
3736 #include <errno.h>
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1155,7 +1155,7 @@ myread (int desc, char *addr, int len)
11551155 Uses malloc to get the space. Returns the address of the copy. */
11561156
11571157 char *
1158-savestring (const char *ptr, int size)
1158+savestring (const char *ptr, size_t size)
11591159 {
11601160 register char *p = (char *) xmalloc (size + 1);
11611161 memcpy (p, ptr, size);
@@ -1164,7 +1164,7 @@ savestring (const char *ptr, int size)
11641164 }
11651165
11661166 char *
1167-msavestring (void *md, const char *ptr, int size)
1167+msavestring (void *md, const char *ptr, size_t size)
11681168 {
11691169 register char *p = (char *) xmmalloc (md, size + 1);
11701170 memcpy (p, ptr, size);
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -27,7 +27,6 @@
2727 #include "expression.h"
2828 #include "target.h"
2929 #include "language.h"
30-#include "demangle.h"
3130 #include "gdb_string.h"
3231 #include <math.h>
3332
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -30,7 +30,6 @@
3030 #include "target.h"
3131 #include "obstack.h"
3232 #include "language.h"
33-#include "demangle.h"
3433 #include "annotate.h"
3534 #include "valprint.h"
3635