Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.UUCP Newsgroups: net.micro.att,net.unix Subject: Re: Cannot set breakpoint with 'sdb' on 3b2 Message-ID: <2235@brl-smoke.ARPA> Date: Mon, 31-Mar-86 05:43:22 EST Article-I.D.: brl-smok.2235 Posted: Mon Mar 31 05:43:22 1986 Date-Received: Wed, 2-Apr-86 03:15:10 EST References: <424@chinet.UUCP> Reply-To: gwyn@brl.ARPA Organization: Ballistic Research Lab (BRL) Lines: 13 Xref: watmath net.micro.att:1058 net.unix:7518 In article <424@chinet.UUCP> djc@chinet.UUCP (David J. Carpenter) writes: >I have been using the sdb debugger on some software that I have been >developing, and one day a problem appeared and has stayed ever since. I cannot >set a breakpoint and then run the program. Here's what I get: >--> r arg >Cannot set breakpoint: main:1 @ -2139094762 >[and then the program runs without stopping at main...] Usually this means that your executable file is "shared text" (ld -n option); the assumption is that changing the text would cause trouble for somebody else who happens to be trying to run it at the same time. There is no reason things have to be this way, and as I recall the Eighth Edition fixed this.