public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-autoload: Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal
@ 2012-03-19 17:36 jkratoch
  0 siblings, 0 replies; 4+ messages in thread
From: jkratoch @ 2012-03-19 17:36 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-autoload has been updated
       via  64ecd11610152afda6e30f9f4d20929bb0c3e225 (commit)
       via  b4c159ba6ff2f578d4497f9126ba0cdbe1257504 (commit)
       via  673ec47888c745031b43b57f165e5eb92fe21d2e (commit)
       via  1cac12d90c658a4f46ee2ff913c033d9f78ff1d9 (commit)
       via  81eb095cc03e01d1a395448f0501bfd301732fb3 (commit)
      from  49f4c137f5c2b2d6f8662a3220f8aa199ab00654 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 64ecd11610152afda6e30f9f4d20929bb0c3e225
Merge: 49f4c13 b4c159b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:36:14 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal

commit b4c159ba6ff2f578d4497f9126ba0cdbe1257504
Merge: 92530ee 673ec47
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:36:14 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug

commit 673ec47888c745031b43b57f165e5eb92fe21d2e
Merge: 5f9608b 1cac12d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:36:14 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit 1cac12d90c658a4f46ee2ff913c033d9f78ff1d9
Merge: dcb2b7d 81eb095
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:36:13 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit 81eb095cc03e01d1a395448f0501bfd301732fb3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:36:10 2012 +0100

    .

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/gdb.base/help.exp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp
index b5d350e..7e48aef 100644
--- a/gdb/testsuite/gdb.base/help.exp
+++ b/gdb/testsuite/gdb.base/help.exp
@@ -24,7 +24,7 @@
 gdb_start
 
 # force the height of the debugger to be pretty large so no pagers get used
-gdb_test_no_output "set height 400" "test set height"
+gdb_test_no_output "set height 500" "test set height"
 
 # use a larger expect input buffer for long help outputs.
 # test help add-symbol-file


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [SCM]  archer-jankratochvil-autoload: Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal
@ 2012-03-19 17:32 jkratoch
  0 siblings, 0 replies; 4+ messages in thread
From: jkratoch @ 2012-03-19 17:32 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-autoload has been updated
       via  49f4c137f5c2b2d6f8662a3220f8aa199ab00654 (commit)
       via  92530ee5fc527917a11f1a87a19bc2e80d5b268d (commit)
       via  5f9608b08066ed13757351959618da024ccd3d73 (commit)
       via  dcb2b7dff3fb89b6f89801c3c4f3843a35151c55 (commit)
       via  850be04d32727ec82fc3f255cfbfdc46caf1c57c (commit)
       via  606ad596c60f804b5f6a899360d34d5395e79df1 (commit)
       via  925a2efb563cf62a40cf7fa1a230c3ed87262521 (commit)
       via  9705cd401d7f25d1500e2e6ba2fb807653dff663 (commit)
       via  ec436dd08287a9d0ebb77976404ab080d99d9612 (commit)
       via  bc7627ec2d217cbe2affce8d2965f13d09aa1be0 (commit)
       via  cd192954f4d4a42c87e59f371128f801b9b622db (commit)
      from  6ed98b808146713f89ade08cde5b51e3f1ae9e81 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 49f4c137f5c2b2d6f8662a3220f8aa199ab00654
Merge: 6ed98b8 92530ee
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:55 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal

commit 92530ee5fc527917a11f1a87a19bc2e80d5b268d
Merge: 9268077 5f9608b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:55 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug

commit 5f9608b08066ed13757351959618da024ccd3d73
Merge: cd19295 dcb2b7d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:55 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit dcb2b7dff3fb89b6f89801c3c4f3843a35151c55
Merge: 0670825 850be04
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:54 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit 850be04d32727ec82fc3f255cfbfdc46caf1c57c
Merge: ec436dd 606ad59
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:54 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move' into initclean-initx-gdbinitb-move-misc2

commit 606ad596c60f804b5f6a899360d34d5395e79df1
Merge: d3eeaed 925a2ef
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:54 2012 +0100

    Merge branch 'initclean-initx-gdbinitb' into initclean-initx-gdbinitb-move

commit 925a2efb563cf62a40cf7fa1a230c3ed87262521
Merge: 57bb2f9 9705cd4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:54 2012 +0100

    Merge branch 'initclean-initx' into initclean-initx-gdbinitb

commit 9705cd401d7f25d1500e2e6ba2fb807653dff663
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:31:49 2012 +0100

    .

commit ec436dd08287a9d0ebb77976404ab080d99d9612
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:30:53 2012 +0100

    .

commit bc7627ec2d217cbe2affce8d2965f13d09aa1be0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:29:37 2012 +0100

    .

commit cd192954f4d4a42c87e59f371128f801b9b622db
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:22:11 2012 +0100

    .

-----------------------------------------------------------------------

Summary of changes:
 gdb/auto-load.c           |   12 ++++++------
 gdb/doc/gdb.texinfo       |    2 +-
 gdb/python/py-auto-load.c |    3 +++
 3 files changed, 10 insertions(+), 7 deletions(-)

First 500 lines of diff:
diff --git a/gdb/auto-load.c b/gdb/auto-load.c
index b046349..f10d901 100644
--- a/gdb/auto-load.c
+++ b/gdb/auto-load.c
@@ -650,7 +650,6 @@ print_script (struct loaded_script *script)
   struct ui_out *uiout = current_uiout;
   struct cleanup *chain;
 
-  ui_out_text (uiout, "\n");
   chain = make_cleanup_ui_out_tuple_begin_end (uiout, NULL);
 
   ui_out_field_string (uiout, "loaded", script->loaded ? "Yes" : "No");
@@ -897,8 +896,8 @@ This options has security implications for untrusted inferiors."),
 
   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, _("\
+  add_setshow_optional_filename_cmd ("safe-path", class_support,
+				     &auto_load_safe_path, _("\
 Set the directories safe to hold auto-loaded files."), _("\
 Show the directories safe to hold auto-loaded files."), _("\
 Various files loaded automatically for the 'set auto-load ...' options must\n\
@@ -907,9 +906,10 @@ printed and file will not be used otherwise.  Use empty string to allow any\n\
 file for the 'set auto-load ...' options.  This option is ignored for the\n\
 kinds of files having 'set auto-load ... off'.\n\
 This options has security implications for untrusted inferiors."),
-			    set_auto_load_safe_path, show_auto_load_safe_path,
-			    auto_load_set_cmdlist_get (),
-			    auto_load_show_cmdlist_get ());
+				     set_auto_load_safe_path,
+				     show_auto_load_safe_path,
+				     auto_load_set_cmdlist_get (),
+				     auto_load_show_cmdlist_get ());
 
   add_setshow_boolean_cmd ("auto-load", class_maintenance,
 			   &debug_auto_load, _("\
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9115d8b..b37215b 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -1300,7 +1300,7 @@ $ gdb -iex "set auto-load python-scripts" myprogram
 @end smallexample
 
 Option @samp{-ex} does not work because the auto-loading is then turned
-off too late:
+off too late.
 
 @item
 Executes commands and command files specified by the @samp{-ex} and
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c
index 6ae2381..eaa2212 100644
--- a/gdb/python/py-auto-load.c
+++ b/gdb/python/py-auto-load.c
@@ -265,6 +265,9 @@ Deprecated alias for 'show auto-load python-scripts'."),
 	   _("Print the list of automatically loaded Python scripts.\n\
 Usage: info auto-load python-scripts [REGEXP]"),
 	   auto_load_info_cmdlist_get ());
+
+  add_info ("auto-load-scripts", info_auto_load_python_scripts,
+	    _("Deprecated alias for 'info auto-load python-scripts'."));
 }
 
 #else /* ! HAVE_PYTHON */


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [SCM]  archer-jankratochvil-autoload: Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal
@ 2012-03-19 17:16 jkratoch
  0 siblings, 0 replies; 4+ messages in thread
From: jkratoch @ 2012-03-19 17:16 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-autoload has been updated
       via  6ed98b808146713f89ade08cde5b51e3f1ae9e81 (commit)
       via  92680773ab01bd821a13d307409dbf1c540d6efd (commit)
       via  53f7c899e3466fe636a28d97d22c25e3d4aed45f (commit)
       via  06708259c07cfd4bb628040df4ee43de5f0e9995 (commit)
       via  d769ad28a7aedc89d832edc5af0509255d27012e (commit)
      from  24e13b1b9360bea1c2043eaeacef3637e632dde2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 6ed98b808146713f89ade08cde5b51e3f1ae9e81
Merge: 24e13b1 9268077
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:16:15 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal

commit 92680773ab01bd821a13d307409dbf1c540d6efd
Merge: 1dd6b60 53f7c89
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:16:15 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug

commit 53f7c899e3466fe636a28d97d22c25e3d4aed45f
Merge: b606cba 0670825
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:16:15 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit 06708259c07cfd4bb628040df4ee43de5f0e9995
Merge: b5132d9 d769ad2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:16:15 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit d769ad28a7aedc89d832edc5af0509255d27012e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:16:11 2012 +0100

    .

-----------------------------------------------------------------------

Summary of changes:
 gdb/python/py-auto-load.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c
index 6336b7e..6ae2381 100644
--- a/gdb/python/py-auto-load.c
+++ b/gdb/python/py-auto-load.c
@@ -255,6 +255,12 @@ This options has security implications for untrusted inferiors."),
 			   auto_load_set_cmdlist_get (),
 			   auto_load_show_cmdlist_get ());
 
+  add_setshow_boolean_cmd ("auto-load-scripts", class_support,
+			   &auto_load_python_scripts, _("\
+Deprecated alias for 'set auto-load python-scripts'."), _("\
+Deprecated alias for 'show auto-load python-scripts'."),
+			   NULL, NULL, NULL, &setlist, &showlist);
+
   add_cmd ("python-scripts", class_info, info_auto_load_python_scripts,
 	   _("Print the list of automatically loaded Python scripts.\n\
 Usage: info auto-load python-scripts [REGEXP]"),


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [SCM]  archer-jankratochvil-autoload: Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal
@ 2012-03-19 17:11 jkratoch
  0 siblings, 0 replies; 4+ messages in thread
From: jkratoch @ 2012-03-19 17:11 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-autoload has been updated
       via  24e13b1b9360bea1c2043eaeacef3637e632dde2 (commit)
       via  1dd6b6073b979ad0cdf8bf35889d7d0d8a14f035 (commit)
       via  efc005c5cfaabb7d7f874c18762f60823d7bd112 (commit)
       via  b606cba056c30e8545d68907eae18f684caff632 (commit)
       via  658c1145992133827946dc53a808c2a3db6f3dfe (commit)
       via  b5132d92b634f2197e7d79fb08dfb1ffe25f25ca (commit)
       via  14618e8a004b5c063575dc478a0121dc5909674c (commit)
       via  558b04b6d6fc614c70e016ec922227487af90b6a (commit)
       via  f457effc70d40b2c2d928121f41b9c62b895ea20 (commit)
       via  7b8ab4c44a34a9f2679462560c468763e2a90756 (commit)
       via  c17f8f15ac52f7dbaeb7380887c1faca15d9e62c (commit)
       via  780fb3abf972c4f4280e21368c67a3f8ac52deb8 (commit)
       via  791171f44876eafe3ace7ffa931b8acca8dc9ac8 (commit)
       via  f7b789e4efbfa177552ddf51cb6ebfce66db15c7 (commit)
       via  e9f0faaf5edf93a716f7bdf28e59edfdd9dd00cd (commit)
       via  7d2ea4cce234e2f60b95127b19b4e3ba2ac3143b (commit)
       via  b597d95a2ec27334545e4dd98f82b45580c1c272 (commit)
       via  d3eeaedc724e4f4eed6ef1a1df8ccbedf8f7bd89 (commit)
       via  57bb2f92d54fcca920254edcbf79b8af38ad907a (commit)
       via  731b10588d8295c2a1ab6eaba3c35f242fb25d85 (commit)
       via  20ded24d86b1fc09bf8b12cd0996f70dbb662c02 (commit)
       via  107d4a8ed2758747ffea0ca6ce5796f8dba96157 (commit)
       via  186404b922ac69f05e8fed4c35bea14b0d800789 (commit)
       via  8aabb8d0817755037fda07bd877b77c8e54168f3 (commit)
       via  80207238a714c021c9643597b4b1a86f18d35620 (commit)
       via  65a090cac5b11456b1e9ca068723babc50d3f7f4 (commit)
       via  91fe8da47b15f96e15335a90cc6b30fb88a80aeb (commit)
       via  df29ed248303843abd3abe621203f9e867173c23 (commit)
       via  67aef6fd7737232dbf2b02818b9607d54079429b (commit)
       via  b425b35d035e42913e36d76a1a26f2be9804376f (commit)
       via  7b0e29889530f75827a7825aa9a09f6cce5de94e (commit)
       via  5ddb352a8ac11771f7873615e02b3630f49bc895 (commit)
       via  4521af1eac0a64252b25589ef061c7aa413767b2 (commit)
       via  1ed0872161a4a49810b2686179979b46f12ad746 (commit)
       via  8f76c9938614819e2390efc6b386c8fb2f452b4e (commit)
       via  8ab59c15b5d137ddccd432f0946e59fa462e30ef (commit)
       via  8281376dc21b49eb1cda353cbcfc1b964d05b544 (commit)
       via  3d3ec0b91e50c07e5400b7b54f54abb782761bcb (commit)
       via  ad290c1f04dc60f599d351800fb156e571839156 (commit)
       via  198f38cfaf0c47455278772acb7499920b3f7f9b (commit)
       via  dc8b55393ea3f1d41542b867fad99be3ad5e5f9e (commit)
       via  3d359a151ef30fd6670933c90d2c25e57661a757 (commit)
       via  8b6432db4f820d48346e40404a55279fbb0fa203 (commit)
       via  be9570d85d16a8f236e7a491d5d37a5f0f5e01ff (commit)
       via  54a949f3445bf1f892948b0e230110c9ddc4bfd0 (commit)
       via  628d407b7cefcdadc5d1d83e70901e2103aecc9c (commit)
       via  e5b0901e2130f01c79cafa080fad094f5902f09a (commit)
       via  5af8a6048deba59c43a620a520be2be5262346bd (commit)
       via  a7dfdabb4770b6736d4c818d791e95e675f0696c (commit)
       via  9e38ed39b7c169314953d973fb3536e766baf48f (commit)
       via  6c1a0002f71a162f8c01808b4f117f3e704c6880 (commit)
       via  3332a5f3e304b992f6470975c17981a119ceed72 (commit)
       via  77c1f3dd700bb17c4c91993f19213c29385add62 (commit)
       via  b90780b1d784e43d1c6e4f55272afc3b2975373f (commit)
       via  8beb2a74714517e9329b78628c783e699c2fe41d (commit)
       via  c0a3cf19c5685ee971445c6684e081b6273cefb7 (commit)
       via  911c219a4dc5f54622ba9c11c88adebfd3868bc5 (commit)
       via  8dd8348932371b493c3123ff457e7eefcc4af30e (commit)
      from  7ef26536e685011cf3dec2f9292b70aa2dd5768f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 24e13b1b9360bea1c2043eaeacef3637e632dde2
Merge: 791171f 1dd6b60
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:10:15 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal

commit 1dd6b6073b979ad0cdf8bf35889d7d0d8a14f035
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:10:08 2012 +0100

    .

commit efc005c5cfaabb7d7f874c18762f60823d7bd112
Merge: f7b789e b606cba
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:09:24 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug

commit b606cba056c30e8545d68907eae18f684caff632
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:09:17 2012 +0100

    .

commit 658c1145992133827946dc53a808c2a3db6f3dfe
Merge: f457eff b5132d9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:07:33 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit b5132d92b634f2197e7d79fb08dfb1ffe25f25ca
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:07:24 2012 +0100

    .

commit 14618e8a004b5c063575dc478a0121dc5909674c
Merge: 7b8ab4c 558b04b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:06:22 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit 558b04b6d6fc614c70e016ec922227487af90b6a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 18:06:15 2012 +0100

    .

commit f457effc70d40b2c2d928121f41b9c62b895ea20
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:58:39 2012 +0100

    .

commit 7b8ab4c44a34a9f2679462560c468763e2a90756
Merge: e9f0faa 780fb3a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:58:25 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit c17f8f15ac52f7dbaeb7380887c1faca15d9e62c
Merge: 7d2ea4c 7b8ab4c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:58:25 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit 780fb3abf972c4f4280e21368c67a3f8ac52deb8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:57:57 2012 +0100

    .

commit 791171f44876eafe3ace7ffa931b8acca8dc9ac8
Merge: 8aabb8d f7b789e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:59 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal

commit f7b789e4efbfa177552ddf51cb6ebfce66db15c7
Merge: 8020723 7d2ea4c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:59 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug

commit e9f0faaf5edf93a716f7bdf28e59edfdd9dd00cd
Merge: 65a090c b597d95
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:59 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit 7d2ea4cce234e2f60b95127b19b4e3ba2ac3143b
Merge: 91fe8da e9f0faa
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:59 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit b597d95a2ec27334545e4dd98f82b45580c1c272
Merge: df29ed2 d3eeaed
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:58 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move' into initclean-initx-gdbinitb-move-misc2

commit d3eeaedc724e4f4eed6ef1a1df8ccbedf8f7bd89
Merge: 67aef6f 57bb2f9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:58 2012 +0100

    Merge branch 'initclean-initx-gdbinitb' into initclean-initx-gdbinitb-move

commit 57bb2f92d54fcca920254edcbf79b8af38ad907a
Merge: b425b35 731b105
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:58 2012 +0100

    Merge branch 'initclean-initx' into initclean-initx-gdbinitb

commit 731b10588d8295c2a1ab6eaba3c35f242fb25d85
Merge: 7b0e298 20ded24
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:58 2012 +0100

    Merge branch 'initclean' into initclean-initx

commit 20ded24d86b1fc09bf8b12cd0996f70dbb662c02
Merge: 5ddb352 107d4a8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 17:23:58 2012 +0100

    Merge remote-tracking branch 'gdb/master' into initclean

commit 107d4a8ed2758747ffea0ca6ce5796f8dba96157
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Mar 19 14:33:35 2012 +0000

    2012-03-19  Pedro Alves  <palves@redhat.com>
    	    Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* server.c (cont_thread, general_thread): Add describing comments.
    	(start_inferior): Clear `cont_thread'.
    	(handle_v_cont): Don't set `cont_thread' if resuming all threads
    	of a process.

commit 8aabb8d0817755037fda07bd877b77c8e54168f3
Merge: e5b0901 8020723
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:19 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal

commit 80207238a714c021c9643597b4b1a86f18d35620
Merge: 5af8a60 91fe8da
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:19 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug

commit 65a090cac5b11456b1e9ca068723babc50d3f7f4
Merge: a7dfdab df29ed2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:19 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit 91fe8da47b15f96e15335a90cc6b30fb88a80aeb
Merge: 9e38ed3 65a090c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:19 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit df29ed248303843abd3abe621203f9e867173c23
Merge: 6c1a000 67aef6f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:18 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move' into initclean-initx-gdbinitb-move-misc2

commit 67aef6fd7737232dbf2b02818b9607d54079429b
Merge: 3332a5f b425b35
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:18 2012 +0100

    Merge branch 'initclean-initx-gdbinitb' into initclean-initx-gdbinitb-move

commit b425b35d035e42913e36d76a1a26f2be9804376f
Merge: 77c1f3d 7b0e298
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:18 2012 +0100

    Merge branch 'initclean-initx' into initclean-initx-gdbinitb

commit 7b0e29889530f75827a7825aa9a09f6cce5de94e
Merge: b90780b 5ddb352
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:18 2012 +0100

    Merge branch 'initclean' into initclean-initx

commit 5ddb352a8ac11771f7873615e02b3630f49bc895
Merge: 8beb2a7 4521af1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 19 10:22:17 2012 +0100

    Merge remote-tracking branch 'gdb/master' into initclean

commit e5b0901e2130f01c79cafa080fad094f5902f09a
Merge: 7ef2653 5af8a60
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:12 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal

commit 5af8a6048deba59c43a620a520be2be5262346bd
Merge: 28d899c 9e38ed3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:12 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug

commit a7dfdabb4770b6736d4c818d791e95e675f0696c
Merge: a30c8b1 6c1a000
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:12 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2' into initclean-initx-gdbinitb-move-misc2-warn

commit 9e38ed39b7c169314953d973fb3536e766baf48f
Merge: 02afba7 a7dfdab
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:12 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move-misc2-warn' into initclean-initx-gdbinitb-move-misc2-warn-safepath

commit 6c1a0002f71a162f8c01808b4f117f3e704c6880
Merge: fa2823b 3332a5f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:11 2012 +0100

    Merge branch 'initclean-initx-gdbinitb-move' into initclean-initx-gdbinitb-move-misc2

commit 3332a5f3e304b992f6470975c17981a119ceed72
Merge: 9342f8e 77c1f3d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:11 2012 +0100

    Merge branch 'initclean-initx-gdbinitb' into initclean-initx-gdbinitb-move

commit 77c1f3dd700bb17c4c91993f19213c29385add62
Merge: 3496542 b90780b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:11 2012 +0100

    Merge branch 'initclean-initx' into initclean-initx-gdbinitb

commit b90780b1d784e43d1c6e4f55272afc3b2975373f
Merge: 0f301f8 8beb2a7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:11 2012 +0100

    Merge branch 'initclean' into initclean-initx

commit 8beb2a74714517e9329b78628c783e699c2fe41d
Merge: f08bbab c0a3cf1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 18 20:34:11 2012 +0100

    Merge remote-tracking branch 'gdb/master' into initclean

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                                  |    2 +-
 gdb/NEWS                                       |   22 +
 gdb/doc/gdb.texinfo                            |   21 +-
 gdb/gdbserver/ChangeLog                        |    8 +
 gdb/gdbserver/server.c                         |   24 +-
 gdb/python/py-auto-load.c                      |    2 +-
 gdb/testsuite/ChangeLog                        |   12 +-
 gdb/testsuite/dg-extract-results.sh            |    8 +-
 gdb/testsuite/gdb.base/cond-eval-mode.exp      |    2 +-
 gdb/testsuite/gdb.python/py-objfile-script.exp |    2 +-
 gdb/testsuite/gdb.python/py-section-script.exp |    6 +-
 gdb/version.in                                 |    2 +-
 sim/bfin/ChangeLog                             |   23 +
 sim/bfin/bfin-sim.c                            |   98 +-
 sim/bfin/dv-bfin_ebiu_amc.c                    |    9 +-
 sim/common/ChangeLog                           |   11 +
 sim/common/Make-common.in                      |    2 +-
 sim/common/acinclude.m4                        |    2 +-
 sim/common/gennltvals.sh                       |   32 +-
 sim/common/nrun.c                              |    3 +-
 sim/testsuite/.gitignore                       |    1 +
 sim/testsuite/ChangeLog                        |    4 +
 sim/testsuite/sim/bfin/ChangeLog               |   23 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_amix.s   |    7 +
 sim/testsuite/sim/bfin/random_0014.S           |   82 +
 sim/testsuite/sim/bfin/random_0015.S           |   25 +
 sim/testsuite/sim/bfin/random_0016.S           |   26 +
 sim/testsuite/sim/bfin/se_all16bitopcodes.S    |  142 +-
 sim/testsuite/sim/bfin/se_all32bitopcodes.S    |  163 +-
 sim/testsuite/sim/bfin/se_all64bitg0opcodes.S  |33371 ++++++++++++++++++++++++
 sim/testsuite/sim/bfin/se_all64bitg1opcodes.S  |   83 +
 sim/testsuite/sim/bfin/se_all64bitg2opcodes.S  |   58 +
 sim/testsuite/sim/bfin/se_allopcodes.h         |  211 +
 33 files changed, 34136 insertions(+), 351 deletions(-)
 create mode 100644 sim/testsuite/.gitignore
 create mode 100644 sim/testsuite/sim/bfin/random_0014.S
 create mode 100644 sim/testsuite/sim/bfin/random_0015.S
 create mode 100644 sim/testsuite/sim/bfin/random_0016.S
 create mode 100644 sim/testsuite/sim/bfin/se_all64bitg0opcodes.S
 create mode 100644 sim/testsuite/sim/bfin/se_all64bitg1opcodes.S
 create mode 100644 sim/testsuite/sim/bfin/se_all64bitg2opcodes.S
 create mode 100644 sim/testsuite/sim/bfin/se_allopcodes.h

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 1841741..241c6fe 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20120317
+#define BFD_VERSION_DATE 20120319
 #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/NEWS b/gdb/NEWS
index 84cf584..1f7a69a 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -84,6 +84,13 @@
   ** "info vtbl" can be used to show the virtual method tables for
      C++ and Java objects.
 
+  ** "info auto-load" shows the status of all kinds of auto-loaded scripts.
+
+  ** "info auto-load-scripts", "set auto-load-scripts on|off"
+     and "show auto-load-scripts" commands have been deprecated, use their
+     "info auto-load python-scripts", "set auto-load python-scripts on|off"
+     and "show auto-load python-scripts" counterparts instead.
+
 * New targets
 
 Renesas RL78			rl78-*-elf
@@ -104,6 +111,21 @@ show breakpoint condition-evaluation
   This option can improve debugger efficiency depending on the speed of the
   target.
 
+show auto-load
+set auto-load gdb-scripts on|off
+show auto-load gdb-scripts
+set auto-load libthread-db on|off
+show auto-load libthread-db
+set auto-load local-gdbinit on|off|warn-and-on|warn-and-off
+show auto-load local-gdbinit
+set auto-load python-scripts on|off
+show auto-load python-scripts
+set auto-load safe-path <dir1>[:<dir2>...]
+show auto-load safe-path
+set debug auto-load on|off
+show debug auto-load
+  Controls auto-loading of various kinds of scripts.
+
 * New remote packets
 
 z0/z1 conditional breakpoints extension
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 8ad14f5..9115d8b 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -1296,7 +1296,7 @@ If you wish to disable the auto-loading during startup,
 you must do something like the following:
 
 @smallexample
-$ gdb -iex "set auto-load-scripts off" myprogram
+$ gdb -iex "set auto-load python-scripts" myprogram
 @end smallexample
 
 Option @samp{-ex} does not work because the auto-loading is then turned
@@ -24654,17 +24654,17 @@ Auto-loading can be enabled or disabled,
 and the list of auto-loaded scripts can be printed.
 
 @table @code
-@kindex set auto-load-scripts
-@item set auto-load-scripts [yes|no]
+@kindex set auto-load python-scripts
+@item set auto-load python-scripts [yes|no]
 Enable or disable the auto-loading of Python scripts.
 
-@kindex show auto-load-scripts
-@item show auto-load-scripts
+@kindex show auto-load python-scripts
+@item show auto-load python-scripts
 Show whether auto-loading of Python scripts is enabled or disabled.
 
-@kindex info auto-load-scripts
-@cindex print list of auto-loaded scripts
-@item info auto-load-scripts [@var{regexp}]
+@kindex info auto-load python-scripts
+@cindex print list of auto-loaded Python scripts
+@item info auto-load python-scripts [@var{regexp}]
 Print the list of all scripts that @value{GDBN} auto-loaded.
 
 Also printed is the list of scripts that were mentioned in
@@ -24674,12 +24674,13 @@ This is useful because their names are not printed when @value{GDBN}
 tries to load them and fails.  There may be many of them, and printing
 an error message for each one is problematic.
 
-If @var{regexp} is supplied only scripts with matching names are printed.
+If @var{regexp} is supplied only Python scripts with matching names are
+printed.
 
 Example:
 
 @smallexample
-(gdb) info auto-load-scripts
+(gdb) info auto-load python-scripts
 Loaded  Script
 Yes     py-section-script.py
         full name: /tmp/py-section-script.py
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 61607a6..91b12e0 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-19  Pedro Alves  <palves@redhat.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* server.c (cont_thread, general_thread): Add describing comments.
+	(start_inferior): Clear `cont_thread'.
+	(handle_v_cont): Don't set `cont_thread' if resuming all threads
+	of a process.
+
 2012-03-15  Yao Qi  <yao@codesourcery.com>
 
 	* tracepoint.c (install_tracepoint): Move duplicated tracepoint
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 3c97dbd..a4e9e57 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -30,7 +30,19 @@
 #include <sys/wait.h>
 #endif
 
+/* The thread set with an `Hc' packet.  `Hc' is deprecated in favor of
+   `vCont'.  Note the multi-process extensions made `vCont' a
+   requirement, so `Hc pPID.TID' is pretty much undefined.  So
+   CONT_THREAD can be null_ptid for no `Hc' thread, minus_one_ptid for
+   resuming all threads of the process (again, `Hc' isn't used for
+   multi-process), or a specific thread ptid_t.
+
+   We also set this when handling a single-thread `vCont' resume, as
+   some places in the backends check it to know when (and for which
+   thread) single-thread scheduler-locking is in effect.  */
 ptid_t cont_thread;
+
+/* The thread set with an `Hg' packet.  */
 ptid_t general_thread;
 
 int server_waiting;
@@ -262,6 +274,10 @@ start_inferior (char **argv)
   signal (SIGTTIN, SIG_DFL);
 #endif
 
+  /* Clear this so the backend doesn't get confused, thinking
+     CONT_THREAD died, and it needs to resume all threads.  */
+  cont_thread = null_ptid;
+
   signal_pid = create_inferior (new_argv[0], new_argv);
 
   /* FIXME: we don't actually know at this point that the create
@@ -1962,9 +1978,13 @@ handle_v_cont (char *own_buf)
   if (i < n)
     resume_info[i] = default_action;
 
-  /* Still used in occasional places in the backend.  */
+  /* `cont_thread' is still used in occasional places in the backend,
+     to implement single-thread scheduler-locking.  Doesn't make sense
+     to set it if we see a stop request, or any form of wildcard
+     vCont.  */
   if (n == 1
-      && !ptid_equal (resume_info[0].thread, minus_one_ptid)
+      && !(ptid_equal (resume_info[0].thread, minus_one_ptid)
+	   || ptid_get_lwp (resume_info[0].thread) == -1)
       && resume_info[0].kind != resume_stop)
     cont_thread = resume_info[0].thread;
   else
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c
index dd150fe..6336b7e 100644
--- a/gdb/python/py-auto-load.c
+++ b/gdb/python/py-auto-load.c
@@ -170,7 +170,7 @@ source_section_scripts (struct objfile *objfile, const char *source_name,
 	  if (script_not_found_warning_print (pspace_info))
 	    warning (_("Missing auto-load scripts referenced in section %s\n\
 of file %s\n\
-Use `info auto-load-scripts [REGEXP]' to list them."),
+Use `info auto-load python [REGEXP]' to list them."),
 		     GDBPY_AUTO_SECTION_NAME, objfile->name);
 	}
 
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index eacbbba..f2ea686 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2012-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
+
+2012-03-17  Doug Evans  <dje@google.com>
+
+	* dg-extract-results.sh: Handle KFAILs.
+
 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	PR symtab/13777
@@ -12,8 +20,8 @@
 	PR breakpoints/10738
 	* gdb.opt/inline-break.exp: New file.
 	* gdb.opt/inline-break.c: Likewise.
-	* gdb.dwarf2/inline-break.exp: Likewise.
-	* gdb.dwarf2/inline-break.S: Likewise.
+	* gdb.dwarf2/dw2-inline-break.exp: Likewise.
+	* gdb.dwarf2/dw2-inline-break.S: Likewise.
 	* gdb.base/annota1.exp: Cope with old .gdb_index warnings.
 	* gdb.base/async-shell.exp: Likewise.
 	* lib/mi-support.exp (library_loaded_re): Likewise.
diff --git a/gdb/testsuite/dg-extract-results.sh b/gdb/testsuite/dg-extract-results.sh
index ca2faa4..7795082 100755
--- a/gdb/testsuite/dg-extract-results.sh
+++ b/gdb/testsuite/dg-extract-results.sh
@@ -345,7 +345,7 @@ EOF
 BEGIN {
   variant="$VAR"
   tool="$TOOL"
-  passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; unsupcnt=0; unrescnt=0;
+  passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0;
   curvar=""; insummary=0
 }
 /^Running target /		{ curvar = \$3; next }
@@ -354,6 +354,7 @@ BEGIN {
 /^# of unexpected successes/	{ if (insummary == 1) xpasscnt += \$5; next; }
 /^# of unexpected failures/	{ if (insummary == 1) failcnt += \$5; next; }
 /^# of expected failures/	{ if (insummary == 1) xfailcnt += \$5; next; }
+/^# of known failures/		{ if (insummary == 1) kfailcnt += \$5; next; }
 /^# of untested testcases/	{ if (insummary == 1) untstcnt += \$5; next; }
 /^# of unresolved testcases/	{ if (insummary == 1) unrescnt += \$5; next; }
 /^# of unsupported tests/	{ if (insummary == 1) unsupcnt += \$5; next; }
@@ -368,6 +369,7 @@ END {
   if (failcnt != 0) printf ("# of unexpected failures\t%d\n", failcnt)
   if (xpasscnt != 0) printf ("# of unexpected successes\t%d\n", xpasscnt)
   if (xfailcnt != 0) printf ("# of expected failures\t\t%d\n", xfailcnt)
+  if (kfailcnt != 0) printf ("# of known failures\t\t%d\n", kfailcnt)
   if (untstcnt != 0) printf ("# of untested testcases\t\t%d\n", untstcnt)
   if (unrescnt != 0) printf ("# of unresolved testcases\t%d\n", unrescnt)
   if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
@@ -391,12 +393,13 @@ TOTAL_AWK=${TMP}/total.awk
 cat << EOF > $TOTAL_AWK
 BEGIN {
   tool="$TOOL"
-  passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; unsupcnt=0; unrescnt=0
+  passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; kfailcnt=0; unsupcnt=0; unrescnt=0
 }
 /^# of expected passes/		{ passcnt += \$5 }
 /^# of unexpected failures/	{ failcnt += \$5 }
 /^# of unexpected successes/	{ xpasscnt += \$5 }
 /^# of expected failures/	{ xfailcnt += \$5 }
+/^# of known failures/		{ kfailcnt += \$5 }
 /^# of untested testcases/	{ untstcnt += \$5 }
 /^# of unresolved testcases/	{ unrescnt += \$5 }
 /^# of unsupported tests/	{ unsupcnt += \$5 }
@@ -406,6 +409,7 @@ END {
   if (failcnt != 0) printf ("# of unexpected failures\t%d\n", failcnt)
   if (xpasscnt != 0) printf ("# of unexpected successes\t%d\n", xpasscnt)
   if (xfailcnt != 0) printf ("# of expected failures\t\t%d\n", xfailcnt)
+  if (kfailcnt != 0) printf ("# of known failures\t\t%d\n", kfailcnt)
   if (untstcnt != 0) printf ("# of untested testcases\t\t%d\n", untstcnt)
   if (unrescnt != 0) printf ("# of unresolved testcases\t%d\n", unrescnt)
   if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
diff --git a/gdb/testsuite/gdb.base/cond-eval-mode.exp b/gdb/testsuite/gdb.base/cond-eval-mode.exp
index dbbfc28..965c497 100644
--- a/gdb/testsuite/gdb.base/cond-eval-mode.exp
+++ b/gdb/testsuite/gdb.base/cond-eval-mode.exp
@@ -30,7 +30,7 @@ gdb_test_no_output $test_auto
 
 # If target-side condition evaluation is not supported, this warning will be
 # displayed.
-set warning "warning: Target does not support breakpoint condition evaluation.\r\nUsing GDB evaluation mode instead.\r\n"
+set warning "warning: Target does not support breakpoint condition evaluation.\r\nUsing host evaluation mode instead.\r\n"
 
 gdb_test_multiple $test_target $test_target {
     -re "$warning$gdb_prompt $" {
diff --git a/gdb/testsuite/gdb.python/py-objfile-script.exp b/gdb/testsuite/gdb.python/py-objfile-script.exp
index ec19091..72289eb 100644
--- a/gdb/testsuite/gdb.python/py-objfile-script.exp
+++ b/gdb/testsuite/gdb.python/py-objfile-script.exp
@@ -41,7 +41,7 @@ gdb_test_no_output "set auto-load safe-path ${remote_python_file}" "set auto-loa
 gdb_load ${binfile}
 
 # Verify gdb loaded the script.
-gdb_test "info auto-load-scripts" "Yes.*/${testfile}-gdb.py.*"
+gdb_test "info auto-load python" "Yes.*/${testfile}-gdb.py.*"
 
 if ![runto_main] {
     perror "couldn't run to main"
diff --git a/gdb/testsuite/gdb.python/py-section-script.exp b/gdb/testsuite/gdb.python/py-section-script.exp
index dc42a42..1262029 100644
--- a/gdb/testsuite/gdb.python/py-section-script.exp
+++ b/gdb/testsuite/gdb.python/py-section-script.exp
@@ -53,11 +53,11 @@ gdb_test_no_output "set auto-load safe-path ${remote_python_file}" "set auto-loa
 gdb_load ${binfile}
 
 # Verify gdb loaded the script.
-gdb_test "info auto-load-scripts" "Yes.*${testfile}.py.*full name: .*/${testfile}.py.*"
+gdb_test "info auto-load python" "Yes.*${testfile}.py.*full name: .*/${testfile}.py.*"
 # Again, with a regexp this time.
-gdb_test "info auto-load-scripts ${testfile}" "Yes.*${testfile}.py.*full name: .*/${testfile}.py.*"
+gdb_test "info auto-load python ${testfile}" "Yes.*${testfile}.py.*full name: .*/${testfile}.py.*"
 # Again, with a regexp that matches no scripts.
-gdb_test "info auto-load-scripts no-script-matches-this" \
+gdb_test "info auto-load python no-script-matches-this" \
   "No auto-load scripts matching no-script-matches-this."
 
 if ![runto_main] {
diff --git a/gdb/version.in b/gdb/version.in
index f846110..cad4a9f 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.4.50.20120317-cvs
+7.4.50.20120319-cvs
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 812c782..35863c9 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,26 @@
+2012-03-19  Robin Getz  <robin.getz@analog.com>
+	    Mike Frysinger  <vapier@gentoo.org>
+
+	* bfin-sim.c (lshift): Add an overflow flag.  Delete now unused
+	i, j, and tmp vars.  Add a new v_i var.  Split the overflow logic
+	out from the saturate logic.  Do not set V ASTAT bits when working
+	with accumulators.
+	(decode_ALU2op_0): Add new argument to lshift call.
+	(decode_LOGI2op_0, decode_dsp32shift_0, decode_dsp32shiftimm_0):
+	Likewise.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+	* dv-bfin_ebiu_amc.c (struct bfin_ebiu_amc): Add bank_base.
+	(bfin_ebiu_amc_write_amgctl): Replace BFIN_EBIU_AMC_BASE with
+	amc->bank_base.
+	(bfin_ebiu_amc_finish): Assign BFIN_EBIU_AMC_BASE to amc->bank_base.
+
+2012-03-18  Mike Frysinger  <vapier@gentoo.org>
+
+	* dv-bfin_ebiu_amc.c (bfin_ebiu_amc_attach_address_callback): Use
+	ARRAY_SIZE rather than hardcoded constant.
+
 2012-02-04  Mike Frysinger  <vapier@gentoo.org>
 
 	* config.in: Regenerate.
diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c
index ef7362b..2c93e04 100644
--- a/sim/bfin/bfin-sim.c
+++ b/sim/bfin/bfin-sim.c
@@ -748,12 +748,12 @@ lshiftrt (SIM_CPU *cpu, bu64 val, int cnt, int size)
 }
 
 static bu64
-lshift (SIM_CPU *cpu, bu64 val, int cnt, int size, bool saturate)
+lshift (SIM_CPU *cpu, bu64 val, int cnt, int size, bool saturate, bool overflow)
 {
-  int i, j, real_cnt = cnt > size ? size : cnt;
+  int v_i, real_cnt = cnt > size ? size : cnt;
   bu64 sgn = ~((val >> (size - 1)) - 1);
   int mask_cnt = size - 1;
-  bu64 masked, new_val = val, tmp;
+  bu64 masked, new_val = val;
   bu64 mask = ~0;
 
   mask <<= mask_cnt;
@@ -777,31 +777,35 @@ lshift (SIM_CPU *cpu, bu64 val, int cnt, int size, bool saturate)
 
      However, it's a little more complex than looking at sign bits, we need
      to see if we are shifting the sign information away...  */
-  tmp = val & ((~mask << 1) | 1);
-
-  j = 0;
-  for (i = 1; i <= real_cnt && saturate; i++)
-    {
-      if ((tmp & ((bu64)1 << (size - 1))) !=
-	  (((val >> mask_cnt) & 0x1) << mask_cnt))
-	j++;
-      tmp <<= 1;
-    }
-  saturate &= (!sgn && (new_val & (1 << mask_cnt)))
-	      || (sgn && !(new_val & (1 << mask_cnt)));
+  if (((val << cnt) >> size) == 0
+      || (((val << cnt) >> size) == ~(~0 << cnt)
+	  && ((new_val >> (size - 1)) & 0x1)))
+    v_i = 0;
+  else
+    v_i = 1;
 
   switch (size)
     {
     case 16:
-      if (j || (saturate && (new_val & mask)))
-	new_val = sgn == 0 ? 0x7fff : 0x8000, saturate = 1;
       new_val &= 0xFFFF;
+      if (saturate && (v_i || ((val >> (size - 1)) != (new_val >> (size - 1)))))
+	{
+	  new_val = (val >> (size - 1)) == 0 ? 0x7fff : 0x8000;
+	  v_i = 1;
+	}
       break;
     case 32:
       new_val &= 0xFFFFFFFF;
       masked &= 0xFFFFFFFF;
-      if (j || (saturate && ((sgn != masked) || (!sgn && new_val == 0))))
-	new_val = sgn == 0 ? 0x7fffffff : 0x80000000, saturate = 1;
+      sgn &= 0xFFFFFFFF;
+      if (saturate
+	  && (v_i
+	      || (sgn != masked)
+	      || (!sgn && new_val == 0 && val != 0)))
+	{
+	  new_val = sgn == 0 ? 0x7fffffff : 0x80000000;
+	  v_i = 1;
+	}
       break;
     case 40:
       new_val &= 0xFFFFFFFFFFull;
@@ -814,9 +818,13 @@ lshift (SIM_CPU *cpu, bu64 val, int cnt, int size, bool saturate)
 
   SET_ASTATREG (an, new_val >> (size - 1));
   SET_ASTATREG (az, new_val == 0);
-  SET_ASTATREG (v, !!(saturate || j));
-  if (saturate || j)
-    SET_ASTATREG (vs, 1);
+  if (size != 40)
+    {
+      SET_ASTATREG (v, overflow && v_i);
+      if (overflow && v_i)
+	SET_ASTATREG (vs, 1);
+    }
+
   return new_val;
 }
 
@@ -2557,7 +2565,7 @@ decode_ALU2op_0 (SIM_CPU *cpu, bu16 iw0)
   else if (opc == 2)
     {
       TRACE_INSN (cpu, "R%i <<= R%i;", dst, src);
-      SET_DREG (dst, lshift (cpu, DREG (dst), DREG (src), 32, 0));
+      SET_DREG (dst, lshift (cpu, DREG (dst), DREG (src), 32, 0, 0));
     }
   else if (opc == 3)
     {
@@ -2760,7 +2768,7 @@ decode_LOGI2op_0 (SIM_CPU *cpu, bu16 iw0)
       TRACE_INSN (cpu, "R%i <<= %s;", dst, uimm_str);
       if (INSN_LEN == 8)
 	illegal_instruction_combination (cpu);
-      SET_DREG (dst, lshift (cpu, DREG (dst), uimm, 32, 0));
+      SET_DREG (dst, lshift (cpu, DREG (dst), uimm, 32, 0, 0));
     }
 }
 
@@ -5158,7 +5166,7 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       if (shft <= 0)
 	val = ashiftrt (cpu, val, -shft, 16);
       else
-	val = lshift (cpu, val, shft, 16, sop == 1);
+	val = lshift (cpu, val, shft, 16, sop == 1, 1);
 
       if ((HLs & 2) == 0)
 	STORE (DREG (dst0), REG_H_L (DREG (dst0), val));
@@ -5219,7 +5227,7 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       if (shft <= 0)
 	val = ashiftrt (cpu, val, -shft, 40);
       else
-	val = lshift (cpu, val, shft, 40, 0);
+	val = lshift (cpu, val, shft, 40, 0, 0);
 
       STORE (AXREG (HLs), (val >> 32) & 0xff);
       STORE (AWREG (HLs), (val & 0xffffffff));
@@ -5239,7 +5247,7 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       if (shft <= 0)
 	val = lshiftrt (cpu, val, -shft, 40);
       else
-	val = lshift (cpu, val, shft, 40, 0);
+	val = lshift (cpu, val, shft, 40, 0, 0);
 
       STORE (AXREG (HLs), (val >> 32) & 0xff);
       STORE (AWREG (HLs), (val & 0xffffffff));
@@ -5267,9 +5275,9 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	}
       else
 	{
-	  val0 = lshift (cpu, val0, shft, 16, sop == 1);
+	  val0 = lshift (cpu, val0, shft, 16, sop == 1, 1);
 	  astat = ASTAT;
-	  val1 = lshift (cpu, val1, shft, 16, sop == 1);
+	  val1 = lshift (cpu, val1, shft, 16, sop == 1, 1);
 	}
       SET_ASTAT (ASTAT | astat);
       STORE (DREG (dst0), (val1 << 16) | val0);
@@ -5294,7 +5302,7 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	    STORE (DREG (dst0), ashiftrt (cpu, v, -shft, 32));
 	}
       else
-	STORE (DREG (dst0), lshift (cpu, v, shft, 32, sop == 1));
+	STORE (DREG (dst0), lshift (cpu, v, shft, 32, sop == 1, 1));
     }
   else if (sop == 3 && sopcde == 2)


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-19 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-19 17:36 [SCM] archer-jankratochvil-autoload: Merge branch 'initclean-initx-gdbinitb-move-misc2-warn-safepath-debug' into initclean-initx-gdbinitb-move-misc2-warn-safepath-debug-warnlocal jkratoch
  -- strict thread matches above, loose matches on Subject: below --
2012-03-19 17:32 jkratoch
2012-03-19 17:16 jkratoch
2012-03-19 17:11 jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).