delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/06/17/06:30:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Andrew Cottrell <andspamtrap DOT aty DOT exemail DOT doty DOT com DOT dot DOT yau AT unknown DOT addr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP linux cross-compiler + GDB problem
Date: Thu, 17 Jun 2004 20:15:47 +1000
Organization: HOME
Message-ID: <4cr2d0hkhrq5v6g597d1lie8so2u9v1js4@4ax.com>
References: <A5dAc.342543$hc5 DOT 14767707 AT news3 DOT tin DOT it>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Lines: 36
NNTP-Posting-Host: 220.233.15.233
X-Trace: 1087459564 un-2park-reader-01.sydney.pipenetworks.com.au 5875 220.233.15.233:1128
X-Complaints-To: Abuse, including message IDs to abuse AT pipenetworks DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>I have a problem debugging a DJGPP project with GDB. This seems to be
.. SNIP..
>- On the cross-devel platform I use:
>gcc 3.4
>binutils 2.15
>
>- On the Windows XP environment (MSDOS Prompt)
>gcc 3.3.4
>binutils 2.15
>gdb 5.3
>
>Has anybody out there an answer to this? I did not find docs on this topic
>online.

I cannot remmeber seeing this sort of problem before. Some things to
try (Eli knows allot more than I do, so ignore this if Eli responds):-
1) Ensure that you are using the DJGPP 2.04 beta releases and NOT the
2.03 releases. This is because you are using XP.
2) Go and search the DJGPP workers list at www.delorie.com for GDB 6.0
as I remember something seeing something a few months ago about it,
but cannot remember what it was.
3) A few days ago Andris released a test GCC 3.4. You may want to try
this so that then you have the same version of GCC on both OS's.
4) I do not know how to do this, but check that GDB and Binutils both
support the same version of Dwarf (I do not know if there are
different versions).
5) Failing all of the above you could give RHGDB.EXE a try, it's part
of Rhide and is essentially (and oversimplified) a GUI for GDB (GDB is
built into the exe). Rhide 1.5.0.1 can be doenloaded from
www.rhide.com in the snaphot area.

Good luck and let us know how you go.

Andrew


- Raw text -


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