From: Siddhesh Poyarekar Date: Wed, 26 Sep 2012 02:06:55 +0000 (+0000) Subject: gdb/ChangeLog: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d70195899599a0f7f8d01f304f70e5a8d48169da;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 19d3602e43e..8d321923a17 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 cbd21c4477c..3500d52716b 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 ba8231a13d9..05ac4066a30 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 a27e9831731..3fdc90a041a 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