> > 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.
pr uses print_output_debug_flag
define pr
set $output_debug = print_output_debug_flag
set print_output_debug_flag = 0
set debug_print ($)
set print_output_debug_flag = $output_debug
end
document pr
If its been optimised away GDB, the first line will give:
(gdb) set $output_debug = print_output_debug_flag
No symbol "print_output_debug_flag" in current context.
> Are you saying that this change breaks debugging on every
> platform except Windows?
For every platform except Windows configured with "CFLAGS=-g -O2" or similar.
> If so, how come no one complained in the 5
> months that passed since that change?
I can't speak for others but I configure with "CFLAGS=-g3".
--
Nick http://www.inet.net.nz/~nickrob
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug