This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] cc-with-index.sh: Use -ex "set auto-load no"


Hi,

this fixes:

 Running gdb/testsuite/gdb.python/py-section-script.exp ...
-gdb compile failed, warning: Missing auto-load scripts referenced in section .debug_gdb_scripts
-of file /unsafegdb/testsuite.unix.-m32/gdb.python/py-section-script
-Use `info auto-load python [REGEXP]' to list them.
-UNTESTED: gdb.python/py-section-script.exp: py-section-script.exp
+PASS: gdb.python/py-section-script.exp: set auto-load safe-path
[...]

No regressions on {x86_64,x86_64-m32,i686}-fedorarawhide-linux-gnu.

Checked in.  It has missed some regression testing during auto-load check-in.

Tom's cc-with-index.sh rework will need a simple update.


Sorry,
Jan


http://sourceware.org/ml/gdb-cvs/2012-06/msg00172.html

--- src/gdb/ChangeLog	2012/06/23 22:23:44	1.14391
+++ src/gdb/ChangeLog	2012/06/24 06:58:10	1.14392
@@ -1,3 +1,7 @@
+2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* cc-with-index.sh: Use also -ex "set auto-load no".
+
 2012-06-23  Doug Evans  <dje@google.com>
 
 	PR 14125
--- src/gdb/cc-with-index.sh	2012/01/04 08:17:00	1.6
+++ src/gdb/cc-with-index.sh	2012/06/24 06:58:11	1.7
@@ -107,7 +107,7 @@
     exit 1
 fi
 
-$GDB --batch-silent -nx -ex "file $output_file" -ex "save gdb-index $output_dir"
+$GDB --batch-silent -nx -ex "set auto-load no" -ex "file $output_file" -ex "save gdb-index $output_dir"
 rc=$?
 [ $rc != 0 ] && exit $rc
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]