public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 00/13] Remove a bunch of alloca uses
@ 2023-02-27 21:29 Andrew Burgess
  2023-02-27 21:29 ` [PATCH 01/13] gdb: remove uses of alloca from arch-utils.c Andrew Burgess
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Andrew Burgess @ 2023-02-27 21:29 UTC (permalink / raw)
  To: gdb-patches; +Cc: Andrew Burgess

Continuing effort to replace alloca calls with C++ data structures,
here's a bunch of places where gdb::byte_vector can be used.

This isn't all of them, there's still plenty to work through, but I
thought I'd see how this lot is received.

Thanks,
Andrew

---

Andrew Burgess (13):
  gdb: remove uses of alloca from arch-utils.c
  gdb: remove use of alloca from auxv.c
  gdb: remove use of alloca from c-lang.c
  gdb: remove use of alloca from corefile.c
  gdb: remove uses of alloca from dwarf2/expr.c
  gdb: remove a use of alloca from elfread.c
  gdb: remove use of alloca from findvar.c
  gdb: remove use of alloca from linux-nat-trad.c
  gdb: remove use of alloca from mem-break.c
  gdb: remove some uses of alloca from printcmd.c
  gdb: remove some uses of alloca from remote.c
  gdb: remove uses of alloca from valprint.c
  gdb: remove a use of alloca from symfile.c

 gdb/arch-utils.c     | 13 ++++++-------
 gdb/auxv.c           | 10 +++++-----
 gdb/c-lang.c         |  8 +++-----
 gdb/corefile.c       | 18 +++++++++---------
 gdb/dwarf2/expr.c    | 25 ++++++++++++++-----------
 gdb/elfread.c        |  7 ++++---
 gdb/findvar.c        |  6 +++---
 gdb/linux-nat-trad.c |  8 ++++----
 gdb/mem-break.c      |  7 +++----
 gdb/printcmd.c       | 44 +++++++++++++++++++++-----------------------
 gdb/remote.c         | 40 ++++++++++++++++++----------------------
 gdb/symfile.c        | 11 +++++------
 gdb/valprint.c       | 17 ++++++++---------
 13 files changed, 103 insertions(+), 111 deletions(-)


base-commit: 85c7cb3c4b70cc484ecf3d72a116503876a28f0a
-- 
2.25.4


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

end of thread, other threads:[~2023-03-07 21:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-27 21:29 [PATCH 00/13] Remove a bunch of alloca uses Andrew Burgess
2023-02-27 21:29 ` [PATCH 01/13] gdb: remove uses of alloca from arch-utils.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 02/13] gdb: remove use of alloca from auxv.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 03/13] gdb: remove use of alloca from c-lang.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 04/13] gdb: remove use of alloca from corefile.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 05/13] gdb: remove uses of alloca from dwarf2/expr.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 06/13] gdb: remove a use of alloca from elfread.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 07/13] gdb: remove use of alloca from findvar.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 08/13] gdb: remove use of alloca from linux-nat-trad.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 09/13] gdb: remove use of alloca from mem-break.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 10/13] gdb: remove some uses of alloca from printcmd.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 11/13] gdb: remove some uses of alloca from remote.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 12/13] gdb: remove uses of alloca from valprint.c Andrew Burgess
2023-02-27 21:29 ` [PATCH 13/13] gdb: remove a use of alloca from symfile.c Andrew Burgess
2023-02-28  2:47 ` [PATCH 00/13] Remove a bunch of alloca uses Simon Marchi
2023-03-07 21:57   ` 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).