Date: Thu, 1 Dec 2005 00:04:21 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 656 ************************************************** Wednesday 30 November 2005 Number 656 ************************************************** Subjects for today 1 Re: OT apache .htaccess logs : Dave Saville" 2 How to use gdb : Dave Bamford 3 Re: How to use gdb : Dave Bamford **= Email 1 ==========================** Date: Tue, 29 Nov 2005 13:05:52 +0000 (GMT) From: "Dave Saville" Subject: Re: OT apache .htaccess logs Thanks Ian - Just what I wanted. -- Regards Dave Saville **= Email 2 ==========================** Date: Wed, 30 Nov 2005 10:39:47 +0000 From: Dave Bamford Subject: How to use gdb Is it possible to use gdb with OS2. If I try I get this [D:\boxbackup-0.09\debug\bin\bbackupd]gdb bbackupd GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (emx), Copyright 1996 Free Software Foundation, Inc... "d:/boxbackup-0.09/debug/bin/bbackupd/bbackupd.exe": not in executable format: F ile format not recognized all the code was compile with the -g option Thanks Dave Bamford. **= Email 3 ==========================** Date: Wed, 30 Nov 2005 12:06:49 +0000 From: Dave Bamford Subject: Re: How to use gdb OK I found out your don't use the .exe to run gdb. But I can't make it work sensibly. I put breaks on lines I know get executed (printf) and it doesn't break. Then I get Segmentation errors. Is this version suitable for use with code compiled with 3.3.5? It seems very old, GDB Version 6.4.50.20051130 is the latest edition. Dave Dave Bamford wrote: > Is it possible to use gdb with OS2. If I try I get this > > [D:\boxbackup-0.09\debug\bin\bbackupd]gdb bbackupd > GDB is free software and you are welcome to distribute copies of it > under certain conditions; type "show copying" to see the conditions. > There is absolutely no warranty for GDB; type "show warranty" for > details. > GDB 4.16 (emx), Copyright 1996 Free Software Foundation, Inc... > > "d:/boxbackup-0.09/debug/bin/bbackupd/bbackupd.exe": not in executable > format: F > ile format not recognized > > all the code was compile with the -g option > > Thanks > > Dave Bamford. > >