delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/09/03:10:07

From: kh AT wg DOT icl DOT co DOT uk (Kevin Hughes)
Subject: using gdb
9 Feb 1998 03:10:07 -0800 :
Message-ID: <01BD3545.25608520.cygnus.gnu-win32@rodney.wg.icl.co.uk>
Mime-Version: 1.0
To: "Gnuwin95 (E-mail)" <gnu-win32 AT cygnus DOT com>

I am trying to debug using gdb a rather large program compiled using the egcs1.0 compiler supplied by
Mumit Khan.

The problem I have is trying to plant a stop in the failing(?) routine. I have tried b function_name but get
back  

	cannot access memory at .......

I have tried to use the windows i/f but get the following problems

	gdb: unknown target exception 0xc000001d at 0x005100dc

Program received signal ?, Unknown signal.

I have also tried the non windows i/f and get similar fails. 
I have tried stepping into the fail but get

[tcsetpgrp failed in terminal_inferior: error 0]

This does not necessarily stop the session BUT I appear to fail on the step - it just runs on.


Any suggestions?


Kevin



PS this code works perfectly on a solaris system

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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