public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] gdb: introduce limited array lengths while printing values
@ 2023-01-12  9:01 Maciej W. Rozycki
  2023-01-12  9:01 ` [PATCH v2 1/5] GDB: Ignore `max-value-size' setting with value history accesses Maciej W. Rozycki
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Maciej W. Rozycki @ 2023-01-12  9:01 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess, Tom Tromey, Richard Bunt

Hi,

 This is v2 of Andrew's RFC, originally posted here: 
<https://sourceware.org/pipermail/gdb-patches/2021-October/182435.html>.

 Following Tom's feedback I have updated the original change so that data 
up to `max-value-size' is retrieved and stored in the history regardless 
of how much less has been requested with the relevant `print' command.  

 This has revealed issues with value history handling where entries were 
not retrieved due to `max-value-size' setting where accessing the original 
data object would work, and then where out of range accesses pretended to 
retrieve data or returned memory faults.

 I have updated the change to make the `output' command follow the same 
rules (except for storing the value retrieved in the value history of 
course).  This in turn required a test framework update as it seems the 
only command that does not produce a new line character/sequence between 
data output and the following command prompt; this has also revealed this 
command had no testsuite coverage at all until now.

 Consequently this has now become a patch series addressing each of these 
issues individually.  See individual change descriptions (and any extra 
discussion) for details.

 I have regression-tested it natively with a `x86_64-linux-gnu' system.  
OK to apply?

  Maciej

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

end of thread, other threads:[~2023-01-20 13:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12  9:01 [PATCH v2 0/5] gdb: introduce limited array lengths while printing values Maciej W. Rozycki
2023-01-12  9:01 ` [PATCH v2 1/5] GDB: Ignore `max-value-size' setting with value history accesses Maciej W. Rozycki
2023-01-13 16:18   ` Andrew Burgess
2023-01-20 13:41     ` Maciej W. Rozycki
2023-01-12  9:01 ` [PATCH v2 2/5] GDB: Fix the mess with value byte/bit range types Maciej W. Rozycki
2023-01-12  9:02 ` [PATCH v2 3/5] GDB: Only make data actually retrieved into value history available Maciej W. Rozycki
2023-01-12  9:02 ` [PATCH v2 4/5] GDB/testsuite: Add `-nonl' option to `gdb_test' Maciej W. Rozycki
2023-01-12  9:02 ` [PATCH v2 5/5] GDB: Introduce limited array lengths while printing values Maciej W. Rozycki
2023-01-12 10:04   ` Eli Zaretskii
2023-01-12 10:58     ` 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).