This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. 8b4f3082d8f1f7605c6f89f12bc3a93da06845c5


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  8b4f3082d8f1f7605c6f89f12bc3a93da06845c5 (commit)
      from  9f7132948dd9a08e020e6409ebe790d8fd9c6d5d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8b4f3082d8f1f7605c6f89f12bc3a93da06845c5

commit 8b4f3082d8f1f7605c6f89f12bc3a93da06845c5
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Nov 29 14:50:26 2013 +0000

    Plug target side conditions and commands leaks.
    
    The memory management of bp_location->target_info.conditions|tcommands
    is currently a little fragile.  If the target reports support for
    target conditions or commands, and then target side breakpoint support
    is disabled, or some error is thrown before remote_add_target_side_XXX
    is called, we'll leak these lists.  This patch makes us free these
    lists when the locations are deleted, and also, just before recreating
    the commands|conditions lists.
    
    Tested on x86_64 Fedora 17, native and gdbserver.
    
    gdb/
    2013-11-29  Pedro Alves  <palves@redhat.com>
    
    	* breakpoint.c (build_target_condition_list): Release previous
    	conditions.
    	(build_target_command_list): Release previous commands.
    	(bp_location_dtor): Release target conditions and commands.
    	* remote.c (remote_add_target_side_condition): Don't release
    	conditions.
    	(remote_add_target_side_commands): Don't release commands.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog    |   10 ++++++++++
 gdb/breakpoint.c |    9 +++++++++
 gdb/remote.c     |    4 ----
 3 files changed, 19 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]