2017-12-10 22:00:49 +00:00
|
|
|
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
|
2017-12-04 19:24:00 +00:00
|
|
|
From: Andrew Cagney <cagney@gnu.org>
|
|
|
|
Date: Fri, 27 Oct 2017 21:07:50 +0200
|
|
|
|
Subject: gdb-6.3-readnever-20050907.patch
|
|
|
|
|
2017-12-08 04:31:26 +00:00
|
|
|
;; Add readnever option
|
|
|
|
;;=push
|
|
|
|
|
2005-09-07 18:57:23 +00:00
|
|
|
2004-11-18 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
* dwarf2read.c: Include "top.c".
|
|
|
|
(dwarf2_has_info): Check for readnever_symbol_files.
|
|
|
|
* symfile.c (readnever_symbol_files): Define.
|
|
|
|
* top.h (readnever_symbol_files): Declare.
|
|
|
|
* main.c (captured_main): Add --readnever option.
|
|
|
|
(print_gdb_help): Ditto.
|
|
|
|
|
|
|
|
2004-11-18 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
* gdb.texinfo (File Options): Document --readnever.
|
|
|
|
|
2017-12-08 04:31:26 +00:00
|
|
|
Pushed upstream: https://sourceware.org/ml/gdb-cvs/2017-12/msg00007.html
|
|
|
|
|
|
|
|
diff --git a/gdb/gcore.in b/gdb/gcore.in
|
|
|
|
--- a/gdb/gcore.in
|
|
|
|
+++ b/gdb/gcore.in
|
2018-05-31 18:47:56 +00:00
|
|
|
@@ -97,7 +97,7 @@ for pid in "$@"
|
2017-09-28 17:56:23 +00:00
|
|
|
do
|
|
|
|
# `</dev/null' to avoid touching interactive terminal if it is
|
|
|
|
# available but not accessible as GDB would get stopped on SIGTTIN.
|
2018-05-31 18:47:56 +00:00
|
|
|
- "$binary_path/@GDB_TRANSFORM_NAME@" </dev/null --nx --batch \
|
|
|
|
+ "$binary_path/@GDB_TRANSFORM_NAME@" </dev/null --nx --batch --readnever \
|
2017-09-28 17:56:23 +00:00
|
|
|
-ex "set pagination off" -ex "set height 0" -ex "set width 0" \
|
2017-12-18 17:28:39 +00:00
|
|
|
"${dump_all_cmds[@]}" \
|
2017-09-28 17:56:23 +00:00
|
|
|
-ex "attach $pid" -ex "gcore $name.$pid" -ex detach -ex quit
|