rpms/gdb/devel gdb-6.3-ppc64syscall-20040622.patch, 1.2, 1.3 gdb-6.3-ppccfi-20041104.patch, 1.2, 1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jul 11 15:36:47 UTC 2006


Author: aoliva

Update of /cvs/dist/rpms/gdb/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10337

Modified Files:
	gdb-6.3-ppc64syscall-20040622.patch 
	gdb-6.3-ppccfi-20041104.patch 
Log Message:
Fix ppc build.

gdb-6.3-ppc64syscall-20040622.patch:
 rs6000-tdep.c |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 54 insertions(+), 3 deletions(-)

Index: gdb-6.3-ppc64syscall-20040622.patch
===================================================================
RCS file: /cvs/dist/rpms/gdb/devel/gdb-6.3-ppc64syscall-20040622.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gdb-6.3-ppc64syscall-20040622.patch	11 Jul 2006 06:33:02 -0000	1.2
+++ gdb-6.3-ppc64syscall-20040622.patch	11 Jul 2006 15:36:44 -0000	1.3
@@ -8,8 +8,8 @@
 
 Index: gdb-6.5/gdb/rs6000-tdep.c
 ===================================================================
---- gdb-6.5.orig/gdb/rs6000-tdep.c	2006-04-23 11:15:01.000000000 -0300
-+++ gdb-6.5/gdb/rs6000-tdep.c	2006-07-07 00:54:50.000000000 -0300
+--- gdb-6.5.orig/gdb/rs6000-tdep.c	2006-07-11 02:57:24.000000000 -0300
++++ gdb-6.5/gdb/rs6000-tdep.c	2006-07-11 12:32:05.000000000 -0300
 @@ -76,6 +76,7 @@
  
  struct rs6000_framedata
@@ -98,12 +98,15 @@
        if ((op & 0xfc1fffff) == 0x7c0802a6)
  	{			/* mflr Rx */
  	  /* Since shared library / PIC code, which needs to get its
-@@ -1138,7 +1189,7 @@ skip_prologue (CORE_ADDR pc, CORE_ADDR l
+@@ -1138,9 +1189,9 @@ skip_prologue (CORE_ADDR pc, CORE_ADDR l
  	     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.  */
 -	  if ((pc - orig_pc) > 8)
 +	  if ((pc - fdata->func_start) > 8)
  	    {
- 	      struct symtab_and_line prologue_sal = find_pc_line (orig_pc, 0);
+-	      struct symtab_and_line prologue_sal = find_pc_line (orig_pc, 0);
++	      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))

gdb-6.3-ppccfi-20041104.patch:
 dwarf2-frame.c   |    7 +++++++
 dwarf2-frame.h   |    7 ++++++-
 ppc-linux-tdep.c |   37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 1 deletion(-)

Index: gdb-6.3-ppccfi-20041104.patch
===================================================================
RCS file: /cvs/dist/rpms/gdb/devel/gdb-6.3-ppccfi-20041104.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gdb-6.3-ppccfi-20041104.patch	11 Jul 2006 06:33:02 -0000	1.2
+++ gdb-6.3-ppccfi-20041104.patch	11 Jul 2006 15:36:44 -0000	1.3
@@ -9,8 +9,8 @@
 
 Index: gdb-6.5/gdb/dwarf2-frame.c
 ===================================================================
---- gdb-6.5.orig/gdb/dwarf2-frame.c	2006-07-11 02:35:38.000000000 -0300
-+++ gdb-6.5/gdb/dwarf2-frame.c	2006-07-11 02:41:33.000000000 -0300
+--- gdb-6.5.orig/gdb/dwarf2-frame.c	2006-07-11 12:30:21.000000000 -0300
++++ gdb-6.5/gdb/dwarf2-frame.c	2006-07-11 12:34:43.000000000 -0300
 @@ -1020,6 +1020,13 @@ dwarf2_frame_prev_register (struct frame
          }
        break;
@@ -27,8 +27,8 @@
      }
 Index: gdb-6.5/gdb/dwarf2-frame.h
 ===================================================================
---- gdb-6.5.orig/gdb/dwarf2-frame.h	2006-07-11 02:35:38.000000000 -0300
-+++ gdb-6.5/gdb/dwarf2-frame.h	2006-07-11 02:40:26.000000000 -0300
+--- gdb-6.5.orig/gdb/dwarf2-frame.h	2006-07-11 12:30:21.000000000 -0300
++++ gdb-6.5/gdb/dwarf2-frame.h	2006-07-11 12:34:43.000000000 -0300
 @@ -51,8 +51,13 @@ enum dwarf2_frame_reg_rule
    DWARF2_FRAME_REG_SAVED_EXP,
    DWARF2_FRAME_REG_SAME_VALUE,
@@ -46,8 +46,8 @@
    DWARF2_FRAME_REG_CFA,		/* Call Frame Address.  */
 Index: gdb-6.5/gdb/ppc-linux-tdep.c
 ===================================================================
---- gdb-6.5.orig/gdb/ppc-linux-tdep.c	2006-07-11 02:35:38.000000000 -0300
-+++ gdb-6.5/gdb/ppc-linux-tdep.c	2006-07-11 02:35:47.000000000 -0300
+--- gdb-6.5.orig/gdb/ppc-linux-tdep.c	2006-07-11 12:30:21.000000000 -0300
++++ gdb-6.5/gdb/ppc-linux-tdep.c	2006-07-11 12:36:03.000000000 -0300
 @@ -39,6 +39,7 @@
  #include "trad-frame.h"
  #include "frame-unwind.h"
@@ -56,12 +56,13 @@
  
  /* The following instructions are used in the signal trampoline code
     on GNU/Linux PPC. The kernel used to use magic syscalls 0x6666 and
-@@ -1019,6 +1020,39 @@ static struct tramp_frame ppc64_linux_si
+@@ -1019,6 +1020,40 @@ static struct tramp_frame ppc64_linux_si
  };
  
  static void
 +ppc_linux_init_reg (struct gdbarch *gdbarch, int regnum,
-+		    struct dwarf2_frame_state_reg *state)
++		    struct dwarf2_frame_state_reg *state,
++		    struct frame_info *frame)
 +{
 +  /* NOTE: REGNUM is a GDB register number and not a DWARF 2 register
 +     number.  */
@@ -96,7 +97,7 @@
  ppc_linux_init_abi (struct gdbarch_info info,
                      struct gdbarch *gdbarch)
  {
-@@ -1076,6 +1110,8 @@ ppc_linux_init_abi (struct gdbarch_info 
+@@ -1076,6 +1111,8 @@ ppc_linux_init_abi (struct gdbarch_info 
        tramp_frame_prepend_unwinder (gdbarch, &ppc64_linux_sighandler_tramp_frame);
      }
    set_gdbarch_regset_from_core_section (gdbarch, ppc_linux_regset_from_core_section);




More information about the fedora-cvs-commits mailing list