[PATCHv3 0/3] Adding startup files to GDB

Andrew Burgess
2021-02-18T16:41:19Z

Changes since v2:

Patch #1

- Make use of gdb::optional as Simon suggested.

Patch #2

- Rename 'startup' files to 'earlyinit' files as Simon suggested.

- Extensive documentation changes to address Eli's feedback, and to
reflect the naming change.

- Renamed the test script to reflect the naming change.

Patch #3

- Updates to the documentation to (I hope) address Eli's feedback.

Thanks,
Andrew

---

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

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

gdb/ChangeLog | 33 +++
gdb/NEWS | 19 ++
gdb/config.in | 3 +
gdb/configure | 6 +
gdb/configure.ac | 3 +
gdb/doc/ChangeLog | 14 ++
gdb/doc/gdb.texinfo | 125 +++++++++-
gdb/main.c | 253 +++++++++++++++------
gdb/testsuite/ChangeLog | 11 +
gdb/testsuite/gdb.base/early-init-file.c | 22 ++
gdb/testsuite/gdb.base/early-init-file.exp | 149 ++++++++++++
gdb/testsuite/lib/gdb-utils.exp | 1 +
gdb/top.c | 33 +++
gdb/top.h | 5 +
14 files changed, 603 insertions(+), 74 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/early-init-file.c
create mode 100644 gdb/testsuite/gdb.base/early-init-file.exp

--
2.25.4