Re: Using ptkdb under cygwin

"DominiX" <[email protected]> Fri, 9 Apr 2004 14:50:51 -1000
Newsgroups gmane.os.cygwin.perl
Message-ID <01b001c41e95$dfbd44e0$0100a8c0@pastis>
DominiX wrote:
> you need to install the package rebase from cygwin setup
> and run rebaseall
> it is a know issue in cygwin (read the doc from the package)
> 
> HTH
> 
> 

you could need this if rebaseall doesn't work for you.
it is raw and brutal but it works

#!/bin/bash
cd /
find usr bin sbin opt lib -type f -name "*.dll" | cat >/tmp/toto
zcat /etc/setup/*.lst.gz | grep 'dll$' >>/tmp/toto
cat /tmp/toto |sort -u|\
  sed -e '/cygwin1.dll$/d' -e 's/^/\//' \
      -e 's/apache\/new/apache/' >/tmp/toto2
rebase -v -d -b 0x70000000 -o 0x10000 -T /tmp/toto2



> Brad Morgan wrote:
>> I'm trying to use the ptkdb debugger under cygwin and I get the error
>> listed below.  The program works without the debugger or with the -d
>> debugger.
>> 
>> I've installed Tk800.025 and Devel-ptkdb-1.108 from .tgz files.
>> 
>> What do I need to do to get this working?
>> 
>> Thanks,
>> 
>> Brad
>> 
>> $ perl -d:ptkdb scanfile.pl ls -l
>> C:\cygwin\bin\perl.exe (2540): *** unable to remap
>> C:\cygwin\lib\perl5\5.8.2\cygwin-thread
>> -multi-64int\auto\Data\Dumper\Dumper.dll to same address as
>> parent(0xC30000) != 0x1010000
>>       9 [main] perl 2264 sync_with_child: child 2540(0x2BC) died
>> before initialization with status code 0x1
>>    1241 [main] perl 2264 sync_with_child: *** child state child
>> loading dlls
>> 
>> 
>> 
>> 
>> 
>> 
>> ------------------------ Yahoo! Groups Sponsor
>> ---------------------~--> Buy Ink Cartridges or Refill Kits for your
>> HP, Epson, Canon or Lexmark Printer at MyInks.com.  Free s/h on
>> orders $50 or more to the US & Canada.
>> http://www.c1tracking.com/l.asp?cid=5511
>> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/ndFolB/TM
>> ---------------------------------------------------------------------~->
>> 
>> 
>> Yahoo! Groups Links
>> 
>> 
>> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/cygwin-perl/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/