public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCHv2 0/3] Adding startup files to GDB
@ 2021-01-26  9:48 Andrew Burgess
  2021-01-26  9:48 ` [PATCHv2 1/3] gdb: refactor the initialization file lookup code Andrew Burgess
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Andrew Burgess @ 2021-01-26  9:48 UTC (permalink / raw)
  To: gdb-patches

This series is a revised version of this series:

   https://sourceware.org/pipermail/gdb-patches/2020-October/172422.html

Which in turn draws heavily from work done by Tom:

   https://sourceware.org/pipermail/gdb-patches/2020-June/169821.html

The biggest change from the original series is the removal of
everything related to auto-saving of startup options.  The removal
doesn't mean this feature couldn't be added back in the future, but it
felt like that was a separate piece of work from the core idea of
adding a mechanism to control how GDB starts up.

I also simplified the startup file look up, startup files can now only
appear in the users home directory (following GDB's usual home
directory lookup logic).

All feedback welcome.

Thanks,
Andrew


---

Andrew Burgess (2):
  gdb: refactor the initialization file lookup code
  gdb: process startup files and startup command line options

Tom Tromey (1):
  gdb: add "set startup-quietly" command

 gdb/ChangeLog                           |  33 +++
 gdb/NEWS                                |  18 ++
 gdb/config.in                           |   3 +
 gdb/configure                           |   6 +
 gdb/configure.ac                        |   3 +
 gdb/doc/ChangeLog                       |  14 ++
 gdb/doc/gdb.texinfo                     | 120 ++++++++++-
 gdb/main.c                              | 257 ++++++++++++++++++------
 gdb/testsuite/ChangeLog                 |  11 +
 gdb/testsuite/gdb.base/startup-file.c   |  22 ++
 gdb/testsuite/gdb.base/startup-file.exp | 149 ++++++++++++++
 gdb/testsuite/lib/gdb-utils.exp         |   1 +
 gdb/top.c                               |  33 +++
 gdb/top.h                               |   5 +
 14 files changed, 602 insertions(+), 73 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/startup-file.c
 create mode 100644 gdb/testsuite/gdb.base/startup-file.exp

-- 
2.25.4


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

end of thread, other threads:[~2021-04-02 19:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-26  9:48 [PATCHv2 0/3] Adding startup files to GDB Andrew Burgess
2021-01-26  9:48 ` [PATCHv2 1/3] gdb: refactor the initialization file lookup code Andrew Burgess
2021-01-26 15:09   ` Simon Marchi
2021-01-26  9:48 ` [PATCHv2 2/3] gdb: process startup files and startup command line options Andrew Burgess
2021-01-26 15:22   ` Eli Zaretskii
2021-01-26 15:32     ` Simon Marchi
2021-01-26 15:30   ` Simon Marchi
2021-01-26  9:48 ` [PATCHv2 3/3] gdb: add "set startup-quietly" command Andrew Burgess
2021-01-26 15:12   ` Eli Zaretskii
2021-02-18 16:41 ` [PATCHv3 0/3] Adding startup files to GDB Andrew Burgess
2021-02-18 16:41   ` [PATCHv3 1/3] gdb: refactor the initialization file lookup code Andrew Burgess
2021-02-18 16:41   ` [PATCHv3 2/3] gdb: process early initialization files and command line options Andrew Burgess
2021-02-18 17:46     ` Eli Zaretskii
2021-03-24 12:10       ` Andrew Burgess
2021-03-24 17:17         ` Eli Zaretskii
2021-02-18 16:41   ` [PATCHv3 3/3] gdb: add "set startup-quietly" command Andrew Burgess
2021-02-18 17:32     ` Eli Zaretskii
2021-03-24 12:08       ` Andrew Burgess
2021-03-31 20:11   ` [PATCHv3 0/3] Adding startup files to GDB Andrew Burgess
2021-04-02 19:20     ` 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).