Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/1] gdb: fix overflow caused by value_print_array_elements
@ 2026-10-21 11:30 Stephan Rohr
  2026-10-21 11:30 ` [PATCH v2 1/1] " Stephan Rohr
  0 siblings, 1 reply; 3+ messages in thread
From: Stephan Rohr @ 2026-10-21 11:30 UTC (permalink / raw)
  To: gdb-patches; +Cc: tom

From: "Rohr, Stephan" <stephan.rohr@intel.com>

Hi Tom, all,

thanks for the feedback.

I updated the testcase accordingly and added a case with stride smaller
than the element size.

v1 was posted here:
https://sourceware.org/pipermail/gdb-patches/2026-October/231191.html

Thanks
Stephan

Rohr, Stephan (1):
  gdb: fix overflow caused by value_print_array_elements

 gdb/testsuite/gdb.dwarf2/arr-stride-gap.exp | 106 ++++++++++++++++++++
 gdb/valprint.c                              |  12 ++-
 2 files changed, 115 insertions(+), 3 deletions(-)
 create mode 100644 gdb/testsuite/gdb.dwarf2/arr-stride-gap.exp

-- 
2.43.0

________________________________________
Intel Deutschland GmbH 

Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany 

Tel: +49 (89) 99143-0 

www.intel.de 

Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman

Chairperson of the Supervisory Board: Sonja Pierer

Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

end of thread, other threads:[~2026-10-21 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 11:30 [PATCH v2 0/1] gdb: fix overflow caused by value_print_array_elements Stephan Rohr
2026-10-21 11:30 ` [PATCH v2 1/1] " Stephan Rohr
2026-10-21 16:38   ` Tom Tromey

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