From owner-freebsd-current Fri May 19 08:46:26 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA25124 for current-outgoing; Fri, 19 May 1995 08:46:26 -0700 Received: from kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA25117 for ; Fri, 19 May 1995 08:46:25 -0700 Received: from mailbox.mcs.com (Mailbox.mcs.com [192.160.127.87]) by kitten.mcs.com (8.6.10/8.6.9) with SMTP id KAA13558 for ; Fri, 19 May 1995 10:46:23 -0500 Received: by mailbox.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Fri, 19 May 95 10:37 CDT Received: by mercury.mcs.com (/\==/\ Smail3.1.28.1 #28.5) id ; Fri, 19 May 95 10:37 CDT Message-Id: Subject: What is wrong with gdb? To: current@FreeBSD.org Date: Fri, 19 May 1995 10:37:24 -0500 (CDT) From: "Lars Fredriksen" X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 632 Sender: current-owner@FreeBSD.org Precedence: bulk Hi, There seems to be a problem with gdb and breakpoints. If I set a breakpoint in a program, I have to hit (continue) once, which magically stops on the same breakpoint again, before I can step the code. Otherwise the PC gets a stack address, and gdb complains that it cannot set breakpoint 0 at addres 0xe. I'll see if I can come up with an explanation from looking at the code, but I figured the rest of you might want to know too. Lars -- ------------------------------------------------------------------- Lars Fredriksen fredriks@mcs.com (home) lars@fredriks.pr.mcs.net (home-home) fredriks@asiago.cs.wisc.edu