This is the mail archive of the cygwin mailing list for the Cygwin 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: New call: Please test latest snapshot


Gerrit P. Haase wrote:
>
> Ah, and the funny thing, it works well when running under gdb:
>
> This GDB was configured as "i686-pc-cygwin"...
> (gdb) run -svr
> Starting program: /usr/bin/cygcheck.exe -svr
> warning: LDR: Automatic DLL Relocation in cygcheck.exe
>
> warning: LDR: Dll GDI32.dll base 78010000 relocated due to collision
> with C:\WINNT\system32\msvcrt.dll
>
>
> Cygwin Configuration Diagnostics
> Current System Time: Fri May 20 01:36:13 2005
>
> [...]
>
> Program exited normally.
> (gdb)

Well, that's the funny thing about Cygwin's gdb.

$ cat ab.cpp
#include <cstdlib>

int main(){
        abort();
}

$ ./ab
Aborted (core dumped)

$ gdb ab.exe
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /home/Krzysiek/ab.exe

Program exited normally.
(gdb)


Krzysztof Duleba



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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