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

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

Re: Function "w32_abort" not defined


From: Eli Zaretskii
Subject: Re: Function "w32_abort" not defined
Date: Fri, 06 Jan 2006 11:39:35 +0200

> From: Nick Roberts <address@hidden>
> Date: Fri, 6 Jan 2006 09:59:42 +1300
> Cc: address@hidden
> 
> I fixed a typo

Oops! that was a left-over from my testing.  Thanks for catching it.

> but why have you taken your code out of the conditional?

Because it didn't work inside the conditional in GDB 6.3, 6.4, and a
recent snapshot of the GDB CVS.  It looks like a bug in GDB (which I'm
trying to debug), but given that it fails in at least 2 released
versions of GDB, I didn't think the small inefficiency in .gdbinit is
worth breaking it for users of those GDB versions.

> Presumably if you've set a breakpoint at w32_abort you don't need to
> set a temporary one atinit_sys_modes.  Could you not do:
> 
> if $tem[0] == 'w' && $tem[1] == 'i' && $tem[2] == 'n' && $tem[3] == 'd'
>   # The windows-nt build replaces abort with its own function.
>   break w32_abort
> else
>   break abort
>   [Your code]
> end

Yup, tried that first, and got a weird error message that made no
sense (the message varies depending on what version of GDB is used).




reply via email to

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