From owner-freebsd-questions Wed Oct 4 10:01:37 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id KAA25273 for questions-outgoing; Wed, 4 Oct 1995 10:01:37 -0700 Received: from mail1.digital.com (mail1.digital.com [204.123.2.50]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id KAA25267 ; Wed, 4 Oct 1995 10:01:34 -0700 Received: from rks32.pcs.dec.com by mail1.digital.com; (5.65 EXP 4/12/95 for V3.2/1.0/WV) id AA05563; Wed, 4 Oct 1995 09:46:23 -0700 Received: by rks32.pcs.dec.com (Smail3.1.27.1 #16) id m0t0Wr1-0005OqC; Wed, 4 Oct 95 17:39 MEZ Message-Id: To: questions%freebsd.org@inet-gw-1.pa.dec.com Cc: current%freebsd.org@inet-gw-1.pa.dec.com Subject: Re: gdb problem? libraries, perhaps? Reply-To: gj@freebsd.org Date: Wed, 04 Oct 95 16:39:34 GMT From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" Sender: owner-questions@freebsd.org Precedence: bulk Raoul Golan wrote: > raoul@pogo[36]: /cdrom/usr/bin/gcc -g mytest.c > > raoul@pogo[36]: /cdrom/usr/bin/gdb a.out > 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.13 (i386-unknown-freebsd), > Copyright 1994 Free Software Foundation, Inc... > (gdb) run > Starting program: /usr/home/raoul/test/a.out > Error accessing memory address 0x6d7884: Invalid argument. > (gdb) quit > > And this happens for whatever program I try to compile. and I just tried this under -current (with the same short test prog. posted by Raoul) and got: bash$ cc -g t.c bash$ gdb a.out 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.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... (gdb) b main Breakpoint 1 at 0x16cb: file t.c, line 4. (gdb) r Starting program: /tmp/a.out reading register eip (#8): Bad address. (gdb) Huh ?!? What's this sh*t ? When did this start to happen ? Who changed what where ? Mommy ! I'll try to look into it. Gary J