public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Two minor dynamic property fixes
@ 2023-03-01 15:18 Tom Tromey
  2023-03-01 15:18 ` [PATCH 1/2] Make gdb property batons type-safe Tom Tromey
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tom Tromey @ 2023-03-01 15:18 UTC (permalink / raw)
  To: gdb-patches

I noticed that dynamic properties were not type-safe or const-correct.
These two patches fix this.  Tested by rebuilding.

Tom

---
Tom Tromey (2):
      Make gdb property batons type-safe
      Use const for dwarf2_property_baton

 gdb/dwarf2/loc.c | 14 +++++---------
 gdb/dwarf2/loc.h |  2 +-
 gdb/gdbtypes.h   | 11 ++++++-----
 3 files changed, 12 insertions(+), 15 deletions(-)
---
base-commit: 2c29b1ed19711fa2a16558015e5a6b46a09aefeb
change-id: 20230301-submit-baton-stuff-70d3db0cd50b

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


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

end of thread, other threads:[~2023-03-01 22:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-01 15:18 [PATCH 0/2] Two minor dynamic property fixes Tom Tromey
2023-03-01 15:18 ` [PATCH 1/2] Make gdb property batons type-safe Tom Tromey
2023-03-01 18:44   ` Simon Marchi
2023-03-01 22:28     ` Tom Tromey
2023-03-01 15:18 ` [PATCH 2/2] Use const for dwarf2_property_baton Tom Tromey
2023-03-01 18:45 ` [PATCH 0/2] Two minor dynamic property fixes 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).