FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 5 matches
Forum Index
Author Message
  Topic: Can't make GDB debug
MageSlayer

Replies: 26
Views: 42843

PostForum: Descent   Posted: Wed Oct 03, 2007 9:16 am   Subject: Can't make GDB debug
Sorry, I meant compiling with gdc.

It's gdc compiled case.
Compiling with dmd gives quite usable executable, but when I try to debug:

GNU gdb 6.6
Copyright (C) 2006 Free Software Found ...
  Topic: Can't make GDB debug
MageSlayer

Replies: 26
Views: 42843

PostForum: Descent   Posted: Tue Oct 02, 2007 11:34 pm   Subject: Can't make GDB debug
Can you try compiling it with gdb?

I didn't catch you. gdb is debugger, and AFAIU it doesn't compile anything. Correct me, if I'm wrong.

I'm using gdb 6.6-debian

Well, then question with vers ...
  Topic: Can't make GDB debug
MageSlayer

Replies: 26
Views: 42843

PostForum: Descent   Posted: Mon Oct 01, 2007 9:11 am   Subject: Can't make GDB debug
If you can send me a directory tree of the files you use for debugging, and also the functions, so that I can reproduce the problem, it would be great.

Well, it's just hello world application. Her ...
  Topic: Can't make GDB debug
MageSlayer

Replies: 26
Views: 42843

PostForum: Descent   Posted: Mon Oct 01, 2007 4:17 am   Subject: Can't make GDB debug
Does yours ever hit any breakpoint?

No, no breakpoint worked.

Have you compiled your program with the -g switch?

Yes, I've included -g option using http://www.dsource.org/projects/descent/wik ...
  Topic: Can't make GDB debug
MageSlayer

Replies: 26
Views: 42843

PostForum: Descent   Posted: Sat Sep 29, 2007 11:57 am   Subject: Can't make GDB debug
Hi.

I'm trying to make gdb stop on breakpoints, but no luck. It just tells something like:

GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group