]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.5-bz216711-clone-is-outermost.patch
redhat patchset merged, pld patchset updated.
[packages/gdb.git] / gdb-6.5-bz216711-clone-is-outermost.patch
index debac4eacfcabba6a9e905a9f4396d8477a62873..41a887aec532c18a3bd233893381c2bfbe41f252 100644 (file)
@@ -23,11 +23,11 @@ instead.
 
        Port to GDB-6.7.
 
-Index: gdb-7.4.50.20120120/gdb/amd64-linux-tdep.c
+Index: gdb-7.4.50.20120703/gdb/amd64-linux-tdep.c
 ===================================================================
---- gdb-7.4.50.20120120.orig/gdb/amd64-linux-tdep.c    2012-03-02 22:15:48.000000000 +0100
-+++ gdb-7.4.50.20120120/gdb/amd64-linux-tdep.c 2012-03-02 22:16:13.526569163 +0100
-@@ -268,6 +268,80 @@ amd64_linux_register_reggroup_p (struct
+--- gdb-7.4.50.20120703.orig/gdb/amd64-linux-tdep.c    2012-06-13 22:36:48.000000000 +0200
++++ gdb-7.4.50.20120703/gdb/amd64-linux-tdep.c 2012-07-03 17:32:46.547563363 +0200
+@@ -271,6 +271,80 @@ amd64_linux_register_reggroup_p (struct
  
  /* Set the program counter for process PTID to PC.  */
  
@@ -87,7 +87,7 @@ Index: gdb-7.4.50.20120120/gdb/amd64-linux-tdep.c
 +amd64_linux_outermost_frame (struct frame_info *this_frame)
 +{
 +  CORE_ADDR pc = get_frame_pc (this_frame);
-+  char *name;
++  const char *name;
 +
 +  find_pc_partial_function (pc, &name, NULL, NULL);
 +
@@ -108,20 +108,20 @@ Index: gdb-7.4.50.20120120/gdb/amd64-linux-tdep.c
  static void
  amd64_linux_write_pc (struct regcache *regcache, CORE_ADDR pc)
  {
-@@ -1321,6 +1395,8 @@ amd64_linux_init_abi (struct gdbarch_inf
+@@ -1547,6 +1621,8 @@ amd64_linux_init_abi (struct gdbarch_inf
  
-   tdep->xsave_xcr0_offset = I386_LINUX_XSAVE_XCR0_OFFSET;
+   amd64_linux_init_abi_common (info, gdbarch);
  
 +  tdep->outermost_frame_p = amd64_linux_outermost_frame;
 +
    /* GNU/Linux uses SVR4-style shared libraries.  */
    set_solib_svr4_fetch_link_map_offsets
      (gdbarch, svr4_lp64_fetch_link_map_offsets);
-Index: gdb-7.4.50.20120120/gdb/amd64-tdep.c
+Index: gdb-7.4.50.20120703/gdb/amd64-tdep.c
 ===================================================================
---- gdb-7.4.50.20120120.orig/gdb/amd64-tdep.c  2012-01-04 09:16:56.000000000 +0100
-+++ gdb-7.4.50.20120120/gdb/amd64-tdep.c       2012-03-02 22:17:39.133287571 +0100
-@@ -2108,6 +2108,7 @@ amd64_frame_unwind_stop_reason (struct f
+--- gdb-7.4.50.20120703.orig/gdb/amd64-tdep.c  2012-06-16 17:20:22.000000000 +0200
++++ gdb-7.4.50.20120703/gdb/amd64-tdep.c       2012-07-03 17:32:12.335604415 +0200
+@@ -2324,6 +2324,7 @@ amd64_frame_unwind_stop_reason (struct f
  {
    struct amd64_frame_cache *cache =
      amd64_frame_cache (this_frame, this_cache);
@@ -129,7 +129,7 @@ Index: gdb-7.4.50.20120120/gdb/amd64-tdep.c
  
    if (!cache->base_p)
      return UNWIND_UNAVAILABLE;
-@@ -2116,6 +2117,10 @@ amd64_frame_unwind_stop_reason (struct f
+@@ -2332,6 +2333,10 @@ amd64_frame_unwind_stop_reason (struct f
    if (cache->base == 0)
      return UNWIND_OUTERMOST;
  
@@ -140,7 +140,7 @@ Index: gdb-7.4.50.20120120/gdb/amd64-tdep.c
    return UNWIND_NO_REASON;
  }
  
-@@ -2125,6 +2130,7 @@ amd64_frame_this_id (struct frame_info *
+@@ -2341,6 +2346,7 @@ amd64_frame_this_id (struct frame_info *
  {
    struct amd64_frame_cache *cache =
      amd64_frame_cache (this_frame, this_cache);
@@ -148,7 +148,7 @@ Index: gdb-7.4.50.20120120/gdb/amd64-tdep.c
  
    if (!cache->base_p)
      return;
-@@ -2133,6 +2139,10 @@ amd64_frame_this_id (struct frame_info *
+@@ -2349,6 +2355,10 @@ amd64_frame_this_id (struct frame_info *
    if (cache->base == 0)
      return;
  
@@ -159,11 +159,11 @@ Index: gdb-7.4.50.20120120/gdb/amd64-tdep.c
    (*this_id) = frame_id_build (cache->base + 16, cache->pc);
  }
  
-Index: gdb-7.4.50.20120120/gdb/i386-tdep.c
+Index: gdb-7.4.50.20120703/gdb/i386-tdep.c
 ===================================================================
---- gdb-7.4.50.20120120.orig/gdb/i386-tdep.c   2012-03-02 22:15:48.000000000 +0100
-+++ gdb-7.4.50.20120120/gdb/i386-tdep.c        2012-03-02 22:16:13.528569157 +0100
-@@ -7613,6 +7613,9 @@ i386_gdbarch_init (struct gdbarch_info i
+--- gdb-7.4.50.20120703.orig/gdb/i386-tdep.c   2012-06-18 19:31:34.000000000 +0200
++++ gdb-7.4.50.20120703/gdb/i386-tdep.c        2012-07-03 17:32:12.339604409 +0200
+@@ -7655,6 +7655,9 @@ i386_gdbarch_init (struct gdbarch_info i
  
    tdep->xsave_xcr0_offset = -1;
  
@@ -173,10 +173,10 @@ Index: gdb-7.4.50.20120120/gdb/i386-tdep.c
    tdep->record_regmap = i386_record_regmap;
  
    set_gdbarch_long_long_align_bit (gdbarch, 32);
-Index: gdb-7.4.50.20120120/gdb/i386-tdep.h
+Index: gdb-7.4.50.20120703/gdb/i386-tdep.h
 ===================================================================
---- gdb-7.4.50.20120120.orig/gdb/i386-tdep.h   2012-03-02 22:15:48.000000000 +0100
-+++ gdb-7.4.50.20120120/gdb/i386-tdep.h        2012-03-02 22:16:13.529569154 +0100
+--- gdb-7.4.50.20120703.orig/gdb/i386-tdep.h   2012-06-13 22:29:15.000000000 +0200
++++ gdb-7.4.50.20120703/gdb/i386-tdep.h        2012-07-03 17:32:12.340604408 +0200
 @@ -219,6 +219,9 @@ struct gdbarch_tdep
    int (*i386_sysenter_record) (struct regcache *regcache);
    /* Parse syscall args.  */
@@ -187,11 +187,11 @@ Index: gdb-7.4.50.20120120/gdb/i386-tdep.h
  };
  
  /* Floating-point registers.  */
-Index: gdb-7.4.50.20120120/gdb/ia64-tdep.c
+Index: gdb-7.4.50.20120703/gdb/ia64-tdep.c
 ===================================================================
---- gdb-7.4.50.20120120.orig/gdb/ia64-tdep.c   2012-03-02 22:15:48.000000000 +0100
-+++ gdb-7.4.50.20120120/gdb/ia64-tdep.c        2012-03-02 22:16:13.529569154 +0100
-@@ -2181,6 +2181,138 @@ static const struct frame_unwind ia64_fr
+--- gdb-7.4.50.20120703.orig/gdb/ia64-tdep.c   2012-07-03 17:30:09.000000000 +0200
++++ gdb-7.4.50.20120703/gdb/ia64-tdep.c        2012-07-03 17:32:12.343604405 +0200
+@@ -2176,6 +2176,138 @@ static const struct frame_unwind ia64_fr
    default_frame_sniffer
  };
  
@@ -330,7 +330,7 @@ Index: gdb-7.4.50.20120120/gdb/ia64-tdep.c
  /* Signal trampolines.  */
  
  static void
-@@ -4153,6 +4285,7 @@ ia64_gdbarch_init (struct gdbarch_info i
+@@ -4146,6 +4278,7 @@ ia64_gdbarch_init (struct gdbarch_info i
    set_gdbarch_dummy_id (gdbarch, ia64_dummy_id);
  
    set_gdbarch_unwind_pc (gdbarch, ia64_unwind_pc);
@@ -338,10 +338,10 @@ Index: gdb-7.4.50.20120120/gdb/ia64-tdep.c
  #ifdef HAVE_LIBUNWIND_IA64_H
    frame_unwind_append_unwinder (gdbarch,
                                  &ia64_libunwind_sigtramp_frame_unwind);
-Index: gdb-7.4.50.20120120/gdb/testsuite/gdb.threads/bt-clone-stop.c
+Index: gdb-7.4.50.20120703/gdb/testsuite/gdb.threads/bt-clone-stop.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.4.50.20120120/gdb/testsuite/gdb.threads/bt-clone-stop.c      2012-03-02 22:16:13.530569151 +0100
++++ gdb-7.4.50.20120703/gdb/testsuite/gdb.threads/bt-clone-stop.c      2012-07-03 17:32:12.344604404 +0200
 @@ -0,0 +1,39 @@
 +/* This testcase is part of GDB, the GNU debugger.
 +
@@ -382,10 +382,10 @@ Index: gdb-7.4.50.20120120/gdb/testsuite/gdb.threads/bt-clone-stop.c
 +      for (;;)
 +              pause();
 +}
-Index: gdb-7.4.50.20120120/gdb/testsuite/gdb.threads/bt-clone-stop.exp
+Index: gdb-7.4.50.20120703/gdb/testsuite/gdb.threads/bt-clone-stop.exp
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ gdb-7.4.50.20120120/gdb/testsuite/gdb.threads/bt-clone-stop.exp    2012-03-02 22:16:13.530569151 +0100
++++ gdb-7.4.50.20120703/gdb/testsuite/gdb.threads/bt-clone-stop.exp    2012-07-03 17:32:12.344604404 +0200
 @@ -0,0 +1,61 @@
 +# Copyright 2006 Free Software Foundation, Inc.
 +
This page took 0.095218 seconds and 4 git commands to generate.