public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Some struct ui / struct interps cleanup
@ 2023-04-28 18:27 Simon Marchi
  2023-04-28 18:27 ` [PATCH 1/3] gdb: move struct ui and related things to ui.{c,h} Simon Marchi
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Simon Marchi @ 2023-04-28 18:27 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

I want to make some changes in this area, here are some small cleanups I
have identified that I thought could go in first.

Simon Marchi (3):
  gdb: move struct ui and related things to ui.{c,h}
  gdb: store interps in an intrusive_list
  gdb: remove ui_interp_info

 gdb/Makefile.in       |   2 +
 gdb/annotate.c        |   3 +-
 gdb/async-event.c     |   1 +
 gdb/breakpoint.c      |   1 +
 gdb/bt-utils.c        |   2 +-
 gdb/cli-out.c         |   2 +-
 gdb/cli/cli-cmds.c    |   1 +
 gdb/cli/cli-interp.c  |   1 +
 gdb/cli/cli-script.c  |   1 +
 gdb/compile/compile.c |   2 +-
 gdb/event-top.c       |  78 +------------
 gdb/exceptions.c      |   2 +-
 gdb/fork-child.c      |   2 +-
 gdb/guile/guile.c     |   1 +
 gdb/guile/scm-ports.c |   2 +-
 gdb/inf-loop.c        |   1 +
 gdb/infcall.c         |   1 +
 gdb/infcmd.c          |   2 +-
 gdb/infrun.c          |   1 +
 gdb/interps.c         | 105 ++++--------------
 gdb/interps.h         |   8 +-
 gdb/main.c            |   1 +
 gdb/mi/mi-interp.c    |   2 +-
 gdb/mi/mi-main.c      |   1 +
 gdb/python/py-dap.c   |   2 +-
 gdb/python/python.c   |   1 +
 gdb/target.c          |   2 +-
 gdb/top.c             | 149 +------------------------
 gdb/top.h             | 200 +--------------------------------
 gdb/tui/tui-interp.c  |   2 +-
 gdb/tui/tui-io.c      |   1 +
 gdb/tui/tui.c         |   1 +
 gdb/ui.c              | 251 ++++++++++++++++++++++++++++++++++++++++++
 gdb/ui.h              | 227 ++++++++++++++++++++++++++++++++++++++
 gdb/utils.c           |   1 +
 35 files changed, 547 insertions(+), 513 deletions(-)
 create mode 100644 gdb/ui.c
 create mode 100644 gdb/ui.h

-- 
2.40.1


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 18:27 [PATCH 0/3] Some struct ui / struct interps cleanup Simon Marchi
2023-04-28 18:27 ` [PATCH 1/3] gdb: move struct ui and related things to ui.{c,h} Simon Marchi
2023-04-28 18:27 ` [PATCH 2/3] gdb: store interps in an intrusive_list Simon Marchi
2023-04-28 18:27 ` [PATCH 3/3] gdb: remove ui_interp_info Simon Marchi
2023-05-01 15:25 ` [PATCH 0/3] Some struct ui / struct interps cleanup Tom Tromey
2023-05-02  0:49   ` 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).