13 lines
228 B
Diff
13 lines
228 B
Diff
--- a/gdb/gdb_gcore.sh
|
|
+++ b/gdb/gdb_gcore.sh
|
|
@@ -64,6 +64,9 @@ for pid in $*
|
|
do
|
|
# Write gdb script for pid $pid.
|
|
cat >>$tmpfile <<EOF
|
|
+set pagination off
|
|
+set width 0
|
|
+set height 0
|
|
attach $pid
|
|
gcore $name.$pid
|
|
detach
|