From owner-freebsd-emulation Sat Jun 30 11:37:19 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from fbsd1.gh.org (ppp4.emsphone.com [199.67.51.53]) by hub.freebsd.org (Postfix) with ESMTP id 63F0B37B92D for ; Sat, 30 Jun 2001 10:09:44 -0700 (PDT) (envelope-from scotth@fbsd1.gh.org) Received: (from scotth@localhost) by fbsd1.gh.org (8.9.3/8.9.3) id MAA00310; Sat, 30 Jun 2001 12:10:17 -0500 (CDT) (envelope-from scotth) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010629222530.C69846@peorth.iteration.net> Date: Sat, 30 Jun 2001 12:10:16 -0500 (CDT) From: "Scott T. Hildreth" To: "Michael C . Wu" Subject: Re: Debugging Linux C code Cc: emulation@FreeBSD.ORG Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Okay thanks Michael. I mostly use Perl, and the debugger works with Linux Perl as well. I thought I would check if there was a way to use the Linux gdb...of course there is always printf()'s for debugging :-) On 30-Jun-01 Michael C . Wu wrote: > On Fri, Jun 29, 2001 at 05:57:23PM -0500, Scott T. Hildreth scribbled: >| Linux gcc? I tried running gdb and it works, but you cannot >| set breakpoints. The ptrace syscall is not implemented in >| the kernel emulation. I am compiling some Oracle - C apps >| and would like to debug them interactively. > > It really is not designed with debugging in mind. Your best > bet would be to use a linux box to write your code. > -- > +-----------------------------------------------------------+ >| keichii@iteration.net | keichii@freebsd.org | >| http://iteration.net/~keichii | Yes, BSD is a conspiracy. | > +-----------------------------------------------------------+ ---------------------------------- E-Mail: Scott T. Hildreth Date: 30-Jun-01 Time: 12:06:00 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message