packages: gdb/gdb-6.3-bz202689-exec-from-pthread-test.patch, gdb/gdb-6.3-bz...

arekm arekm at pld-linux.org
Sun Nov 6 11:53:15 CET 2011


Author: arekm                        Date: Sun Nov  6 10:53:15 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 7.3.1

---- Files affected:
packages/gdb:
   gdb-6.3-bz202689-exec-from-pthread-test.patch (1.1 -> 1.2) , gdb-6.3-bz231832-obstack-2gb.patch (1.1 -> 1.2) , gdb-6.3-gstack-20050411.patch (1.3 -> 1.4) , gdb-6.3-ia64-gcore-page0-20050421.patch (1.2 -> 1.3) , gdb-6.3-ia64-sigill-20051115.patch (1.2 -> 1.3) , gdb-6.3-inferior-notification-20050721.patch (1.2 -> 1.3) , gdb-6.3-ppc64syscall-20040622.patch (1.2 -> 1.3) , gdb-6.3-readnever-20050907.patch (1.3 -> 1.4) , gdb-6.3-security-errata-20050610.patch (1.2 -> 1.3) , gdb-6.3-test-pie-20050107.patch (1.4 -> 1.5) , gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch (1.4 -> 1.5) , gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch (1.2 -> 1.3) , gdb-6.6-buildid-locate-core-as-arg.patch (1.1 -> 1.2) , gdb-6.6-buildid-locate-rpm.patch (1.6 -> 1.7) , gdb-6.6-buildid-locate.patch (1.5 -> 1.6) , gdb-6.6-bz229517-gcore-without-terminal.patch (1.2 -> 1.3) , gdb-6.6-bz235197-fork-detach-info.patch (1.2 -> 1.3) , gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch (1.3 -> 1.4) , gdb-6.6-step-thread-exit.patch (1.2 -> 1.3) , gdb-6.8-attach-signalled-detach-stopped.patch (1.4 -> 1.5) , gdb-6.8-bz254229-gcore-prpsinfo.patch (1.4 -> 1.5) , gdb-6.8-bz442765-threaded-exec-test.patch (1.1 -> 1.2) , gdb-6.8-quit-never-aborts.patch (1.1 -> 1.2) , gdb-archer-pie-addons-keep-disabled.patch (1.1 -> 1.2) , gdb-archer-pie-addons.patch (1.2 -> 1.3) , gdb-archer.patch (1.5 -> 1.6) , gdb-bz533176-fortran-omp-step.patch (1.1 -> 1.2) , gdb-bz541866-rwatch-before-run.patch (1.2 -> 1.3) , gdb-bz562763-pretty-print-2d-vectors.patch (1.1 -> 1.2) , gdb-bz592031-siginfo-lost-4of5.patch (1.1 -> 1.2) , gdb-bz592031-siginfo-lost-5of5.patch (1.1 -> 1.2) , gdb-fortran-common-reduce.patch (1.1 -> 1.2) , gdb-fortran-common.patch (1.1 -> 1.2) , gdb-gdb-add-index-script.patch (1.1 -> 1.2) , gdb.spec (1.141 -> 1.142) 

---- Diffs:

================================================================
Index: packages/gdb/gdb-6.3-bz202689-exec-from-pthread-test.patch
diff -u packages/gdb/gdb-6.3-bz202689-exec-from-pthread-test.patch:1.1 packages/gdb/gdb-6.3-bz202689-exec-from-pthread-test.patch:1.2
--- packages/gdb/gdb-6.3-bz202689-exec-from-pthread-test.patch:1.1	Mon Mar 23 00:27:50 2009
+++ packages/gdb/gdb-6.3-bz202689-exec-from-pthread-test.patch	Sun Nov  6 11:53:07 2011
@@ -92,7 +92,7 @@
 +gdb_run_cmd
 +
 +gdb_test_multiple {} "Program exited" {
-+   -re "\r\nProgram exited normally.\r\n$gdb_prompt $" {
++   -re "\r\n\\\[Inferior .* exited normally\\\]\r\n$gdb_prompt $" {
 +       pass "Program exited"
 +   }
 +}

================================================================
Index: packages/gdb/gdb-6.3-bz231832-obstack-2gb.patch
diff -u packages/gdb/gdb-6.3-bz231832-obstack-2gb.patch:1.1 packages/gdb/gdb-6.3-bz231832-obstack-2gb.patch:1.2
--- packages/gdb/gdb-6.3-bz231832-obstack-2gb.patch:1.1	Mon Mar 23 00:27:50 2009
+++ packages/gdb/gdb-6.3-bz231832-obstack-2gb.patch	Sun Nov  6 11:53:07 2011
@@ -1,11 +1,11 @@
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=231832
 
 
-Index: gdb-6.8/gdb/symmisc.c
+Index: gdb-7.2.50.20101116/gdb/symmisc.c
 ===================================================================
---- gdb-6.8.orig/gdb/symmisc.c	2008-03-17 16:06:24.000000000 +0100
-+++ gdb-6.8/gdb/symmisc.c	2008-07-14 10:27:50.000000000 +0200
-@@ -230,8 +230,8 @@ print_objfile_statistics (void)
+--- gdb-7.2.50.20101116.orig/gdb/symmisc.c	2010-11-16 07:53:59.000000000 +0100
++++ gdb-7.2.50.20101116/gdb/symmisc.c	2010-11-16 08:03:08.000000000 +0100
+@@ -186,8 +186,8 @@ print_objfile_statistics (void)
      if (OBJSTAT (objfile, sz_strtab) > 0)
        printf_filtered (_("  Space used by a.out string tables: %d\n"),
  		       OBJSTAT (objfile, sz_strtab));
@@ -14,12 +14,12 @@
 +    printf_filtered (_("  Total memory used for objfile obstack: %ld\n"),
 +		     (long) obstack_memory_used (&objfile->objfile_obstack));
      printf_filtered (_("  Total memory used for psymbol cache: %d\n"),
- 		     bcache_memory_used (objfile->psymbol_cache));
-     printf_filtered (_("  Total memory used for macro cache: %d\n"),
-Index: gdb-6.8/include/obstack.h
+ 		     bcache_memory_used (psymbol_bcache_get_bcache
+ 		                          (objfile->psymbol_cache)));
+Index: gdb-7.2.50.20101116/include/obstack.h
 ===================================================================
---- gdb-6.8.orig/include/obstack.h	2005-05-10 12:21:08.000000000 +0200
-+++ gdb-6.8/include/obstack.h	2008-07-14 10:27:50.000000000 +0200
+--- gdb-7.2.50.20101116.orig/include/obstack.h	2008-10-21 01:03:31.000000000 +0200
++++ gdb-7.2.50.20101116/include/obstack.h	2010-11-16 08:02:37.000000000 +0100
 @@ -188,31 +188,31 @@ struct obstack		/* control current objec
  
  /* Declare the external functions we use; they are in obstack.c.  */
@@ -134,10 +134,10 @@
  	    = (h)->temp + (char *) (h)->chunk)				\
     : (((obstack_free) ((h), (h)->temp + (char *) (h)->chunk), 0), 0)))
  
-Index: gdb-6.8/libiberty/obstack.c
+Index: gdb-7.2.50.20101116/libiberty/obstack.c
 ===================================================================
---- gdb-6.8.orig/libiberty/obstack.c	2005-05-10 17:33:33.000000000 +0200
-+++ gdb-6.8/libiberty/obstack.c	2008-07-14 10:27:50.000000000 +0200
+--- gdb-7.2.50.20101116.orig/libiberty/obstack.c	2005-05-10 17:33:33.000000000 +0200
++++ gdb-7.2.50.20101116/libiberty/obstack.c	2010-11-16 08:02:37.000000000 +0100
 @@ -44,9 +44,11 @@
  #if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
  #include <gnu-versions.h>

================================================================
Index: packages/gdb/gdb-6.3-gstack-20050411.patch
diff -u packages/gdb/gdb-6.3-gstack-20050411.patch:1.3 packages/gdb/gdb-6.3-gstack-20050411.patch:1.4
--- packages/gdb/gdb-6.3-gstack-20050411.patch:1.3	Fri Oct 15 19:16:36 2010
+++ packages/gdb/gdb-6.3-gstack-20050411.patch	Sun Nov  6 11:53:07 2011
@@ -4,20 +4,20 @@
 	to install and uninstall.
 	* gstack.sh, gstack.1: New files.
 
-Index: gdb-7.2/gdb/Makefile.in
+Index: gdb-7.2.50.20101116/gdb/Makefile.in
 ===================================================================
---- gdb-7.2.orig/gdb/Makefile.in	2010-09-03 09:37:55.000000000 +0200
-+++ gdb-7.2/gdb/Makefile.in	2010-09-03 09:38:45.000000000 +0200
-@@ -1010,7 +1010,7 @@ install: all install-only 
+--- gdb-7.2.50.20101116.orig/gdb/Makefile.in	2010-11-05 15:31:25.000000000 +0100
++++ gdb-7.2.50.20101116/gdb/Makefile.in	2010-11-16 07:56:10.000000000 +0100
+@@ -972,7 +972,7 @@ gdb.z:gdb.1
+ install: all
+ 	@$(MAKE) $(FLAGS_TO_PASS) install-only
  
- # The "install-only" target also installs the syscalls' XML files in
- # the system.
--install-only: $(CONFIG_INSTALL) xml-syscall-install
-+install-only: install-gstack $(CONFIG_INSTALL) xml-syscall-install
+-install-only: $(CONFIG_INSTALL)
++install-only: install-gstack $(CONFIG_INSTALL)
  	transformed_name=`t='$(program_transform_name)'; \
  			  echo gdb | sed -e "$$t"` ; \
  		if test "x$$transformed_name" = x; then \
-@@ -1046,7 +1046,25 @@ install-tui:
+@@ -1008,7 +1008,25 @@ install-tui:
  install-python:
  	$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(GDB_DATADIR)/python/gdb
  
@@ -44,7 +44,7 @@
  	transformed_name=`t='$(program_transform_name)'; \
  			  echo gdb | sed -e $$t` ; \
  		if test "x$$transformed_name" = x; then \
-@@ -1068,6 +1086,17 @@ uninstall-tui:
+@@ -1030,6 +1048,17 @@ uninstall-tui:
  		fi ; \
  		rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
  		      $(DESTDIR)$(man1dir)/$$transformed_name.1
@@ -62,10 +62,10 @@
  
  # The C++ name parser can be built standalone for testing.
  test-cp-name-parser.o: cp-name-parser.c
-Index: gdb-7.2/gdb/gstack.sh
+Index: gdb-7.2.50.20101116/gdb/gstack.sh
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.2/gdb/gstack.sh	2010-09-03 09:38:12.000000000 +0200
++++ gdb-7.2.50.20101116/gdb/gstack.sh	2010-11-16 07:55:47.000000000 +0100
 @@ -0,0 +1,48 @@
 +#!/bin/sh
 +
@@ -115,10 +115,10 @@
 +    -e 's/^\((gdb) \)*//' \
 +    -e '/^#/p' \
 +    -e '/^Thread/p'
-Index: gdb-7.2/gdb/testsuite/gdb.base/gstack.exp
+Index: gdb-7.2.50.20101116/gdb/testsuite/gdb.base/gstack.exp
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.2/gdb/testsuite/gdb.base/gstack.exp	2010-09-03 09:38:12.000000000 +0200
++++ gdb-7.2.50.20101116/gdb/testsuite/gdb.base/gstack.exp	2010-11-16 07:55:47.000000000 +0100
 @@ -0,0 +1,71 @@
 +# Copyright (C) 2010 Free Software Foundation, Inc.
 +
@@ -191,10 +191,10 @@
 +gdb_exit
 +
 +remote_exec host "kill -9 $pid"
-Index: gdb-7.2/gdb/testsuite/gdb.base/gstack.c
+Index: gdb-7.2.50.20101116/gdb/testsuite/gdb.base/gstack.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.2/gdb/testsuite/gdb.base/gstack.c	2010-09-03 09:38:12.000000000 +0200
++++ gdb-7.2.50.20101116/gdb/testsuite/gdb.base/gstack.c	2010-11-16 07:55:47.000000000 +0100
 @@ -0,0 +1,43 @@
 +/* This testcase is part of GDB, the GNU debugger.
 +

================================================================
Index: packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch
diff -u packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch:1.2 packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch:1.3
--- packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch:1.2	Tue Dec  8 00:29:15 2009
+++ packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch	Sun Nov  6 11:53:07 2011
@@ -1,8 +1,8 @@
-Index: gdb-6.8.50.20090802/gdb/gcore.c
+Index: gdb-7.2.50.20110107/gdb/gcore.c
 ===================================================================
---- gdb-6.8.50.20090802.orig/gdb/gcore.c	2009-08-03 12:27:55.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/gcore.c	2009-08-03 12:28:56.000000000 +0200
-@@ -479,8 +479,14 @@ gcore_copy_callback (bfd *obfd, asection
+--- gdb-7.2.50.20110107.orig/gdb/gcore.c	2011-01-05 23:22:49.000000000 +0100
++++ gdb-7.2.50.20110107/gdb/gcore.c	2011-01-07 09:04:28.000000000 +0100
+@@ -534,8 +534,14 @@ gcore_copy_callback (bfd *obfd, asection
        if (size > total_size)
  	size = total_size;
  
@@ -16,5 +16,5 @@
 +		      "ia64")
 +	      || bfd_section_vma (obfd, osec) != 0))
  	{
- 	  warning (_("Memory read failed for corefile section, %s bytes at %s."),
- 		   plongest (size),
+ 	  warning (_("Memory read failed for corefile "
+ 		     "section, %s bytes at %s."),

================================================================
Index: packages/gdb/gdb-6.3-ia64-sigill-20051115.patch
diff -u packages/gdb/gdb-6.3-ia64-sigill-20051115.patch:1.2 packages/gdb/gdb-6.3-ia64-sigill-20051115.patch:1.3
--- packages/gdb/gdb-6.3-ia64-sigill-20051115.patch:1.2	Fri Oct 15 19:16:36 2010
+++ packages/gdb/gdb-6.3-ia64-sigill-20051115.patch	Sun Nov  6 11:53:07 2011
@@ -12,10 +12,10 @@
 	* gdb.arch/ia64-sigill.c: New test.
 	* gdb.arch/ia64-sigill.exp: Ditto.
 
-Index: gdb-6.8.50.20081128/gdb/testsuite/gdb.arch/ia64-sigill.exp
+Index: gdb-7.2.50.20101231/gdb/testsuite/gdb.arch/ia64-sigill.exp
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.arch/ia64-sigill.exp	2008-12-02 21:10:57.000000000 +0100
++++ gdb-7.2.50.20101231/gdb/testsuite/gdb.arch/ia64-sigill.exp	2011-01-01 00:55:04.000000000 +0100
 @@ -0,0 +1,49 @@
 +#   Copyright 2005 Free Software Foundation, Inc.
 +
@@ -66,10 +66,10 @@
 +gdb_test "handle SIGILL nostop noprint" "SIGILL.*No.*No.*Yes.*" "handle sigill"
 +gdb_test "run" "Starting program.*ia64-sigill.*\[New thread.*\].*hello world.*Program exited normally." "run to exit"
 + 
-Index: gdb-6.8.50.20081128/gdb/testsuite/gdb.arch/ia64-sigill.c
+Index: gdb-7.2.50.20101231/gdb/testsuite/gdb.arch/ia64-sigill.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.arch/ia64-sigill.c	2008-12-02 21:10:57.000000000 +0100
++++ gdb-7.2.50.20101231/gdb/testsuite/gdb.arch/ia64-sigill.c	2011-01-01 00:55:04.000000000 +0100
 @@ -0,0 +1,8 @@
 +#include <stdio.h>
 +
@@ -79,11 +79,11 @@
 +  return 0;
 +}
 +
-Index: gdb-6.8.50.20081128/gdb/linux-nat.c
+Index: gdb-7.2.50.20101231/gdb/linux-nat.c
 ===================================================================
---- gdb-6.8.50.20081128.orig/gdb/linux-nat.c	2008-12-02 19:04:38.000000000 +0100
-+++ gdb-6.8.50.20081128/gdb/linux-nat.c	2008-12-02 21:11:11.000000000 +0100
-@@ -2974,7 +2974,8 @@ retry:
+--- gdb-7.2.50.20101231.orig/gdb/linux-nat.c	2011-01-01 00:54:04.000000000 +0100
++++ gdb-7.2.50.20101231/gdb/linux-nat.c	2011-01-01 00:55:58.000000000 +0100
+@@ -3652,7 +3652,8 @@ retry:
       threads can be a bit time-consuming so if we want decent
       performance with heavily multi-threaded programs, especially when
       they're using a high frequency timer, we'd better avoid it if we
@@ -93,8 +93,8 @@
  
    if (WIFSTOPPED (status))
      {
-@@ -2992,7 +2993,9 @@ retry:
- 	  && inf->stop_soon == NO_STOP_QUIETLY
+@@ -3670,7 +3671,9 @@ retry:
+ 	  && inf->control.stop_soon == NO_STOP_QUIETLY
  	  && signal_stop_state (signo) == 0
  	  && signal_print_state (signo) == 0
 -	  && signal_pass_state (signo) == 1)

================================================================
Index: packages/gdb/gdb-6.3-inferior-notification-20050721.patch
diff -u packages/gdb/gdb-6.3-inferior-notification-20050721.patch:1.2 packages/gdb/gdb-6.3-inferior-notification-20050721.patch:1.3
--- packages/gdb/gdb-6.3-inferior-notification-20050721.patch:1.2	Fri Oct 15 19:16:36 2010
+++ packages/gdb/gdb-6.3-inferior-notification-20050721.patch	Sun Nov  6 11:53:07 2011
@@ -9,10 +9,10 @@
 
 	* gdb.base/attach-32.exp: Fix forgotten $GDBFLAGS as set.
 
-Index: gdb-6.8.50.20081128/gdb/testsuite/gdb.base/attach-32.c
+Index: gdb-7.2.50.20110320/gdb/testsuite/gdb.base/attach-32.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.base/attach-32.c	2008-12-07 10:06:03.000000000 +0100
++++ gdb-7.2.50.20110320/gdb/testsuite/gdb.base/attach-32.c	2011-03-20 20:15:57.000000000 +0100
 @@ -0,0 +1,20 @@
 +/* This program is intended to be started outside of gdb, and then
 +   attached to by gdb.  Thus, it simply spins in a loop.  The loop
@@ -34,10 +34,10 @@
 +    }
 +  return 0;
 +}
-Index: gdb-6.8.50.20081128/gdb/testsuite/gdb.base/attach-32.exp
+Index: gdb-7.2.50.20110320/gdb/testsuite/gdb.base/attach-32.exp
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.base/attach-32.exp	2008-12-07 10:08:52.000000000 +0100
++++ gdb-7.2.50.20110320/gdb/testsuite/gdb.base/attach-32.exp	2011-03-20 20:20:03.000000000 +0100
 @@ -0,0 +1,245 @@
 +# Copyright 2005 Free Software Foundation, Inc.
 +
@@ -153,7 +153,7 @@
 +
 +    # Allow the test process to exit, to cleanup after ourselves.
 +
-+    gdb_test "continue" "Program exited normally." "after attach-32, exit"
++    gdb_test "continue" {\[Inferior .* exited normally\]} "after attach-32, exit"
 +
 +    # Make sure we don't leave a process around to confuse
 +    # the next test run (and prevent the compile by keeping
@@ -234,7 +234,7 @@
 +    # Get rid of the process
 +    
 +    gdb_test "p should_exit = 1"
-+    gdb_test "c" "Program exited normally."
++    gdb_test "c" {\[Inferior .* exited normally\]}
 +   
 +    # Be paranoid
 +   
@@ -284,10 +284,10 @@
 +do_call_attach_tests
 +
 +return 0
-Index: gdb-6.8.50.20081128/gdb/testsuite/gdb.base/attach-32b.c
+Index: gdb-7.2.50.20110320/gdb/testsuite/gdb.base/attach-32b.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.base/attach-32b.c	2008-12-07 10:06:03.000000000 +0100
++++ gdb-7.2.50.20110320/gdb/testsuite/gdb.base/attach-32b.c	2011-03-20 20:15:57.000000000 +0100
 @@ -0,0 +1,24 @@
 +/* This program is intended to be started outside of gdb, and then
 +   attached to by gdb.  Thus, it simply spins in a loop.  The loop

================================================================
Index: packages/gdb/gdb-6.3-ppc64syscall-20040622.patch
diff -u packages/gdb/gdb-6.3-ppc64syscall-20040622.patch:1.2 packages/gdb/gdb-6.3-ppc64syscall-20040622.patch:1.3
--- packages/gdb/gdb-6.3-ppc64syscall-20040622.patch:1.2	Tue Dec  8 00:29:15 2009
+++ packages/gdb/gdb-6.3-ppc64syscall-20040622.patch	Sun Nov  6 11:53:07 2011
@@ -6,10 +6,10 @@
 	use to skip over first half of a GNU/Linux syscall and update
 	"func_start".
 
-Index: gdb-6.8.50.20090802/gdb/rs6000-tdep.c
+Index: gdb-7.2.50.20110117/gdb/rs6000-tdep.c
 ===================================================================
---- gdb-6.8.50.20090802.orig/gdb/rs6000-tdep.c	2009-07-31 17:23:20.000000000 +0200
-+++ gdb-6.8.50.20090802/gdb/rs6000-tdep.c	2009-08-03 09:52:39.000000000 +0200
+--- gdb-7.2.50.20110117.orig/gdb/rs6000-tdep.c	2011-01-11 20:23:02.000000000 +0100
++++ gdb-7.2.50.20110117/gdb/rs6000-tdep.c	2011-01-17 15:48:19.000000000 +0100
 @@ -126,6 +126,7 @@ static const char *powerpc_vector_abi_st
  
  struct rs6000_framedata
@@ -18,7 +18,7 @@
      int offset;			/* total size of frame --- the distance
  				   by which we decrement sp to allocate
  				   the frame */
-@@ -1488,7 +1489,6 @@ static CORE_ADDR
+@@ -1496,7 +1497,6 @@ static CORE_ADDR
  skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc, CORE_ADDR lim_pc,
  	       struct rs6000_framedata *fdata)
  {
@@ -26,7 +26,7 @@
    CORE_ADDR last_prologue_pc = pc;
    CORE_ADDR li_found_pc = 0;
    gdb_byte buf[4];
-@@ -1506,12 +1506,14 @@ skip_prologue (struct gdbarch *gdbarch, 
+@@ -1514,12 +1514,14 @@ skip_prologue (struct gdbarch *gdbarch, 
    int minimal_toc_loaded = 0;
    int prev_insn_was_prologue_insn = 1;
    int num_skip_non_prologue_insns = 0;
@@ -41,7 +41,7 @@
    fdata->saved_gpr = -1;
    fdata->saved_fpr = -1;
    fdata->saved_vr = -1;
-@@ -1545,6 +1547,55 @@ skip_prologue (struct gdbarch *gdbarch, 
+@@ -1553,6 +1555,55 @@ skip_prologue (struct gdbarch *gdbarch, 
  	break;
        op = extract_unsigned_integer (buf, 4, byte_order);
  
@@ -97,7 +97,7 @@
        if ((op & 0xfc1fffff) == 0x7c0802a6)
  	{			/* mflr Rx */
  	  /* Since shared library / PIC code, which needs to get its
-@@ -1726,9 +1777,9 @@ skip_prologue (struct gdbarch *gdbarch, 
+@@ -1734,9 +1785,9 @@ skip_prologue (struct gdbarch *gdbarch, 
  	     we have no line table information or the line info tells
  	     us that the subroutine call is not part of the line
  	     associated with the prologue.  */
@@ -108,4 +108,4 @@
 +	      struct symtab_and_line prologue_sal = find_pc_line (fdata->func_start, 0);
  	      struct symtab_and_line this_sal = find_pc_line (pc, 0);
  
- 	      if ((prologue_sal.line == 0) || (prologue_sal.line != this_sal.line))
+ 	      if ((prologue_sal.line == 0)

================================================================
Index: packages/gdb/gdb-6.3-readnever-20050907.patch
diff -u packages/gdb/gdb-6.3-readnever-20050907.patch:1.3 packages/gdb/gdb-6.3-readnever-20050907.patch:1.4
--- packages/gdb/gdb-6.3-readnever-20050907.patch:1.3	Fri Oct 15 19:16:36 2010
+++ packages/gdb/gdb-6.3-readnever-20050907.patch	Sun Nov  6 11:53:07 2011
@@ -11,11 +11,11 @@
 
         * gdb.texinfo (File Options): Document --readnever.
 
-Index: gdb-7.1.90.20100721/gdb/doc/gdb.texinfo
+Index: gdb-7.2.90.20110411/gdb/doc/gdb.texinfo
 ===================================================================
---- gdb-7.1.90.20100721.orig/gdb/doc/gdb.texinfo	2010-07-23 20:58:52.000000000 +0200
-+++ gdb-7.1.90.20100721/gdb/doc/gdb.texinfo	2010-07-23 20:59:15.000000000 +0200
-@@ -998,6 +998,12 @@ Read each symbol file's entire symbol ta
+--- gdb-7.2.90.20110411.orig/gdb/doc/gdb.texinfo	2011-04-11 19:11:55.000000000 +0200
++++ gdb-7.2.90.20110411/gdb/doc/gdb.texinfo	2011-04-11 19:15:51.000000000 +0200
+@@ -1007,6 +1007,12 @@ Read each symbol file's entire symbol ta
  the default, which is to read it incrementally as it is needed.
  This makes startup slower, but makes future operations faster.
  
@@ -28,11 +28,11 @@
  @end table
  
  @node Mode Options
-Index: gdb-7.1.90.20100721/gdb/main.c
+Index: gdb-7.2.90.20110411/gdb/main.c
 ===================================================================
---- gdb-7.1.90.20100721.orig/gdb/main.c	2010-07-23 20:58:55.000000000 +0200
-+++ gdb-7.1.90.20100721/gdb/main.c	2010-07-23 20:59:15.000000000 +0200
-@@ -391,6 +391,7 @@ captured_main (void *data)
+--- gdb-7.2.90.20110411.orig/gdb/main.c	2011-04-11 19:11:56.000000000 +0200
++++ gdb-7.2.90.20110411/gdb/main.c	2011-04-11 19:15:51.000000000 +0200
+@@ -398,6 +398,7 @@ captured_main (void *data)
        {"xdb", no_argument, &xdb_commands, 1},
        {"dbx", no_argument, &dbx_commands, 1},
        {"readnow", no_argument, &readnow_symbol_files, 1},
@@ -40,7 +40,7 @@
        {"r", no_argument, &readnow_symbol_files, 1},
        {"quiet", no_argument, &quiet, 1},
        {"q", no_argument, &quiet, 1},
-@@ -1038,6 +1039,7 @@ Options:\n\n\
+@@ -1064,6 +1065,7 @@ Options:\n\n\
    fputs_unfiltered (_("\
    --quiet            Do not print version number on startup.\n\
    --readnow          Fully read symbol files on first access.\n\
@@ -48,31 +48,31 @@
  "), stream);
    fputs_unfiltered (_("\
    --se=FILE          Use FILE as symbol file and executable file.\n\
-Index: gdb-7.1.90.20100721/gdb/symfile.c
+Index: gdb-7.2.90.20110411/gdb/symfile.c
 ===================================================================
---- gdb-7.1.90.20100721.orig/gdb/symfile.c	2010-07-23 20:58:52.000000000 +0200
-+++ gdb-7.1.90.20100721/gdb/symfile.c	2010-07-23 20:59:15.000000000 +0200
-@@ -80,6 +80,7 @@ static void clear_symtab_users_cleanup (
+--- gdb-7.2.90.20110411.orig/gdb/symfile.c	2011-03-23 19:23:55.000000000 +0100
++++ gdb-7.2.90.20110411/gdb/symfile.c	2011-04-11 19:15:51.000000000 +0200
+@@ -81,6 +81,7 @@ static void clear_symtab_users_cleanup (
  
- /* Global variables owned by this file */
- int readnow_symbol_files;	/* Read full symbols immediately */
+ /* Global variables owned by this file.  */
+ int readnow_symbol_files;	/* Read full symbols immediately.  */
 +int readnever_symbol_files;	/* Never read full symbols.  */
  
- /* External variables and functions referenced. */
+ /* External variables and functions referenced.  */
  
-Index: gdb-7.1.90.20100721/gdb/dwarf2read.c
+Index: gdb-7.2.90.20110411/gdb/dwarf2read.c
 ===================================================================
---- gdb-7.1.90.20100721.orig/gdb/dwarf2read.c	2010-07-23 20:58:53.000000000 +0200
-+++ gdb-7.1.90.20100721/gdb/dwarf2read.c	2010-07-23 20:59:26.000000000 +0200
-@@ -54,6 +54,7 @@
- #include "exceptions.h"
- #include "gdb_stat.h"
- #include "completer.h"
+--- gdb-7.2.90.20110411.orig/gdb/dwarf2read.c	2011-04-11 19:11:55.000000000 +0200
++++ gdb-7.2.90.20110411/gdb/dwarf2read.c	2011-04-11 19:16:01.000000000 +0200
+@@ -58,6 +58,7 @@
+ #include "c-lang.h"
+ #include "valprint.h"
+ #include <ctype.h>
 +#include "top.h"
  
  #include <fcntl.h>
  #include "gdb_string.h"
-@@ -1283,8 +1284,9 @@ dwarf2_has_info (struct objfile *objfile
+@@ -1351,8 +1352,9 @@ dwarf2_has_info (struct objfile *objfile
        bfd_map_over_sections (objfile->obfd, dwarf2_locate_sections, NULL);
        dwarf2_per_objfile->objfile = objfile;
      }
@@ -84,15 +84,15 @@
  }
  
  /* When loading sections, we can either look for ".<name>", or for
-Index: gdb-7.1.90.20100721/gdb/top.h
+Index: gdb-7.2.90.20110411/gdb/top.h
 ===================================================================
---- gdb-7.1.90.20100721.orig/gdb/top.h	2010-04-07 18:54:39.000000000 +0200
-+++ gdb-7.1.90.20100721/gdb/top.h	2010-07-23 20:59:15.000000000 +0200
+--- gdb-7.2.90.20110411.orig/gdb/top.h	2011-01-01 16:33:18.000000000 +0100
++++ gdb-7.2.90.20110411/gdb/top.h	2011-04-11 19:15:51.000000000 +0200
 @@ -61,6 +61,7 @@ extern void set_prompt (char *);
  
  /* From random places.  */
  extern int readnow_symbol_files;
 +extern int readnever_symbol_files;
  
- /* Perform _initialize initialization */
+ /* Perform _initialize initialization.  */
  extern void gdb_init (char *);

================================================================
Index: packages/gdb/gdb-6.3-security-errata-20050610.patch
diff -u packages/gdb/gdb-6.3-security-errata-20050610.patch:1.2 packages/gdb/gdb-6.3-security-errata-20050610.patch:1.3
--- packages/gdb/gdb-6.3-security-errata-20050610.patch:1.2	Fri Oct 15 19:16:36 2010
+++ packages/gdb/gdb-6.3-security-errata-20050610.patch	Sun Nov  6 11:53:07 2011
@@ -19,10 +19,10 @@
         (source_command): Update documentation.  Check permissions if
         FROM_TTY is -1.
 
-Index: gdb-7.1.90.20100720/gdb/cli/cli-cmds.c
+Index: gdb-7.2.50.20101231/gdb/cli/cli-cmds.c
 ===================================================================
---- gdb-7.1.90.20100720.orig/gdb/cli/cli-cmds.c	2010-05-17 21:28:12.000000000 +0200
-+++ gdb-7.1.90.20100720/gdb/cli/cli-cmds.c	2010-07-21 20:30:30.000000000 +0200
+--- gdb-7.2.50.20101231.orig/gdb/cli/cli-cmds.c	2010-12-29 03:11:04.000000000 +0100
++++ gdb-7.2.50.20101231/gdb/cli/cli-cmds.c	2011-01-01 00:53:51.000000000 +0100
 @@ -39,6 +39,7 @@
  #include "source.h"
  #include "disasm.h"
@@ -31,7 +31,7 @@
  
  #include "ui-out.h"
  
-@@ -487,7 +488,7 @@ Script filename extension recognition is
+@@ -488,7 +489,7 @@ Script filename extension recognition is
  
  int
  find_and_open_script (const char *script_file, int search_path,
@@ -40,7 +40,7 @@
  {
    char *file;
    int fd;
-@@ -513,6 +514,32 @@ find_and_open_script (const char *script
+@@ -514,6 +515,32 @@ find_and_open_script (const char *script
        return 0;
      }
  
@@ -73,7 +73,7 @@
    do_cleanups (old_cleanups);
  
    *streamp = fdopen (fd, FOPEN_RT);
-@@ -572,13 +599,14 @@ source_script_with_search (const char *f
+@@ -573,13 +600,14 @@ source_script_with_search (const char *f
    if (file == NULL || *file == 0)
      error (_("source command requires file name of file to source."));
  
@@ -81,19 +81,19 @@
 +  if (!find_and_open_script (file, search_path, &stream, &full_path,
 +			     from_tty))
      {
-       /* The script wasn't found, or was otherwise inaccessible.
- 	 If the source command was invoked interactively, throw an error.
- 	 Otherwise (e.g. if it was invoked by a script), silently ignore
- 	 the error.  */
+       /* The script wasn't found, or was otherwise inaccessible.  
+          If the source command was invoked interactively, throw an
+ 	 error.  Otherwise (e.g. if it was invoked by a script),
+ 	 silently ignore the error.  */
 -      if (from_tty)
 +      if (from_tty > 0)
  	perror_with_name (file);
        else
  	return;
-Index: gdb-7.1.90.20100720/gdb/testsuite/gdb.base/gdbinit.exp
+Index: gdb-7.2.50.20101231/gdb/testsuite/gdb.base/gdbinit.exp
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.1.90.20100720/gdb/testsuite/gdb.base/gdbinit.exp	2010-07-20 22:25:40.000000000 +0200
++++ gdb-7.2.50.20101231/gdb/testsuite/gdb.base/gdbinit.exp	2011-01-01 00:53:09.000000000 +0100
 @@ -0,0 +1,91 @@
 +#   Copyright 2005
 +#   Free Software Foundation, Inc.
@@ -186,17 +186,17 @@
 +}
 +
 +remote_exec build "rm .gdbinit"
-Index: gdb-7.1.90.20100720/gdb/testsuite/gdb.base/gdbinit.sample
+Index: gdb-7.2.50.20101231/gdb/testsuite/gdb.base/gdbinit.sample
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.1.90.20100720/gdb/testsuite/gdb.base/gdbinit.sample	2010-07-20 22:25:40.000000000 +0200
++++ gdb-7.2.50.20101231/gdb/testsuite/gdb.base/gdbinit.sample	2011-01-01 00:53:09.000000000 +0100
 @@ -0,0 +1 @@
 +echo "\nin gdbinit"
-Index: gdb-7.1.90.20100720/gdb/main.c
+Index: gdb-7.2.50.20101231/gdb/main.c
 ===================================================================
---- gdb-7.1.90.20100720.orig/gdb/main.c	2010-06-26 08:44:47.000000000 +0200
-+++ gdb-7.1.90.20100720/gdb/main.c	2010-07-21 20:09:03.000000000 +0200
-@@ -794,7 +794,7 @@ Excess command line arguments ignored. (
+--- gdb-7.2.50.20101231.orig/gdb/main.c	2010-12-29 01:58:14.000000000 +0100
++++ gdb-7.2.50.20101231/gdb/main.c	2011-01-01 00:53:09.000000000 +0100
+@@ -805,7 +805,7 @@ Excess command line arguments ignored. (
       debugging or what directory you are in.  */
  
    if (home_gdbinit && !inhibit_gdbinit)
@@ -205,7 +205,7 @@
  
    /* Now perform all the actions indicated by the arguments.  */
    if (cdarg != NULL)
-@@ -868,7 +868,7 @@ Can't attach to process and specify a co
+@@ -880,7 +880,7 @@ Can't attach to process and specify a co
    /* Read the .gdbinit file in the current directory, *if* it isn't
       the same as the $HOME/.gdbinit file (it should exist, also).  */
    if (local_gdbinit && !inhibit_gdbinit)
@@ -214,11 +214,11 @@
  
    /* Now that all .gdbinit's have been read and all -d options have been
       processed, we can read any scripts mentioned in SYMARG.
-Index: gdb-7.1.90.20100720/gdb/python/py-auto-load.c
+Index: gdb-7.2.50.20101231/gdb/python/py-auto-load.c
 ===================================================================
---- gdb-7.1.90.20100720.orig/gdb/python/py-auto-load.c	2010-05-17 23:23:25.000000000 +0200
-+++ gdb-7.1.90.20100720/gdb/python/py-auto-load.c	2010-07-20 22:25:40.000000000 +0200
-@@ -219,7 +219,7 @@ source_section_scripts (struct objfile *
+--- gdb-7.2.50.20101231.orig/gdb/python/py-auto-load.c	2010-12-15 18:27:59.000000000 +0100
++++ gdb-7.2.50.20101231/gdb/python/py-auto-load.c	2011-01-01 00:53:09.000000000 +0100
+@@ -224,7 +224,7 @@ source_section_scripts (struct objfile *
  	}
  
        opened = find_and_open_script (file, 1 /*search_path*/,
@@ -227,10 +227,10 @@
  
        /* If the file is not found, we still record the file in the hash table,
  	 we only want to print an error message once.
-Index: gdb-7.1.90.20100720/gdb/cli/cli-cmds.h
+Index: gdb-7.2.50.20101231/gdb/cli/cli-cmds.h
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-bz202689-exec-from-pthread-test.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-bz231832-obstack-2gb.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-gstack-20050411.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-ia64-gcore-page0-20050421.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-ia64-sigill-20051115.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-inferior-notification-20050721.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-ppc64syscall-20040622.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-readnever-20050907.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-security-errata-20050610.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.3-test-pie-20050107.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-buildid-locate-core-as-arg.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-buildid-locate-rpm.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-buildid-locate.patch?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-bz229517-gcore-without-terminal.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-bz235197-fork-detach-info.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-scheduler_locking-step-sw-watchpoints2.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.6-step-thread-exit.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-attach-signalled-detach-stopped.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-bz254229-gcore-prpsinfo.patch?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-bz442765-threaded-exec-test.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-6.8-quit-never-aborts.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-archer-pie-addons-keep-disabled.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-archer-pie-addons.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-archer.patch?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-bz533176-fortran-omp-step.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-bz541866-rwatch-before-run.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-bz562763-pretty-print-2d-vectors.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-bz592031-siginfo-lost-4of5.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-bz592031-siginfo-lost-5of5.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-fortran-common-reduce.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-fortran-common.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb-gdb-add-index-script.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gdb/gdb.spec?r1=1.141&r2=1.142&f=u



More information about the pld-cvs-commit mailing list