delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/05/11:52:50

From: "Igor Bujna" <igor DOT bujna AT maxi-tip DOT cz>
Organization: Maxi-tip a.s.
To: djgpp AT delorie DOT com
Date: Tue, 5 Jun 2001 17:51:25 +0200
MIME-Version: 1.0
Subject: Problem with debuggering
Message-ID: <3B1D1C1D.4667.1168398@localhost>
X-Confirm-Reading-To: "Igor Bujna" <igor DOT bujna AT maxi-tip DOT cz>
X-pmrqc: 1
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com

Hello,
I have this Makefile
CC	= gcc
INCLUDE	= .
.SUFFIXES: .c .h
CFLAGS=-g -Wall -I$(INCLUDE)
LIBS=-lpanel -lpdcurses

OBJS	= menurt.o main.o

main:	$(OBJS)
	$(CC) $(OBJS) -o main $(LIBS)

%.o: %.c *.h
	$(CC) $(CFLAGS) $(INCLUDEDIR) -c -o $*.o $<

When i compiling the "main" program everything are OK.
When i run this program over rhgdb still everything OK.But when i 
go in function,which is in menurt.c a see this warning.
"The selected breakpoint is invalid, probablythis file is not compiled 
with debugging information or for this line is no code generated.."
I put breakpoint on this line 	"cprintf ("%i", cislo);" 
What i was doing bad.
Thank You

- Raw text -


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