delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/21/04:41:01

Date: Sun, 21 Jan 1996 11:29:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Geoffrey Wong <gwong AT cse DOT unsw DOT edu DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: -fbounds-checking

On 19 Jan 1996, Geoffrey Wong wrote:

> Hi,
> 	does the dos version of gcc have the -fbounds-checking option. I tried
> at home it doesn't work.

As far as I know, bounds checking is an add-on to the GCC which isn't 
included in the official Gcc distribution.

> 	Also the dos gdb isn't nearly as powerful as the unix one. can anyone
> tell me some useful things that the dos version can still handle?

Mostly everything.

> 	I can't even printout a variable!!!

This certainly works for me.

> 	Also I use the Unix style prog < input.file but this doesn't work with
> the gdb in dos! go32 allows it when executing but I can't get it to work for
> my debugging sessions. Anyone know what I am doing wrong?

A known bug in gdb compiled with DJGPP v1.12 is that it won't pass 
command-line arguments to the debugged program.

- Raw text -


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