public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix bug in value_subscript when range's high bound is not known
@ 2020-11-23 16:21 Simon Marchi
  2020-11-23 16:21 ` [PATCH 1/4] gdb: make discrete_position return optional Simon Marchi
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Simon Marchi @ 2020-11-23 16:21 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

This series fixes PR26875 and PR26901.  Since this is a regression
introduced in GDB 10, I would consider this for the GDB 10 stable
branch.

Simon Marchi (4):
  gdb: make discrete_position return optional
  gdb: make get_discrete_bounds return bool
  gdb: split get_discrete_bounds in two
  gdb: fix value_subscript when array upper bound is not known

 gdb/ada-lang.c                                |  33 +--
 gdb/ada-valprint.c                            |   2 +-
 gdb/c-lang.c                                  |   4 +-
 gdb/eval.c                                    |   4 +-
 gdb/f-array-walker.h                          |   4 +-
 gdb/f-lang.c                                  |   2 +-
 gdb/gdbtypes.c                                | 225 ++++++++++++------
 gdb/gdbtypes.h                                |  20 +-
 gdb/m2-typeprint.c                            |   4 +-
 gdb/m2-valprint.c                             |   6 +-
 gdb/p-valprint.c                              |   3 +-
 .../gdb.base/flexible-array-member.c          |  70 ++++++
 .../gdb.base/flexible-array-member.exp        |  66 +++++
 gdb/valarith.c                                |  24 +-
 gdb/valops.c                                  |   4 +-
 15 files changed, 356 insertions(+), 115 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/flexible-array-member.c
 create mode 100644 gdb/testsuite/gdb.base/flexible-array-member.exp

-- 
2.29.2


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

end of thread, other threads:[~2020-12-09 19:58 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 16:21 [PATCH 0/4] Fix bug in value_subscript when range's high bound is not known Simon Marchi
2020-11-23 16:21 ` [PATCH 1/4] gdb: make discrete_position return optional Simon Marchi
2020-12-06  5:25   ` Joel Brobecker
2020-12-06  5:38   ` Joel Brobecker
2020-12-07 14:58     ` Simon Marchi
2020-12-08  3:06       ` Joel Brobecker
2020-12-08 11:41         ` Maciej W. Rozycki
2020-12-09 19:29           ` Simon Marchi
2020-12-09 19:53             ` Maciej W. Rozycki
2020-11-23 16:21 ` [PATCH 2/4] gdb: make get_discrete_bounds return bool Simon Marchi
2020-12-06  6:03   ` Joel Brobecker
2020-12-07 15:19     ` Simon Marchi
2020-11-23 16:21 ` [PATCH 3/4] gdb: split get_discrete_bounds in two Simon Marchi
2020-12-06  7:29   ` Joel Brobecker
2020-12-07 15:49     ` Simon Marchi
2020-11-23 16:21 ` [PATCH 4/4] gdb: fix value_subscript when array upper bound is not known Simon Marchi
2020-12-06  7:54   ` Joel Brobecker
2020-12-07 16:06     ` Simon Marchi
2020-12-08  3:14       ` Joel Brobecker
2020-12-09 18:50         ` Simon Marchi
2020-12-09 19:57     ` Simon Marchi

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).