This is the mail archive of the gdb-patches@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]

Re: [PATCH] Make target_read_alloc & al return vectors


On 2018-07-07 13:23, Andreas Schwab wrote:
This is the next error:

../../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 ../../gdb/inferior.h:41:0,
                 from ../../gdb/ia64-linux-nat.c:22:
../../gdb/target.h:554:17: error:   overriding ‘virtual int
target_ops::have_steppable_watchpoint()’
     virtual int have_steppable_watchpoint ()
                 ^

The fix for this is probably obvious (change int for bool). Can you take care of it? I'm not on my gdb-development-capable computer, and probably don't have an ia64 cross-compiler handy. Does the patch for target_read_alloc look good to you?

Simon


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