Mail Archives: djgpp/1996/05/01/23:29:14
Strange problem, <ick!>
We really gotta accept that MS-DOG even with DJGPP ain't UNIX. I would be
willing to bet that your problem is caused by too small a DPMI stack; use
stubedit to enlarge it. You can also try using symify to print the call
traceback. If you see some really weird functions (nothing like your
functions, something like __djgpp_something) then it's almost certainly
some shitty stack problem (that is, if the program really isn't at fault,
which would be your implication if it works perfectly on a UNIX
workstation).
On 29 Apr 1996, Jan Hansen wrote:
> 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 -