Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 1998 09:25:08 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: gdb elf-binary? 
Message-ID:  <199805231625.JAA07992@rah.star-gate.com>
In-Reply-To: Your message of "Sat, 23 May 1998 17:16:27 BST." <Pine.BSF.3.95q.980523171529.15699G-100000@herring.nlsystems.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805231625.JAA07992>