]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.8-constant-watchpoints.patch
- update to 6.8.91.20090930-1 from fedora
[packages/gdb.git] / gdb-6.8-constant-watchpoints.patch
index baa242bb03620e337be620423950de2eb626f48d..df29d8d542d1159dc6a685f5cfff06415805c307 100644 (file)
        gdb.base/watchpoint.c (global_ptr_ptr): New variable.
        (func4): New testing code for GLOBAL_PTR_PTR.
 
-Index: gdb-6.8.50.20090209/gdb/breakpoint.c
+Index: gdb-6.8.50.20090803/gdb/breakpoint.c
 ===================================================================
---- gdb-6.8.50.20090209.orig/gdb/breakpoint.c  2009-02-09 15:39:01.000000000 +0100
-+++ gdb-6.8.50.20090209/gdb/breakpoint.c       2009-02-09 16:04:10.000000000 +0100
-@@ -769,7 +769,15 @@ is_hardware_watchpoint (struct breakpoin
+--- gdb-6.8.50.20090803.orig/gdb/breakpoint.c  2009-08-04 06:29:47.000000000 +0200
++++ gdb-6.8.50.20090803/gdb/breakpoint.c       2009-08-04 06:32:50.000000000 +0200
+@@ -823,7 +823,15 @@ is_hardware_watchpoint (struct breakpoin
     If VAL_CHAIN is non-NULL, *VAL_CHAIN will be released from the
     value chain.  The caller must free the values individually.  If
     VAL_CHAIN is NULL, all generated values will be left on the value
@@ -39,16 +39,16 @@ Index: gdb-6.8.50.20090209/gdb/breakpoint.c
  
  static void
  fetch_watchpoint_value (struct expression *exp, struct value **valp,
-@@ -5862,7 +5870,7 @@ watch_command_1 (char *arg, int accessfl
+@@ -6301,7 +6309,7 @@ watch_command_1 (char *arg, int accessfl
    struct symtab_and_line sal;
    struct expression *exp;
    struct block *exp_valid_block;
 -  struct value *val, *mark;
 +  struct value *val, *mark, *val_chain;
    struct frame_info *frame;
-   struct frame_info *prev_frame = NULL;
    char *exp_start = NULL;
-@@ -5954,6 +5962,27 @@ watch_command_1 (char *arg, int accessfl
+   char *exp_end = NULL;
+@@ -6392,6 +6400,27 @@ watch_command_1 (char *arg, int accessfl
    exp_valid_block = innermost_block;
    mark = value_mark ();
    fetch_watchpoint_value (exp, &val, NULL, NULL);
@@ -76,11 +76,11 @@ Index: gdb-6.8.50.20090209/gdb/breakpoint.c
    if (val != NULL)
      release_value (val);
  
-Index: gdb-6.8.50.20090209/gdb/gdbtypes.h
+Index: gdb-6.8.50.20090803/gdb/gdbtypes.h
 ===================================================================
---- gdb-6.8.50.20090209.orig/gdb/gdbtypes.h    2009-02-09 15:51:57.000000000 +0100
-+++ gdb-6.8.50.20090209/gdb/gdbtypes.h 2009-02-09 16:04:10.000000000 +0100
-@@ -70,7 +70,22 @@ enum type_code
+--- gdb-6.8.50.20090803.orig/gdb/gdbtypes.h    2009-08-04 06:31:58.000000000 +0200
++++ gdb-6.8.50.20090803/gdb/gdbtypes.h 2009-08-04 06:32:50.000000000 +0200
+@@ -71,7 +71,22 @@ enum type_code
      TYPE_CODE_UNION,          /* C union or Pascal variant part */
      TYPE_CODE_ENUM,           /* Enumeration type */
      TYPE_CODE_FLAGS,          /* Bit flags type */
@@ -104,11 +104,11 @@ Index: gdb-6.8.50.20090209/gdb/gdbtypes.h
      TYPE_CODE_INT,            /* Integer type */
  
      /* Floating type.  This is *NOT* a complex type.  Beware, there are parts
-Index: gdb-6.8.50.20090209/gdb/doc/gdb.texinfo
+Index: gdb-6.8.50.20090803/gdb/doc/gdb.texinfo
 ===================================================================
---- gdb-6.8.50.20090209.orig/gdb/doc/gdb.texinfo       2009-02-09 16:02:42.000000000 +0100
-+++ gdb-6.8.50.20090209/gdb/doc/gdb.texinfo    2009-02-09 16:04:10.000000000 +0100
-@@ -3480,6 +3480,18 @@ This command prints a list of watchpoint
+--- gdb-6.8.50.20090803.orig/gdb/doc/gdb.texinfo       2009-08-04 06:32:39.000000000 +0200
++++ gdb-6.8.50.20090803/gdb/doc/gdb.texinfo    2009-08-04 06:32:50.000000000 +0200
+@@ -3517,6 +3517,18 @@ This command prints a list of watchpoint
  it is the same as @code{info break} (@pxref{Set Breaks}).
  @end table
  
@@ -127,10 +127,10 @@ Index: gdb-6.8.50.20090209/gdb/doc/gdb.texinfo
  @value{GDBN} sets a @dfn{hardware watchpoint} if possible.  Hardware
  watchpoints execute very quickly, and the debugger reports a change in
  value at the exact instruction where the change occurs.  If @value{GDBN}
-Index: gdb-6.8.50.20090209/gdb/testsuite/gdb.base/watchpoint.c
+Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.base/watchpoint.c
 ===================================================================
---- gdb-6.8.50.20090209.orig/gdb/testsuite/gdb.base/watchpoint.c       2008-03-03 14:24:12.000000000 +0100
-+++ gdb-6.8.50.20090209/gdb/testsuite/gdb.base/watchpoint.c    2009-02-09 16:04:10.000000000 +0100
+--- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.base/watchpoint.c       2008-03-03 14:24:12.000000000 +0100
++++ gdb-6.8.50.20090803/gdb/testsuite/gdb.base/watchpoint.c    2009-08-04 06:32:50.000000000 +0200
 @@ -40,6 +40,7 @@ struct foo struct1, struct2, *ptr1, *ptr
  int doread = 0;
  
@@ -150,10 +150,10 @@ Index: gdb-6.8.50.20090209/gdb/testsuite/gdb.base/watchpoint.c
  }
  
  int main ()
-Index: gdb-6.8.50.20090209/gdb/testsuite/gdb.base/watchpoint.exp
+Index: gdb-6.8.50.20090803/gdb/testsuite/gdb.base/watchpoint.exp
 ===================================================================
---- gdb-6.8.50.20090209.orig/gdb/testsuite/gdb.base/watchpoint.exp     2009-01-03 06:58:03.000000000 +0100
-+++ gdb-6.8.50.20090209/gdb/testsuite/gdb.base/watchpoint.exp  2009-02-09 16:05:03.000000000 +0100
+--- gdb-6.8.50.20090803.orig/gdb/testsuite/gdb.base/watchpoint.exp     2009-01-03 06:58:03.000000000 +0100
++++ gdb-6.8.50.20090803/gdb/testsuite/gdb.base/watchpoint.exp  2009-08-04 06:32:50.000000000 +0200
 @@ -641,7 +641,21 @@ proc test_watchpoint_and_breakpoint {} {
        }
      }
This page took 0.041208 seconds and 4 git commands to generate.