delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/01/16:20:58

Xref: news2.mv.net comp.os.msdos.djgpp:3298
From: jaha AT daimi DOT aau DOT dk (Jan Hansen)
Newsgroups: comp.os.msdos.djgpp
Subject: GDB breakpoint problem
Date: 29 Apr 1996 13:09:17 GMT
Organization: DAIMI, Computer Science Dept. at Aarhus University
Lines: 20
Message-ID: <4m2f1t$s2s@gjallar.daimi.aau.dk>
NNTP-Posting-Host: afgani.daimi.aau.dk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have a strange problem while using GDB.
Its not just one program causing the trouble, it won't work at all.
First i set a breakpoint in a line. Then i run the program.
When the execution reaches the breakpoint, i get this message:
  exception SIGSEGV, segmentation fault
And then i can't continue (using n or s)

i'm using a 120MHz Pentium with 8Mb ram.
The debugger is running in a Windows 3.11 dos window.
Both compiler and debugger is version 2.? 

I have tried GDB on a UNIX workstation, and that works just fine.
Please help!!!!

Btw. is it somehow possible to start a program by singlestepping (n), 
Without running and then stopping the execution with a breakpoint first.

Thanks. 
Jan Hansen.

- Raw text -


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