public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@efficios.com>
To: gdb-patches@sourceware.org
Cc: Simon Marchi <simon.marchi@efficios.com>
Subject: [PATCH 0/3] Some struct ui / struct interps cleanup
Date: Fri, 28 Apr 2023 14:27:10 -0400	[thread overview]
Message-ID: <20230428182713.216446-1-simon.marchi@efficios.com> (raw)

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


             reply	other threads:[~2023-04-28 18:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28 18:27 Simon Marchi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230428182713.216446-1-simon.marchi@efficios.com \
    --to=simon.marchi@efficios.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).