From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12276 invoked by alias); 24 Jan 2012 20:14:05 -0000 Received: (qmail 12268 invoked by uid 22791); 24 Jan 2012 20:14:03 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from imr3.ericy.com (HELO imr3.ericy.com) (198.24.6.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jan 2012 20:13:49 +0000 Received: from eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) by imr3.ericy.com (8.13.8/8.13.8) with ESMTP id q0OKDFDj025632 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 24 Jan 2012 14:13:28 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.142]) by eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) with mapi; Tue, 24 Jan 2012 15:13:22 -0500 From: Marc Khouzam To: "'Tom Tromey'" CC: "'Pedro Alves'" , "'gdb-patches@sourceware.org'" Date: Tue, 24 Jan 2012 20:36:00 -0000 Subject: RE: [4/4] RFC: implement catch load and catch unload Message-ID: References: <4F19B998.2030308@redhat.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00846.txt.bz2 > -----Original Message----- > From: Tom Tromey [mailto:tromey@redhat.com]=20 > Sent: Tuesday, January 24, 2012 1:56 PM > To: Marc Khouzam > Cc: 'Pedro Alves'; 'gdb-patches@sourceware.org' > Subject: Re: [4/4] RFC: implement catch load and catch unload >=20 > >>>>> "Marc" =3D=3D Marc Khouzam writes: >=20 > Marc> Is the change already in HEAD? I can test with that=20 > just to be sure > Marc> I haven't missed something. >=20 > Yes; it is also in 7.4: >=20 > 2011-11-22 Tom Tromey >=20 > PR mi/8444: > * mi/mi-common.h (EXEC_ASYNC_SOLIB_EVENT, EXEC_ASYNC_FORK) > (EXEC_ASYNC_VFORK, EXEC_ASYNC_SYSCALL_ENTRY) > (EXEC_ASYNC_SYSCALL_RETURN, EXEC_ASYNC_EXEC): New constants. > * mi/mi-common.c (async_reason_string_lookup): Add new reasons. > * breakpoint.c (print_it_catch_fork, print_it_catch_vfork) > (print_it_catch_syscall, print_it_catch_exec) > (internal_bkpt_print_it): Use ui_out. Emit stop reason. > (bpstat_print): Add 'kind' argument. Handle > TARGET_WAITKIND_LOADED. > * infrun.c (normal_stop): Update for bpstat_print change. Don't > handle TARGET_WAITKIND_LOADED here. > * breakpoint.h (bpstat_print): Update. Ok, looks ok with a single line change to use 'solib-event' instead of 'shlib-event'. Again, this is for the legacy/deprecated GDB integration. Our default integration is ok. Until the next version of eclipse is released with that fix, the legacy integration will stop at every solib event, even if the user doesn't want it to. Thanks Tom and Pedro for pointing this out. Marc