This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] Simplify gdbarch.sh a tiny bit
- From: "Theodore A. Roth" <troth at openavr dot org>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 10 Jul 2003 16:12:19 -0700 (PDT)
- Subject: Re: [commit] Simplify gdbarch.sh a tiny bit
- References: <3F0DE1F3.2010401@redhat.com>
On Thu, 10 Jul 2003, Andrew Cagney wrote:
> Hello,
>
> The attached simplfies gdbarch.sh a tiny bit - it uses gdb_assert
> instead of internal_error in a few places (from memory gdbarch.sh was
> written before gdb_assert was added).
I'm getting a build failure now:
gcc -c -g -O2 -I. -I../../gdb -I../../gdb/config
-DLOCALEDIR="\"/home/roth/local/avr/share/locale\"" -DHAVE_CONFIG_H
-I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd
-I../../gdb/../bfd -I../../gdb/../include -I../intl
-I../../gdb/../intl -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment
-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
-Werror ../../gdb/gdbarch.c
cc1: warnings being treated as errors
../../gdb/gdbarch.c: In function
`gdbarch_deprecated_max_register_raw_size_p':
../../gdb/gdbarch.c:3425: warning: comparison between pointer and integer
../../gdb/gdbarch.c: In function
`gdbarch_deprecated_max_register_virtual_size_p':
../../gdb/gdbarch.c:3448: warning: comparison between pointer and integer
../../gdb/gdbarch.c: In function
`gdbarch_deprecated_call_dummy_stack_adjust_p':
../../gdb/gdbarch.c:3805: warning: comparison between pointer and integer
make: *** [gdbarch.o] Error 1
Is this related to your change?
Ted Roth