From: David Carlton <carlton@math.stanford.edu>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] missing #include "gdb_string.h"
Date: Fri, 27 Sep 2002 12:31:00 -0000 [thread overview]
Message-ID: <ro1ptuzkz51.fsf@jackfruit.Stanford.EDU> (raw)
In-Reply-To: <3D94B119.9000306@redhat.com>
On Fri, 27 Sep 2002 15:27:21 -0400, Andrew Cagney <ac131313@redhat.com> said:
>> I did an all targets build, and it's turned up some missing
>> #include "gdb_string.h" locations. The patch is below; it's
>> obvious, but I'm doing an RFA because I'm not actually running on
>> the target machines in question and because I'm paranoid.
> It's ok.
Great, I'll commit them in a sec.
>> For what it's worth, the targets powerpc-eabi and v850-elf fail when
>> build with -Werror for other reasons; I haven't looked into them yet,
>> and I have no reason to believe that they can't be fixed in a
>> similarly trivial manner.
> Which compiler/host?
GCC 3.1, Red Hat Linux 7.3. Here are the relevant error messages:
>>>>>>>>>>>>>
powerpc-eabi ()
gcc -c -g -O2 -I. -I/extra/gdb/nightly/src/gdb -I/extra/gdb/nightly/src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I/extra/gdb/nightly/src/gdb/../include/opcode -I/extra/gdb/nightly/src/gdb/../readline/.. -I../bfd -I/extra/gdb/nightly/src/gdb/../bfd -I/extra/gdb/nightly/src/gdb/../include -I../intl -I/extra/gdb/nightly/src/gdb/../intl -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Werror /extra/gdb/nightly/src/gdb/remote-sds.c
cc1: warnings being treated as errors
/extra/gdb/nightly/src/gdb/remote-sds.c: In function `getmessage':
/extra/gdb/nightly/src/gdb/remote-sds.c:981: warning: deprecated use of label at end of compound statement
make[1]: *** [remote-sds.o] Error 1
make[1]: Leaving directory `/extra/gdb/nightly/builds/gdb-allcross/powerpc-eabi/gdb'
make: *** [all-gdb] Error 2
>>>>>>>>>>>>>
v850-elf ()
gcc -c -g -O2 -I. -I/extra/gdb/nightly/src/gdb -I/extra/gdb/nightly/src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I/extra/gdb/nightly/src/gdb/../include/opcode -I/extra/gdb/nightly/src/gdb/../readline/.. -I../bfd -I/extra/gdb/nightly/src/gdb/../bfd -I/extra/gdb/nightly/src/gdb/../include -I../intl -I/extra/gdb/nightly/src/gdb/../intl -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Werror /extra/gdb/nightly/src/gdb/v850-tdep.c
/extra/gdb/nightly/src/gdb/v850-tdep.c:177: `bfd_mach_v850ea' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/v850-tdep.c:177: initializer element is not constant
/extra/gdb/nightly/src/gdb/v850-tdep.c:177: (near initialization for `v850_processor_type_table[2].mach')
/extra/gdb/nightly/src/gdb/v850-tdep.c:177: initializer element is not constant
/extra/gdb/nightly/src/gdb/v850-tdep.c:177: (near initialization for `v850_processor_type_table[2]')
/extra/gdb/nightly/src/gdb/v850-tdep.c:181: initializer element is not constant
/extra/gdb/nightly/src/gdb/v850-tdep.c:181: (near initialization for `v850_processor_type_table[3]')
make[1]: *** [v850-tdep.o] Error 1
make[1]: Leaving directory `/extra/gdb/nightly/builds/gdb-allcross/v850-elf/gdb'
make: *** [all-gdb] Error 2
David Carlton
carlton@math.stanford.edu
next prev parent reply other threads:[~2002-09-27 19:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-27 12:12 David Carlton
2002-09-27 12:22 ` Kevin Buettner
2002-09-27 12:27 ` Andrew Cagney
2002-09-27 12:31 ` David Carlton [this message]
2002-09-27 12:48 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ro1ptuzkz51.fsf@jackfruit.Stanford.EDU \
--to=carlton@math.stanford.edu \
--cc=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox