public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/7] New options to control how Python is initialized
@ 2021-04-22 21:02 Andrew Burgess
  2021-04-22 21:02 ` [PATCH 1/7] gdb: remove unused argument from gdb_init Andrew Burgess
                   ` (6 more replies)
  0 siblings, 7 replies; 24+ messages in thread
From: Andrew Burgess @ 2021-04-22 21:02 UTC (permalink / raw)
  To: gdb-patches

This series works towards allowing the user to have more control over
how the Python interpreter is initialised within GDB without having to
set environment variables.

---

Andrew Burgess (7):
  gdb: remove unused argument from gdb_init
  gdb: ensure SIGINT is set to SIG_DFL during initialisation
  gdb: delay python initialisation until gdbpy_finish_initialization
  gdb delay guile initialization until gdbscm_finish_initialization
  gdb: initialise extension languages after processing early startup
    files
  gdb: extension languages finish_initialization to initialize
  gdb: startup commands to control Python extension language

 gdb/ChangeLog                               | 111 +++++++++++++++++
 gdb/NEWS                                    |  16 +++
 gdb/doc/ChangeLog                           |   4 +
 gdb/doc/python.texi                         |  38 ++++++
 gdb/extension-priv.h                        |   9 +-
 gdb/extension.c                             |  36 +++++-
 gdb/extension.h                             |   2 +-
 gdb/guile/guile.c                           |  86 ++++++-------
 gdb/guile/scm-arch.c                        |   5 +
 gdb/guile/scm-block.c                       |   5 +
 gdb/guile/scm-frame.c                       |   5 +
 gdb/guile/scm-objfile.c                     |   5 +
 gdb/guile/scm-progspace.c                   |   5 +
 gdb/guile/scm-symbol.c                      |   5 +
 gdb/guile/scm-symtab.c                      |   5 +
 gdb/guile/scm-type.c                        |  11 +-
 gdb/main.c                                  |   5 +-
 gdb/python/py-arch.c                        |   8 +-
 gdb/python/py-block.c                       |  17 ++-
 gdb/python/py-inferior.c                    |  11 +-
 gdb/python/py-objfile.c                     |   9 +-
 gdb/python/py-progspace.c                   |   9 +-
 gdb/python/py-registers.c                   |  11 +-
 gdb/python/py-symbol.c                      |  15 ++-
 gdb/python/py-symtab.c                      |  23 ++--
 gdb/python/py-type.c                        |  11 +-
 gdb/python/py-unwind.c                      |  23 ++--
 gdb/python/python.c                         | 129 +++++++++++++++++---
 gdb/testsuite/ChangeLog                     |   4 +
 gdb/testsuite/gdb.python/py-startup-opt.exp | 118 ++++++++++++++++++
 gdb/top.c                                   |  10 +-
 gdb/top.h                                   |   2 +-
 32 files changed, 624 insertions(+), 129 deletions(-)
 create mode 100644 gdb/testsuite/gdb.python/py-startup-opt.exp

-- 
2.25.4


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

end of thread, other threads:[~2021-05-02 18:15 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 21:02 [PATCH 0/7] New options to control how Python is initialized Andrew Burgess
2021-04-22 21:02 ` [PATCH 1/7] gdb: remove unused argument from gdb_init Andrew Burgess
2021-04-23 14:15   ` Tom Tromey
2021-04-22 21:02 ` [PATCH 2/7] gdb: ensure SIGINT is set to SIG_DFL during initialisation Andrew Burgess
2021-04-23 14:16   ` Tom Tromey
2021-04-22 21:02 ` [PATCH 3/7] gdb: delay python initialisation until gdbpy_finish_initialization Andrew Burgess
2021-04-23 14:26   ` Tom Tromey
2021-04-22 21:02 ` [PATCH 4/7] gdb delay guile initialization until gdbscm_finish_initialization Andrew Burgess
2021-04-23 14:29   ` Tom Tromey
2021-04-22 21:02 ` [PATCH 5/7] gdb: initialise extension languages after processing early startup files Andrew Burgess
2021-04-23 14:30   ` Tom Tromey
2021-04-22 21:02 ` [PATCH 6/7] gdb: extension languages finish_initialization to initialize Andrew Burgess
2021-04-23 14:31   ` Tom Tromey
2021-04-22 21:02 ` [PATCH 7/7] gdb: startup commands to control Python extension language Andrew Burgess
2021-04-23 10:31   ` Eli Zaretskii
2021-04-23 14:32   ` Tom Tromey
2021-04-29  8:32   ` Tom de Vries
2021-04-29  9:35     ` Andrew Burgess
2021-04-29  9:46     ` Andrew Burgess
2021-04-29 10:08       ` Tom de Vries
2021-05-02 10:31         ` Andrew Burgess
2021-05-02 18:15           ` Tom de Vries
2021-04-29 12:17       ` Eli Zaretskii
2021-04-29 12:32         ` Eli Zaretskii

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).