From d70195899599a0f7f8d01f304f70e5a8d48169da Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 26 Sep 2012 02:06:55 +0000 Subject: [PATCH] gdb/ChangeLog: * 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 | 5 +++++ gdb/breakpoint.c | 2 +- gdb/doc/ChangeLog | 4 ++++ gdb/doc/observer.texi | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 19d3602..8d32192 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-09-26 Siddhesh Poyarekar + + * breakpoint.c (invalidate_bp_value_on_memory_change): Expand + parameter LEN to ssize_t. + 2012-09-25 Siddhesh Poyarekar * ada-valprint.c (ada_val_print_1): Eliminate single-use diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index cbd21c4..3500d52 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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; diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ba8231a..05ac406 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2012-09-26 Siddhesh Poyarekar + + * observer.texi (memory_changed): Expand parameter LEN to ssize_t. + 2012-09-21 Yao Qi Pedro Alves diff --git a/gdb/doc/observer.texi b/gdb/doc/observer.texi index a27e983..3fdc90a 100644 --- a/gdb/doc/observer.texi +++ b/gdb/doc/observer.texi @@ -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 -- 2.7.4