From owner-freebsd-stable Wed Jul 3 01:42:21 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA18892 for stable-outgoing; Wed, 3 Jul 1996 01:42:21 -0700 (PDT) Received: from ref.tfs.com ([206.245.251.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA18887 for ; Wed, 3 Jul 1996 01:42:19 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by ref.tfs.com (8.7.5/8.7.3) with SMTP id BAA27929 for ; Wed, 3 Jul 1996 01:35:27 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0ubK2t-000QbpC; Wed, 3 Jul 96 07:00 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id GAA23785 for freebsd-stable@freebsd.org; Wed, 3 Jul 1996 06:50:59 +0200 Message-Id: <199607030450.GAA23785@allegro.lemis.de> Subject: gdb broken in latest -stable? To: freebsd-stable@freebsd.org (FreeBSD Stable Users) Date: Wed, 3 Jul 1996 06:50:59 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've run into a strange problem on -stable: I can't even start programs under gdb: # gdb add 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... Breakpoint 1 at 0x1646: file add.c, line 9. (gdb) r Starting program: /usr/home/grog/add Program terminated with signal SIGBUS, Bus error. The program no longer exists. You can't do that without a process to debug (gdb) b start Breakpoint 2 at 0x1040 (gdb) r Starting program: /usr/home/grog/add Program terminated with signal SIGBUS, Bus error. The program no longer exists. You can't do that without a process to debug (gdb) This works just fine with -current. (gdb) b main Breakpoint 1 at 0x1646: file add.c, line 9. (gdb) r Starting program: /usr/home/grog/add Breakpoint 1, main (argc=1, argv=0xefbfd40c) at add.c:9 9 unsigned long sum = 0; (gdb) The program itself is trivial, I've just recompiled it, and in any case, it doesn't seem to have anything to do with the program. If I try running -stable gdb under -current, I get: (gdb) b main Breakpoint 1 at 0x1646: file add.c, line 9. (gdb) r Starting program: /usr/home/grog/add reading register eip (#8): Bad address. (gdb) I don't know whether this is related to the problem, or whether it's because of a mismatch between the kernels. If this is a general problem, I'd say it's a showstopper. Greg