> From: Nick Roberts <[EMAIL PROTECTED]> > Date: Mon, 14 Aug 2006 15:26:03 +1200 > Cc: [EMAIL PROTECTED], [email protected] > > > > To do the former I think you either need to recompile without -O2 or > > > redefine pr: > > > > Why? There's no need to change compilation options for the GDB > > commands to work. > > Are you sure? You added print_output_debug_flag on 2006-03-25 but it only > seems to be used here: > > #ifdef WINDOWSNT > /* Send the output to a debugger (nothing happens if there isn't one). */ > if (print_output_debug_flag) > { > char buf[2] = {(char) XINT (character), '\0'}; > OutputDebugString (buf); > } > #endif > > i.e if WINDOWSNT is defined. If it's not used won't -O2 optimise it away?
Sorry, I don't see how this variable is relevant to whether `pr' works or not. Are you saying that this change breaks debugging on every platform except Windows? If so, how come no one complained in the 5 months that passed since that change? _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
