From owner-freebsd-current Sat May 23 09:25:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08580 for freebsd-current-outgoing; Sat, 23 May 1998 09:25:24 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08562 for ; Sat, 23 May 1998 09:25:20 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id JAA07992; Sat, 23 May 1998 09:25:08 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199805231625.JAA07992@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Doug Rabson cc: current@FreeBSD.ORG Subject: Re: gdb elf-binary? In-reply-to: Your message of "Sat, 23 May 1998 17:16:27 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 23 May 1998 09:25:08 -0700 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tnks a lot!! Amancio {root} gdb-elf foo 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 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc... (gdb) break main Breakpoint 1 at 0x8048137: file foo.c, line 3. (gdb) run Starting program: /tmp/foo Warning: imported path contains relative components Breakpoint 1, main () at foo.c:3 3 printf("hello elf"); (gdb) next 4 } (gdb) quit The program is running. Quit anyway (and kill it)? (y or n) y {root} file foo foo: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, not stripped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message