From owner-freebsd-current Mon Jan 22 16:57:43 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA06890 for current-outgoing; Mon, 22 Jan 1996 16:57:43 -0800 (PST) Received: from crlabs.com (CRLABS.COM [146.99.201.129]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA06854 for ; Mon, 22 Jan 1996 16:57:26 -0800 (PST) Received: (from cwiener@localhost) by crlabs.com (8.7.3/8.7.3) id TAA07252 for freebsd-current@freefall.cdrom.com; Mon, 22 Jan 1996 19:57:24 -0500 (EST) From: Chris Wiener Message-Id: <199601230057.TAA07252@crlabs.com> Subject: GDB error accessing memory address - Current To: freebsd-current@freefall.FreeBSD.org Date: Mon, 22 Jan 1996 19:57:23 -0500 (EST) X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG Precedence: bulk I'm getting an error when attempting to set breakpoints using GDB under 2.2 Current. The last make world I did was on Dec 31st. I rebuilt GDB yesterday after getting the error shown below, but this did not help. Is this operator error, or a real problem? Chris crlabs# cat hello.c #include main () { printf("Hello world.\n"); } crlabs# cc -static -g -o hello hello.c crlabs# gdb hello 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 0x10a8: file hello.c, line 5. (gdb) r Starting program: /hello Cannot insert breakpoint 1: Error accessing memory address 0x10a8: Operation not permitted. (gdb) quit The program is running. Quit anyway (and kill it)? (y or n) y crlabs# exit Script done on Mon Jan 22 19:47:03 1996 -- Christopher Wiener N2CR CR Labs, Morris Plains, NJ DOMAIN: cwiener@CRLABS.COM "Live music is better ... bumper stickers should be issued." - Neil Young