From 8a6a85134d78531c6adb72a888844f7cfa3a5c56 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sat, 23 Feb 2019 10:05:19 -0500 Subject: [PATCH] Use '--readnever' when invoking GDB from gcore.in Back when I proposed the '--readnever' feature, I somehow forgot or decided not to include the bits related to gcore.in in the original patch. This patch finally updates the gcore script to invoke GDB using '--readnever'. We've been carrying this patch on Fedora GDB for quite some time, and as expected the corefiles generated by gcore on Fedora don't have problems, which I think is the best indicator that the it's safe to generate corefiles using '--readnever'. gdb/ChangeLog: 2019-02-23 Sergio Durigan Junior * gcore.in: Add '--readnever' option when invoking GDB. --- gdb/ChangeLog | 4 ++++ gdb/gcore.in | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6a551dfa64a..9a5740210b3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-02-23 Sergio Durigan Junior + + * gcore.in: Add '--readnever' option when invoking GDB. + 2019-02-22 Simon Marchi * MAINTAINERS: Update my email address. diff --git a/gdb/gcore.in b/gdb/gcore.in index 25602396d57..b9770ea4153 100644 --- a/gdb/gcore.in +++ b/gdb/gcore.in @@ -97,7 +97,8 @@ for pid in "$@" do # `