From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29461 invoked by alias); 30 Jan 2012 06:40:20 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 29417 invoked by uid 9674); 30 Jan 2012 06:40:18 -0000 Date: Mon, 30 Jan 2012 06:40:00 -0000 Message-ID: <20120130064018.29402.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-autoload: Merge branch 'gdbinitb-move2-misc-pfx-warn-safepath-debug' into gdbinitb-move2-misc-pfx-warn-safepath-debug-warnlocal X-Git-Refname: refs/heads/archer-jankratochvil-autoload X-Git-Reftype: branch X-Git-Oldrev: 224bfa32f18eb367009044be4b28e78b72a9456e X-Git-Newrev: 412ca9b1e5cbe4b5a2c5862e54bb594e4f1eca1f X-SW-Source: 2012-q1/txt/msg00032.txt.bz2 List-Id: The branch, archer-jankratochvil-autoload has been updated via 412ca9b1e5cbe4b5a2c5862e54bb594e4f1eca1f (commit) via c8af49450121c9ff1e9f1187a4f6ab6a7a015d40 (commit) via 502c124fb8dde3958b53ffb4694a3c7d2385f36b (commit) via 8a393e9598029fdf00a9f7f014794d52d02d94ce (commit) via 2ef17c4119fc6db0439ed3abd6a16d98ee226322 (commit) via 1e659ddaf9f3e76cc51314500ddc8485070ec7b0 (commit) via 5e4e42b1240f1d899bb8afeec6afb9653a83e38b (commit) via 677d6152302ac61c7d44320ece27de904551d8e5 (commit) via 16aa516494b74609f24870ff43424740df7eb39d (commit) via c0ac8391dd5fc081d57d6ab269c6e52f3954325f (commit) via fb7964b0a068b008155b469af93b0f3313bbb2cd (commit) via 696e27c106724033bfac9ff8a9ffdad084c7d329 (commit) via 076b1d71ac16e305d01401ef4673396494b13e05 (commit) via e2be17a4c473430c4e2302a77dd5b1a92db36d8f (commit) from 224bfa32f18eb367009044be4b28e78b72a9456e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 412ca9b1e5cbe4b5a2c5862e54bb594e4f1eca1f Merge: 8a393e9 c8af494 Author: Jan Kratochvil Date: Mon Jan 30 07:39:59 2012 +0100 Merge branch 'gdbinitb-move2-misc-pfx-warn-safepath-debug' into gdbinitb-move2-misc-pfx-warn-safepath-debug-warnlocal commit c8af49450121c9ff1e9f1187a4f6ab6a7a015d40 Merge: 2ef17c4 502c124 Author: Jan Kratochvil Date: Mon Jan 30 07:39:58 2012 +0100 Merge branch 'gdbinitb-move2-misc-pfx-warn-safepath' into gdbinitb-move2-misc-pfx-warn-safepath-debug commit 502c124fb8dde3958b53ffb4694a3c7d2385f36b Author: Jan Kratochvil Date: Mon Jan 30 07:39:52 2012 +0100 . commit 8a393e9598029fdf00a9f7f014794d52d02d94ce Merge: 224bfa3 2ef17c4 Author: Jan Kratochvil Date: Mon Jan 30 07:33:00 2012 +0100 Merge branch 'gdbinitb-move2-misc-pfx-warn-safepath-debug' into gdbinitb-move2-misc-pfx-warn-safepath-debug-warnlocal commit 2ef17c4119fc6db0439ed3abd6a16d98ee226322 Merge: ca448b2 1e659dd Author: Jan Kratochvil Date: Mon Jan 30 07:33:00 2012 +0100 Merge branch 'gdbinitb-move2-misc-pfx-warn-safepath' into gdbinitb-move2-misc-pfx-warn-safepath-debug commit 1e659ddaf9f3e76cc51314500ddc8485070ec7b0 Merge: 696e27c 5e4e42b Author: Jan Kratochvil Date: Mon Jan 30 07:32:59 2012 +0100 Merge branch 'gdbinitb-move2-misc-pfx-warn' into gdbinitb-move2-misc-pfx-warn-safepath commit 5e4e42b1240f1d899bb8afeec6afb9653a83e38b Merge: 93ef2e3 677d615 Author: Jan Kratochvil Date: Mon Jan 30 07:32:59 2012 +0100 Merge branch 'gdbinitb-move2-misc-pfx' into gdbinitb-move2-misc-pfx-warn commit 677d6152302ac61c7d44320ece27de904551d8e5 Merge: 637f5c0 16aa516 Author: Jan Kratochvil Date: Mon Jan 30 07:32:59 2012 +0100 Merge branch 'gdbinitb-move2-misc' into gdbinitb-move2-misc-pfx commit 16aa516494b74609f24870ff43424740df7eb39d Merge: f0c55b5 c0ac839 Author: Jan Kratochvil Date: Mon Jan 30 07:32:59 2012 +0100 Merge branch 'gdbinitb-move2' into gdbinitb-move2-misc commit c0ac8391dd5fc081d57d6ab269c6e52f3954325f Merge: 31a53af fb7964b Author: Jan Kratochvil Date: Mon Jan 30 07:32:59 2012 +0100 Merge branch 'gdbinitb' into gdbinitb-move2 commit fb7964b0a068b008155b469af93b0f3313bbb2cd Merge: 942e473 076b1d7 Author: Jan Kratochvil Date: Mon Jan 30 07:32:59 2012 +0100 Merge remote-tracking branch 'gdb/master' into gdbinitb commit 696e27c106724033bfac9ff8a9ffdad084c7d329 Author: Jan Kratochvil Date: Mon Jan 30 07:32:45 2012 +0100 . commit 076b1d71ac16e305d01401ef4673396494b13e05 Author: gdbadmin Date: Mon Jan 30 00:00:33 2012 +0000 *** empty log message *** commit e2be17a4c473430c4e2302a77dd5b1a92db36d8f Author: Alan Modra Date: Sun Jan 29 23:00:05 2012 +0000 daily update ----------------------------------------------------------------------- Summary of changes: bfd/version.h | 2 +- gdb/auto-load.c | 9 +++++---- gdb/testsuite/gdb.python/py-objfile-script.exp | 1 + gdb/testsuite/gdb.python/py-section-script.exp | 1 + gdb/version.in | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) First 500 lines of diff: diff --git a/bfd/version.h b/bfd/version.h index 88eb69d..2edff00 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20120129 +#define BFD_VERSION_DATE 20120130 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/gdb/auto-load.c b/gdb/auto-load.c index 13b7f1a..41b9454 100644 --- a/gdb/auto-load.c +++ b/gdb/auto-load.c @@ -118,8 +118,9 @@ show_auto_load_local_gdbinit (struct ui_file *file, int from_tty, } /* Directory list safe to hold auto-loaded files. It is not checked for - absolute paths but they are strongly recommended. */ -static char *auto_load_safe_path = DEFAULT_AUTO_LOAD_SAFE_PATH; + absolute paths but they are strongly recommended. It is initialized by + _initialize_auto_load. */ +static char *auto_load_safe_path; /* Vector of directory elements of AUTO_LOAD_SAFE_PATH with each one normalized by gdb_realpath. */ @@ -833,6 +834,8 @@ This options has security implications for untrusted inferiors."), auto_load_set_cmdlist_get (), auto_load_show_cmdlist_get ()); + auto_load_safe_path = xstrdup (DEFAULT_AUTO_LOAD_SAFE_PATH); + auto_load_safe_path_vec_update (); add_setshow_filename_cmd ("safe-path", class_support, &auto_load_safe_path, _("\ Set the directories safe to hold auto-loaded files."), _("\ @@ -860,6 +863,4 @@ is displayed."), info_auto_load_scripts, _("Print the list of automatically loaded scripts.\n\ Usage: info auto-load-scripts [REGEXP]")); - - auto_load_safe_path_vec_update (); } diff --git a/gdb/testsuite/gdb.python/py-objfile-script.exp b/gdb/testsuite/gdb.python/py-objfile-script.exp index 4963206..ec19091 100644 --- a/gdb/testsuite/gdb.python/py-objfile-script.exp +++ b/gdb/testsuite/gdb.python/py-objfile-script.exp @@ -37,6 +37,7 @@ if { [skip_python_tests] } { continue } set remote_python_file [remote_download host ${srcdir}/${subdir}/${testfile}-gdb.py.in ${subdir}/${testfile}-gdb.py] gdb_reinitialize_dir $srcdir/$subdir +gdb_test_no_output "set auto-load safe-path ${remote_python_file}" "set auto-load safe-path" gdb_load ${binfile} # Verify gdb loaded the script. diff --git a/gdb/testsuite/gdb.python/py-section-script.exp b/gdb/testsuite/gdb.python/py-section-script.exp index 9846ce8..dc42a42 100644 --- a/gdb/testsuite/gdb.python/py-section-script.exp +++ b/gdb/testsuite/gdb.python/py-section-script.exp @@ -49,6 +49,7 @@ if { [skip_python_tests] } { continue } set remote_python_file [remote_download host ${srcdir}/${subdir}/${testfile}.py] gdb_reinitialize_dir $srcdir/$subdir +gdb_test_no_output "set auto-load safe-path ${remote_python_file}" "set auto-load safe-path" gdb_load ${binfile} # Verify gdb loaded the script. diff --git a/gdb/version.in b/gdb/version.in index 8d180e9..e7d28dd 100644 --- a/gdb/version.in +++ b/gdb/version.in @@ -1 +1 @@ -7.4.50.20120129-cvs +7.4.50.20120130-cvs hooks/post-receive -- Repository for Project Archer.