Iftikhar Burhanuddin on Thu, 29 Nov 2007 21:15:23 +0100


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

running examples/extgcd.c on cygwin


Hi folks,

Running the executable for the file examples/extgcd.c doesn't produce any output on cygwin/Windows XP and further I'm unable to decipher GDB's output. 

What is wrong?

Regards,
Ifti

====

LocalAdmin@ThingFive ~/pari-2.3.2/examples
$ make dyn
/usr/bin/gcc -c -g -Wall -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
-I. -I/usr/local/include  extgcd.c
/usr/bin/gcc -o extgcd-dyn -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
  -Wl,--export-dynamic  extgcd.o -Wl,-rpath,/usr/local/lib -lm -L/usr/local/lib
-lpari
Info: resolving _avma by linking to __imp__avma (auto-import)
Info: resolving _gen_0 by linking to __imp__gen_0 (auto-import)
Info: resolving _gen_1 by linking to __imp__gen_1 (auto-import)
Info: resolving _bot by linking to __imp__bot (auto-import)
Info: resolving _win32ctrlc by linking to __imp__win32ctrlc (auto-import)

LocalAdmin@ThingFive ~/pari-2.3.2/examples
$ ./extgcd-dyn.exe

LocalAdmin@ThingFive ~/pari-2.3.2/examples
$ gdb extgcd-dyn.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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) break main
Breakpoint 1 at 0x4012fc: file extgcd.c, line 30.
(gdb) run
Starting program: /home/LocalAdmin/pari-2.3.2/examples/extgcd-dyn.exe
gdb: unknown target exception 0xc0000135 at 0x7c964ed1

Program received signal ?, Unknown signal.

Program exited with code 030000000465.
You can't do that without a process to debug.
(gdb)