www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: Wanted: GDB-style debugging

reply BCS <BCS_member pathlink.com> writes:
In article <pan.2005.09.10.19.51.39.448610 teqdruid.com>, John Demme says...
If your GDB doesn't support DW_LANG_D (it probably doesn't) then compile
it yourself with my patch at:
http://svn.dsource.org/projects/gdb-patches/downloads/


-John Demme
I don’t have the ability to recompile GDB. Does anyone have a patched win32 binary I can copy? For that matter does anyone have a Linux binary I can copy?
Sep 14 2005
next sibling parent =?UTF-8?B?VGhvbWFzIEvDvGhuZQ==?= <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

BCS schrieb:
 In article <pan.2005.09.10.19.51.39.448610 teqdruid.com>, John Demme says...
 
If your GDB doesn't support DW_LANG_D (it probably doesn't) then compile
it yourself with my patch at:
http://svn.dsource.org/projects/gdb-patches/downloads/


-John Demme
I don’t have the ability to recompile GDB. Does anyone have a patched win32 binary I can copy? For that matter does anyone have a Linux binary I can copy?
The problem on the Linux side are the dependencies. I do have a binary copy but it is dynamically linked, thus it is almost guaranteed not to work on your system. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDKKcc3w+/yD4P9tIRApjZAJ0WS8ZSF7ZPvJ+B28ghfs2WUewrygCgqzTz eb4eJme1FtFKyvmEcHacq3c= =iHi3 -----END PGP SIGNATURE-----
Sep 14 2005
prev sibling next sibling parent reply Bastiaan Veelo <Bastiaan.N.Veelo ntnu.no> writes:
BCS wrote:
  For that matter does anyone have a Linux binary I can copy?
 
 
If you have the following libraries installed, my copy might work. Let me know and I can mail it to you (ca. 2.5 MB). linux-gate.so.1 libreadline.so.5 libncurses.so.5 libm.so.6 libdl.so.2 libc.so.6 libgpm.so.1 ld-linux.so.2 Bastiaan.
Sep 16 2005
parent reply BCS <BCS_member pathlink.com> writes:
I don't have any handy way to look for them. How about just send it and I'll try
it.
my e-mail (lightly obfuscated) is 


bshrop  not this.junk  uidaho period edu

thank in advance.


I would rely like a Win version if any one else has one



In article <dgeiko$q8r$1 digitaldaemon.com>, Bastiaan Veelo says...
BCS wrote:
  For that matter does anyone have a Linux binary I can copy?
 
 
If you have the following libraries installed, my copy might work. Let me know and I can mail it to you (ca. 2.5 MB). linux-gate.so.1 libreadline.so.5 libncurses.so.5 libm.so.6 libdl.so.2 libc.so.6 libgpm.so.1 ld-linux.so.2 Bastiaan.
Sep 16 2005
parent reply Bastiaan Veelo <Bastiaan.N.Veelo ntnu.no> writes:
BCS wrote:
 I don't have any handy way to look for them.
? You mean you don't know :-) Type "man locate" or "man find" for a start. They usually are in /lib.
 How about just send it and I'll try
 it.
OK. Are you sure you know how to use gdb? Bastiaan.
Sep 19 2005
parent BCS <BCS_member pathlink.com> writes:
OK I'm just lazy. 

Actually the hindrance is primarily that I have VARY limited access to the
systems in question. Thus my interest in a Win32 version.



In article <dglv91$18j0$1 digitaldaemon.com>, Bastiaan Veelo says...
BCS wrote:
 I don't have any handy way to look for them.
? You mean you don't know :-) Type "man locate" or "man find" for a start. They usually are in /lib.
 How about just send it and I'll try
 it.
OK. Are you sure you know how to use gdb? Bastiaan.
Sep 19 2005
prev sibling parent reply Philippec <philly_dilly hotmail.com> writes:
You can always find binaries for win32 at 
http://www.mingw.org/download.shtml
they're not always the latest but you can always go with candidates. Either
way, I found that using mingw's gdb with gdc to be the easiest way to make D
code, specially that codeblocks has builtin in gdb support which actually lets
debug d code from the ide.

BCS Wrote:

 In article <pan.2005.09.10.19.51.39.448610 teqdruid.com>, John Demme says...
If your GDB doesn't support DW_LANG_D (it probably doesn't) then compile
it yourself with my patch at:
http://svn.dsource.org/projects/gdb-patches/downloads/


-John Demme
I don’t have the ability to recompile GDB. Does anyone have a patched win32 binary I can copy? For that matter does anyone have a Linux binary I can copy?
May 09 2007
next sibling parent BCS <ao pathlink.com> writes:
Reply to Philippec,

 You can always find binaries for win32 at
 http://www.mingw.org/download.shtml
 they're not always the latest but you can always go with candidates.
 Either way, I found that using mingw's gdb with gdc to be the easiest
 way to make D code, specially that codeblocks has builtin in gdb
 support which actually lets debug d code from the ide.
 BCS Wrote:
 
 In article <pan.2005.09.10.19.51.39.448610 teqdruid.com>, John Demme
 says...
 
 If your GDB doesn't support DW_LANG_D (it probably doesn't) then
 compile it yourself with my patch at:
 http://svn.dsource.org/projects/gdb-patches/downloads/
 
 -John Demme
 
I don’t have the ability to recompile GDB. Does anyone have a patched win32 binary I can copy? For that matter does anyone have a Linux binary I can copy?
1) I was looking for a GDB patched with the D dwarf patch 2) that's a 2 year old post
May 09 2007
prev sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Philippec wrote:
 You can always find binaries for win32 at 
 http://www.mingw.org/download.shtml
 they're not always the latest but you can always go with candidates. Either
way, I found that using mingw's gdb with gdc to be the easiest way to make D
code, specially that codeblocks has builtin in gdb support which actually lets
debug d code from the ide.
Even the candidates are from over a year ago. The only place I know you can get a recent gcc for Windows is from this place here: http://inkscape.modevia.com/win32_inkscape_org/ Namely: http://inkscape.modevia.com/win32_inkscape_org/mingw411-060525.zip I've been told that mingw is pretty easy to build from source, but I tried and failed so it's not *that* easy. --bb
May 09 2007