This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: breakpoint.c: Minor output fixes for hardware watchpoints
- To: Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de
- Subject: Re: RFA: breakpoint.c: Minor output fixes for hardware watchpoints
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Thu, 9 Mar 2000 08:37:12 -0500 (EST)
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <200003072114.WAA26280@reisser.regent.e-technik.tu-muenchen.de>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> During implementation of hardware watchpoints on Solaris, I noticed the
> following inconsistencies in breakpoint.c output between software and
> hardware breakpoints.
Both problems confirmed on x86 using the DJGPP native version.
Actually, these two problems were on my todo list since last summer,
but since they are merely annoyances, they got pushed back ;-).
> Here is a patch for both problems:
>
> 2000-03-07 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
>
> * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Reselect
> the saved frame silently after frame selection for watchpoint
> evaluation.
> (insert_breakpoints): Add missing space in `Hardware watchpoint
> deleted' message. Do not reinsert hardware watchpoint if it is
> already marked for deletion at next stop.
Both problems are gone with these patches in the DJGPP version.
Thanks!