emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Invalid or undefined bitmap" when launched with -Q


From: Eli Zaretskii
Subject: Re: "Invalid or undefined bitmap" when launched with -Q
Date: Mon, 14 Aug 2006 23:46:18 +0300

> From: Nick Roberts <address@hidden>
> Date: Mon, 14 Aug 2006 15:26:03 +1200
> Cc: address@hidden, address@hidden
> 
>  > > 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]