Re: lug-bg: Kak da debugvam pod Cygwin spodeleni biblioteki
- Subject: Re: lug-bg: Kak da debugvam pod Cygwin spodeleni biblioteki
- From: al_shopov_lug@xxxxxxxxx (Alexander Shopov)
- Date: Sun, 15 Dec 2002 07:38:49 -0800 (PST)
na C sam
algoritama e mnogo prost - znachi na edna funkcia
podavam ukazatel kam masiv ot opredeleni elementi i
broia na elementite.
V momenta na predavaneto programata zabiva.
Naum algoritama raboti.
Kato linkna statichno - pak.
No dinamichno chrez dll - segmentation fault.
Divotia.
Chuval sam che v windows izvikvaneto bilo razlichno ot
konvencionalnoto v C
ma ne sam siguren
Kak chrez gdb pod cygwin da prosledia imenno momenta
na opreminavane ot exe kam dll (sas debug simvoli
estestveno)
problema e v bibliotekata - sobsttvenite primeri ne
rabotiat pod cygwin osahtestveni kato dll, no sa ok
kato gi linkna statichno.
tova e vaprosa.
Ne znam za assert, no shte potarsia info.
thanx zasega
al_shopov
--- Bozhan Bozhkov <bozho@xxxxxxxxxxx> wrote:
> Ami ako e na C++ - vizh sys izkljuchenie, ako si na
> C - s assert - dali
> izlizash ot granicite na masiva, ama tova mozhe i na
> "visjasht" ukazatel da
> se dylzhi - ogledaj, dali vsichki ukazateli sochat
> kydeto trjabva
>
> ----- Original Message -----
> From: "Alexander Shopov" <al_shopov_lug@xxxxxxxxx>
> To: <lug-bg@xxxxxxxxxxxxxxxxxx>
> Sent: Saturday, December 14, 2002 5:27 PM
> Subject: lug-bg: Kak da debugvam pod Cygwin
> spodeleni biblioteki
>
>
> > Zdraveite,
> > imam problem s edna funkcia koiato priema kato
> > parametri ukazateli.
> > Kogato e osashtestvena kato otdelen modul v dll
> > programata zabiva (segmentation fault -
> nai-veroiatno
> > minavane izvan granicite na masiv, a ne bi
> triabvalo)
> > kogato ia linkna statichno - vsichko raboti ok.
> > Kak da debagvam dll-i sas gdb pod Cygwin?
> > BTW - dipl. mi rabota ima dva porta veche - za
> cygwin
> > i direkten sas mini gnu environment - kros
> kompilirana
> > pod Linux
> > pak e na free.top.bg/src
> > al_shopov
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > ============================
> ================================================
> > A mail-list of Linux Users Group - Bulgaria
> (bulgarian linuxers).
> > http://www.linux-bulgaria.org - Hosted by Internet
> Group Ltd. - Stara
> Zagora
> > To unsubscribe:
> http://www.linux-bulgaria.org/public/mail_list.html
> > ============================
> ================================================
> >
>
>
>
============================================================================
> A mail-list of Linux Users Group - Bulgaria
> (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet
> Group Ltd. - Stara Zagora
> To unsubscribe:
> http://www.linux-bulgaria.org/public/mail_list.html
>
============================================================================
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|