cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/14/15:18:42

From: Dino Miniutti <miniutti AT macrae DOT com DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Newbie needs help with GDB
Date: Mon, 14 Jul 1997 22:32:37 +1000
Organization: InterACT Technology Group http://www.interact.net.au/
Lines: 19
Message-ID: <33CA1C63.6EDC1B6F@macrae.com.au>
NNTP-Posting-Host: newmarket.orac.net.au
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm currently having trouble getting to grips with GDB.

I start GDB and use the "file" command to load my executable (mass.exe -
short for masscombat).

I then try to debug the program by stepping through it, but the problem
is that when I reach a function that is #included from another of my
files (masscom.c) I get the message:

line number 62 is out of range; mass.c has 31 lines.

So, I was wondering how you actually get GDB to step into functions
included from other files.

        Thanks in advance Dino Miniutti.

PS. Sorry if this was off-topic for this newsgroup, but I didn't know
where else to ask.

- Raw text -


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