From owner-freebsd-current Wed Jan 21 04:03:40 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA18066 for current-outgoing; Wed, 21 Jan 1998 04:03:40 -0800 (PST) (envelope-from owner-freebsd-current) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA18061 for ; Wed, 21 Jan 1998 04:03:35 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id HAA00823; Wed, 21 Jan 1998 07:03:25 -0500 (EST) (envelope-from toor) Message-Id: <199801211203.HAA00823@dyson.iquest.net> Subject: Re: gdb problems In-Reply-To: from Gennady Sorokopud at "Jan 21, 98 01:41:49 pm" To: gena@NetVision.net.il (Gennady Sorokopud) Date: Wed, 21 Jan 1998 07:03:25 -0500 (EST) Cc: current@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Gennady Sorokopud said: > Hi! > > gdb does not seem to work on the latest freebsd-current: > > 13:37 root-ttyp2 Burka:/tmp#gcc -g a.c > 13:37 root-ttyp2 Burka:/tmp#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.16 (i386-unknown-freebsd), > Copyright 1996 Free Software Foundation, Inc... > (gdb) r > Starting program: /usr/tmp/a.out > Error accessing memory address 0x1087: Bad address. > (gdb) The program is running. Quit anyway (and kill it)? (y or n) y > 13:38 root-ttyp2 Burka:/tmp#cat a.c > void main(){} > > This is on todays current, with todays kernel and gdb , after a make world. > The same gdb appears to work fine with kernel from about a month ago. > > Any ideas? > Yes, there is a bug in vm_map. My private version of vm_map is too different to send you diffs. I'll commit a minimal fix today, if I cannot commit the entire set of fixes that I need to apply. BDE told me about this a week or so ago, and maybe I need to "just apply" the fix asap? -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig.