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: [RFC][PATCH 4/4] gdbserver: Add RISC-V/Linux support


On Thu, 23 Jan 2020, Tom Tromey wrote:

> Maciej> Implement RISC-V/Linux support for both RV64 and RV32 systems, including 
> Maciej> XML target description handling based on features determined, GPR and 
> Maciej> FPR regset support including dynamic sizing of the latter, and software 
> Maciej> breakpoint handling.
> 
> I saw a couple of small nits here.

 Thanks for looking through my proposal!

> Maciej> Also handle a glibc bug where ELF_NFPREG is defined in terms of NFPREG,
> Maciej> however NFPREG is nowhere defined.
> 
> In case you haven't already, please report this to glibc.

 Yep, see: <https://sourceware.org/ml/libc-alpha/2019-10/msg00233.html>, 
and the discussion downthread.

> Maciej> +/* Implementation of linux_target_ops method "regs_info".  */
> Maciej> +
> Maciej> +static const struct regs_info *
> Maciej> +riscv_regs_info (void)
> 
> We stopped using "(void)" in new code, in favor of just "()".
> This showed up in a few spots.

 Right, I'm pretty much in the C world still; will fix that in the next 
iteration.

  Maciej


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