* SUMMARY: gdb 4.1[345] alpha-dec-osf3.0 fails to stop at breakpoints
@ 1995-10-26 18:45 Wade Smith
0 siblings, 0 replies; only message in thread
From: Wade Smith @ 1995-10-26 18:45 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-10-26 18:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-26 18:45 SUMMARY: gdb 4.1[345] alpha-dec-osf3.0 fails to stop at breakpoints Wade Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox