public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix a crash in go-lang.c
@ 2023-02-17  1:00 Tom Tromey
  2023-02-17  1:00 ` [PATCH 1/2] Avoid manual memory management " Tom Tromey
  2023-02-17  1:00 ` [PATCH 2/2] Fix crash in go_symbol_package_name Tom Tromey
  0 siblings, 2 replies; 7+ messages in thread
From: Tom Tromey @ 2023-02-17  1:00 UTC (permalink / raw)
  To: gdb-patches

This series fixes a crash in go-lang.c, but first it takes a detour to
remove some manual memory management.

---
Tom Tromey (2):
      Avoid manual memory management in go-lang.c
      Fix crash in go_symbol_package_name

 gdb/dwarf2/read.c                   |  2 +-
 gdb/go-exp.y                        |  8 +++----
 gdb/go-lang.c                       | 43 +++++++++++++++++--------------------
 gdb/go-lang.h                       | 11 +++++++---
 gdb/testsuite/gdb.go/no-package.exp | 31 ++++++++++++++++++++++++++
 5 files changed, 64 insertions(+), 31 deletions(-)
---
base-commit: 16b84b6599dba01abc00954d0bc80ddf0c2373e3
change-id: 20230216-submit-go-unique-ptr-5aefe0b36452

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


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

end of thread, other threads:[~2023-02-18  0:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17  1:00 [PATCH 0/2] Fix a crash in go-lang.c Tom Tromey
2023-02-17  1:00 ` [PATCH 1/2] Avoid manual memory management " Tom Tromey
2023-02-17 22:44   ` Andrew Burgess
2023-02-18  0:01     ` Tom Tromey
2023-02-17  1:00 ` [PATCH 2/2] Fix crash in go_symbol_package_name Tom Tromey
2023-02-17 22:51   ` Andrew Burgess
2023-02-18  0:00     ` 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).