delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/27/02:53:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20030827065031.15663.qmail@linuxmail.org>
MIME-Version: 1.0
From: "peter garrone" <pgarrone AT linuxmail DOT org>
To: cygwin AT cygwin DOT com
Date: Wed, 27 Aug 2003 14:50:30 +0800
Subject: Using gdb on cygwin library/dll functions
X-Originating-Ip: 192.10.200.223
X-Originating-Server: ws5-1.us4.outblaze.com

How to do this?

If I attempt to set a breakpoint at, say, pthread_cancel, I get

Cannot access memory at address 0x25

although pthread_cancel exists at 0x5a79f0 according to the map file.

If I attempt to link with -static, I get a -lX11 library lookup failure.

If I attempt to link in the relevant .o file directly, e.g. pthread.o or thread.o,
I get a great many unresolved references.
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019