This is the mail archive of the gdb-patches@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]

RE: [4/4] RFC: implement catch load and catch unload


> -----Original Message-----
> From: Tom Tromey [mailto:tromey@redhat.com] 
> 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
> 
> >>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
> 
> Marc> Is the change already in HEAD?  I can test with that 
> just to be sure
> Marc> I haven't missed something.
> 
> Yes; it is also in 7.4:
> 
> 2011-11-22  Tom Tromey  <tromey@redhat.com>
> 
> 	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


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