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: [PATCH] Don't give spurious warnings when using thread specific breakpoints


> From: Andreas Schwab <schwab@suse.de>
> Cc: Andrew STUBBS <andrew.stubbs@st.com>, gdb-patches@sourceware.org
> Date: Wed, 18 Oct 2006 22:20:40 +0200
> >
> >    ALL_BREAKPOINTS (b)
> >      if (b->loc->address == pc)	/* address match / overlay match */
> > 	if (!b->pending && (!overlay_debugging || b->loc->section == section))
> > 	  {
> > 	    others--;
> > 	    if (others == 1 &&
> > 	       (b->enable_state == bp_disabled || 
> > 	        b->enable_state == bp_shlib_disabled || 
> > 	        b->enable_state == bp_call_disabled))
> > 	       printf_filtered (_("Note: breakpoint %d (disabled) also set at pc "),
> 
> That won't work either.  Some languages (notably German) need to put the
> verb at the end of the sentence in such a case.

Yes, for better results the following call to
deprecated_print_address_numeric should be made a part of the message
(as a format specifier, for example, or concatenated string).


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