This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Reduce use of obstack_copy0
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 3 Aug 2019 20:51:06 -0600
- Subject: [PATCH 0/4] Reduce use of obstack_copy0
This series removes nearly every use of obstack_copy0 from gdb.
Instead, wrappers like obstack_strdup are preferred -- these are (IMO)
simpler to use and do not require casts of the return value.
Regression tested by the buildbot.
Tom