This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/23415] binutils-gdb/gdb/ia64-tdep.c:2664:16: error: too many arguments to function target_read_alloc


https://sourceware.org/bugzilla/show_bug.cgi?id=23415

--- Comment #2 from Sergei Trofimovich <slyfox at inbox dot ru> ---
There is a few more minor build failures (likely triggered by maintainer-mode
and type mismatch). Should I file another bug for it?

make[3]: Leaving directory '/home/slyfox/dev/git/binutils-gdb-ia64/gdb'
ia64-unknown-linux-gnu-g++ -x c++  -g -O2   -I. -I../../binutils-gdb/gdb
-I../../binutils-gdb/gdb/common -I../../binutils-gdb/gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I../../binutils-gdb/gdb/../include/opcode
-I../../binutils-gdb/gdb/../opcodes/.. -I../../binutils-gdb/gdb/../readline/..
-I../../binutils-gdb/gdb/../zlib -I../bfd -I../../binutils-gdb/gdb/../bfd
-I../../binutils-gdb/gdb/../include -I../libdecnumber
-I../../binutils-gdb/gdb/../libdecnumber 
-I../../binutils-gdb/gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1  -Wall
-Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter
-Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing
-Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3
-Wduplicated-cond -Wformat-nonliteral -Werror -c -o ia64-linux-nat.o -MT
ia64-linux-nat.o -MMD -MP -MF ./.deps/ia64-linux-nat.Tpo
../../binutils-gdb/gdb/ia64-linux-nat.c
../../binutils-gdb/gdb/ia64-linux-nat.c:73:8: error: conflicting return type
specified for 'virtual bool ia64_linux_nat_target::have_steppable_watchpoint()'
   bool have_steppable_watchpoint () { return 1; }
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../binutils-gdb/gdb/inferior.h:41,
                 from ../../binutils-gdb/gdb/ia64-linux-nat.c:22:
../../binutils-gdb/gdb/target.h:554:17: note: overridden function is 'virtual
int target_ops::have_steppable_watchpoint()'
     virtual int have_steppable_watchpoint ()
                 ^~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/ia64-linux-nat.c:73:8: error: 'virtual bool
ia64_linux_nat_target::have_steppable_watchpoint()' can be marked override
[-Werror=suggest-override]
   bool have_steppable_watchpoint () { return 1; }
        ^~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/ia64-linux-nat.c:723:1: error: 'int
ia64_linux_can_use_hw_breakpoint(target_ops*, bptype, int, int)' defined but
not used [-Werror=unused-function]
 ia64_linux_can_use_hw_breakpoint (struct target_ops *self,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/ia64-linux-nat.c:676:1: error: 'void
ia64_linux_new_thread(lwp_info*)' defined but not used
[-Werror=unused-function]
 ia64_linux_new_thread (struct lwp_info *lp)
 ^~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]