]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.3-ppc64syscall-20040622.patch
- up to 7.3.1
[packages/gdb.git] / gdb-6.3-ppc64syscall-20040622.patch
index 8e6c39115d386cde183698ee5dab4e0adf946609..a237cc11663fea1d26c5527b664fa22829221642 100644 (file)
@@ -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 @@ Index: gdb-6.8.50.20090802/gdb/rs6000-tdep.c
      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 @@ Index: gdb-6.8.50.20090802/gdb/rs6000-tdep.c
    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 @@ Index: gdb-6.8.50.20090802/gdb/rs6000-tdep.c
    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 @@ Index: gdb-6.8.50.20090802/gdb/rs6000-tdep.c
        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 @@ Index: gdb-6.8.50.20090802/gdb/rs6000-tdep.c
 +            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)
This page took 0.027017 seconds and 4 git commands to generate.