GDB hang on "run"

Uri Moszkowicz <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAMJd5ATLRMPfJibDbJHr_pQBQN1=RW5-QTmJWTNJ0d_6_PkNhw@mail.gmail.com>
Hi,
Lately gdb has been hanging for me when running my executable. I'm using
GDB 8.1 but it occurs with older versions as well. Here's what I see:

(gdb) source run.gdb
Temporary breakpoint 1 at 0xbaf645: file <path>/<file>.cc, line 3501.
^CTraceback (most recent call last):
  File "/<path>/gcc-6.2.0/redhat6/lib64/libstdc++.so.6.0.22-gdb.py", line
18, in <module>
    import gdb
ImportError: No module named gdb

What I see is a hang right before the Traceback message, that's only
bypassed by sending a SIGINT. Anyone know why this might be and what I can
do to avoid it? Or tips on how to debug this problem?

Thanks,
Uri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.