This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: don't run watchpoint commands when the watchpoint goes out of scope
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 24 May 2011 12:56:22 -0600
- Subject: Re: don't run watchpoint commands when the watchpoint goes out of scope
- References: <201105241607.21740.pedro@codesourcery.com>
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro> Walking the related breakpoints in map_breakpoint_numbers
Pedro> is bogus. It should be the map_breakpoint_numbers' callback
Pedro> responsibility to iterate over the related breakpoints if it
Pedro> so needs/wants.
I totally agree; but I wonder what relies on this.
Annotation indicates that this code has been there forever.
Tom