From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075324106777.tru64-unix-managers.marc@archive.invalid> From: Wade Smith Date: Thu, 26 Oct 1995 18:45:31 +0000 To: tru64-unix-managers Subject: SUMMARY: gdb 4.1[345] alpha-dec-osf3.0 fails to stop at breakpoints X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075324106777 My original problem: >Has anyone gotten gdb-4.1[345] working on DEC OSF1/V3.0? It builds without >error using either dec cc or gcc (up to v2.7.0), but when I actually use it, >it won't stop at any breakpoints. It seems to list the correct address for >the breakpoint, but upon running the debugged program, it continues till >exit, and then prints out the message: > > Program exited normally. > You can't do that without a process to debug > >Any ideas what's happening here? Am I missing some critical patches or >special configuration setup? It detects what appears to be the appropriate >version "alpha-dec-osf3.0" at configuration time. I have a DEC 3000 Model >800 AXP. I received two responses and ultimately got the solution to the problem. Apparently, there is a known problem on Solaris machines involving the use of tcsh with gdb that results in the same difficulty, that of not stopping at breakpoints. It appears to also apply to OSF/1 3.0. The solution is to set the SHELL environment variable to "/bin/sh" before running gdb. It works like a charm. I haven't yet looked closely at the gdb code to determine why this is happening. Many thanks to those who replied: Dave Winfried Huber ---------------------------------------------------------------------- Wade K. Smith Chromatic Research, Inc. Internet: wsmith@chromatic.com 800A East Middlefield Road Phone: (415) 254-0123 Mountain View, California 94043