public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Use bool in value
@ 2023-02-14 20:23 Tom Tromey
  2023-02-14 20:23 ` [PATCH 1/6] Change value::m_modifiable to bool Tom Tromey
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Tom Tromey @ 2023-02-14 20:23 UTC (permalink / raw)
  To: gdb-patches

There are a few spots in struct value that should use 'bool'.  This
short series fixes these up.

Regression tested on x86-64 Fedora 36.

---
Tom Tromey (6):
      Change value::m_modifiable to bool
      Change value::m_lazy to bool
      Change value::m_initialized to bool
      Change value::m_stack to bool
      Have value::bits_synthetic_pointer return bool
      Return bool from more value methods

 gdb/breakpoint.c    |  3 +--
 gdb/dwarf2/expr.c   | 12 ++++-----
 gdb/dwarf2/expr.h   |  6 ++---
 gdb/dwarf2/loc.c    |  2 +-
 gdb/frame-unwind.c  |  2 +-
 gdb/gnu-v2-abi.c    |  2 +-
 gdb/opencl-lang.c   | 10 ++++----
 gdb/ppc-linux-nat.c |  2 +-
 gdb/valops.c        |  4 +--
 gdb/valprint.c      |  2 +-
 gdb/value.c         | 48 +++++++++++++++++------------------
 gdb/value.h         | 72 ++++++++++++++++++++++++++---------------------------
 12 files changed, 82 insertions(+), 83 deletions(-)
---
base-commit: 5bed9dc992a0136d403a7addb29a2ed822fd4fd2
change-id: 20230214-submit-more-value-stuff-dea23b091773

Best regards,
-- 
Tom Tromey <tom@tromey.com>


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

end of thread, other threads:[~2023-02-21 15:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 20:23 [PATCH 0/6] Use bool in value Tom Tromey
2023-02-14 20:23 ` [PATCH 1/6] Change value::m_modifiable to bool Tom Tromey
2023-02-21 14:36   ` Alexandra Petlanova Hajkova
2023-02-14 20:23 ` [PATCH 2/6] Change value::m_lazy " Tom Tromey
2023-02-15 11:53   ` Bruno Larsen
2023-02-15 21:52     ` Tom Tromey
2023-02-14 20:23 ` [PATCH 3/6] Change value::m_initialized " Tom Tromey
2023-02-21 15:10   ` Alexandra Petlanova Hajkova
2023-02-14 20:23 ` [PATCH 4/6] Change value::m_stack " Tom Tromey
2023-02-21 15:30   ` Alexandra Petlanova Hajkova
2023-02-14 20:23 ` [PATCH 5/6] Have value::bits_synthetic_pointer return bool Tom Tromey
2023-02-14 20:23 ` [PATCH 6/6] Return bool from more value methods Tom Tromey
2023-02-15 12:22 ` [PATCH 0/6] Use bool in value Bruno Larsen
2023-02-15 21:54   ` Tom Tromey

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