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: Debugging with cygwin tools




Renà Berber-2 wrote:
> 
> Doug Coleman wrote:
> 
>> I'm having the exact same problem on win64 with gdb.  The PATH variable
>> has
>> been set manually to avoid possible syntax errors, but the same problem
>> exists when I don't shorten the PATH.  Cygcheck doesn't list any dlls as
>> missing.  gdb works on my win32 computer.
>> 
>> Any other ideas?
> [snip]
>> Error: dll starting at 0x77d41000 not found.
>> Segmentation fault (core dumped)
> 
> Same exact location.  Can you run 'info files' before 'run'?  What dll is
> in
> that address?
> -- 
> Renà Berber
> 

Here is 'info files' in gdb.  There have been other posts about the same
problem, but no resolution afaik:
http://cygwin.com/ml/cygwin/2007-03/msg00182.html


$ gdb ./factor-nt
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) info files
Symbols from "/cygdrive/k/factor/factor-nt.exe".
Local exec file:
        `/cygdrive/k/factor/factor-nt.exe', file type pei-i386.
        Entry point: 0x401280
        0x00401000 - 0x004017b8 is .text
        0x00402000 - 0x00402030 is .data
        0x00403000 - 0x00403040 is .rdata
        0x00404000 - 0x00404380 is .bss
        0x00405000 - 0x0040509b is .edata
        0x00406000 - 0x0040631c is .idata
        0x00407000 - 0x0041dd04 is .rsrc
        0x0041e000 - 0x0041e094 is .reloc
(gdb) run
Starting program: /cygdrive/k/factor/factor-nt.exe
Error: dll starting at 0x77d41000 not found.
Segmentation fault (core dumped)

Administrator@c4 /cygdrive/k/factor
$

-- 
View this message in context: http://www.nabble.com/Debugging-with-cygwin-tools-tf4568124.html#a13065449
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
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]