[PATCH 0/3] gcore: add --help and --version options

Andrew Burgess
2025-03-06T17:11:57Z

The new gstack script has --help and --version options, which is more
than the older gcore script has!

This series adds these options to gcore, and also fixes a minor doc
typo relating to gcore.

Thanks,
Andrew

---

Andrew Burgess (3):
gcore: add -v or --version option to show version number
gcore: add -h|--help options, and improve help/usage message output
gcore/doc: fix mistake in the gcore man page

gdb/Makefile.in | 7 ++--
gdb/NEWS | 4 +++
gdb/configure | 5 ++-
gdb/configure.ac | 2 +-
gdb/doc/gdb.texinfo | 13 +++++--
gdb/{gcore.in => gcore-1.in} | 69 ++++++++++++++++++++++++++++++++----
6 files changed, 83 insertions(+), 17 deletions(-)
rename gdb/{gcore.in => gcore-1.in} (68%)

base-commit: a6bc00ff35a42d6d555aa8de97d427074151ae47
--
2.47.1