Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v3 0/3] RISC-V/Linux `gdbserver' support and associated fixes
@ 2020-01-31 12:12 Maciej W. Rozycki
  2020-01-31 13:00 ` Maciej W. Rozycki
  0 siblings, 1 reply; 2+ messages in thread
From: Maciej W. Rozycki @ 2020-01-31 12:12 UTC (permalink / raw)
  To: gdb-patches
  Cc: Jim Wilson, Andrew Burgess, Palmer Dabbelt, Tom Tromey, guoren,
	lifang_xia, yunhai_shang, jiangshuai_li

Hi,

 This is v3 of my RISC-V/Linux `gdbserver' support proposal.

 Beyond the issues discussed with v2 I have now also slightly optimised 
regcache supply/collect handlers to avoid doing a costly variable 
multiplication in a loop, and added buffer offset precalculations so as to 
avoid excessive line wrapping and hopefully making code more readable.

 Also I have noticed missing Python and ncurses development libraries 
limiting testing in my native setup.  With these installed native test 
results improved a little, as follows:

		=== gdb Summary ===

# of expected passes		61354
# of unexpected failures	1636
# of unexpected successes	1
# of expected failures		58
# of unknown successes		3
# of known failures		85
# of unresolved testcases	113
# of untested testcases		160
# of unsupported tests		323

however a worrying regression has appeared:

FAIL: gdb.base/return-nodebug.exp: float: full width of the returned result

This has turned out not to be related to this patch series however and 
triggers reliably now in my setup regardless of whether this patch set has 
been applied or not.  Instead it is an outcome of GDB failing to NaN-box 
data of the `float' type when assigning it to a hardware register.

 I have filed PR tdep/25489 to track it as I may not be able to look into 
it right away.

 Except as noted above here have been no regressions in native 
`riscv64-linux-gnu' testing and remote `gdbserver' test results are the 
same as previously (barring the usual gdb.threads/ fluctuations).

 As usually see individual changes for details.

  Maciej


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-31 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31 12:12 [PATCH v3 0/3] RISC-V/Linux `gdbserver' support and associated fixes Maciej W. Rozycki
2020-01-31 13:00 ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox