gdb/ChangeLog:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 26 Sep 2012 02:06:55 +0000 (02:06 +0000)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 26 Sep 2012 02:06:55 +0000 (02:06 +0000)
* breakpoint.c (invalidate_bp_value_on_memory_change): Expand
parameter LEN to ssize_t.

gdb/doc/ChangeLog:

observer.texi (memory_changed): Expand parameter LEN to ssize_t.

gdb/ChangeLog
gdb/breakpoint.c
gdb/doc/ChangeLog
gdb/doc/observer.texi

index 19d3602e43ede0bda985aed454085b84fe875130..8d321923a17fcd558d290e2ee1f543c16cd74ad1 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * breakpoint.c (invalidate_bp_value_on_memory_change): Expand
+       parameter LEN to ssize_t.
+
 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * ada-valprint.c (ada_val_print_1): Eliminate single-use
index cbd21c4477cc71a10014139971008156dd7e1d03..3500d52716b21a139ca15450ead01336fc96283b 100644 (file)
@@ -14718,7 +14718,7 @@ show_breakpoint_cmd (char *args, int from_tty)
    GDB itself.  */
 
 static void
-invalidate_bp_value_on_memory_change (CORE_ADDR addr, int len,
+invalidate_bp_value_on_memory_change (CORE_ADDR addr, ssize_t len,
                                      const bfd_byte *data)
 {
   struct breakpoint *bp;
index ba8231a13d9d61e2f591868321406dc4692810b1..05ac4066a303f9324bb54dbe30f466223a441749 100644 (file)
@@ -1,3 +1,7 @@
+2012-09-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * observer.texi (memory_changed): Expand parameter LEN to ssize_t.
+
 2012-09-21  Yao Qi  <yao@codesourcery.com>
             Pedro Alves  <palves@redhat.com>
 
index a27e9831731f5989e07d70e72b455cfe888007ad..3fdc90a041aaf4c30fdfaff82dbf9f80e5d255a6 100644 (file)
@@ -230,7 +230,7 @@ The inferior @var{inf} has been removed from the list of inferiors.
 This method is called immediately before freeing @var{inf}.
 @end deftypefun
 
-@deftypefun void memory_changed (CORE_ADDR @var{addr}, int @var{len}, const bfd_byte *@var{data})
+@deftypefun void memory_changed (CORE_ADDR @var{addr}, ssize_t @var{len}, const bfd_byte *@var{data})
 Bytes from @var{data} to @var{data} + @var{len} have been written
 to the current inferior at @var{addr}.
 @end deftypefun