Re: [PATCH v2 00/36] Guile extension language for GDB

Doug Evans
2014-04-27T22:15:06Z

On Sun, Apr 20, 2014 at 9:58 AM, Tillmann Karras <tillmann@selfnet.de> wrote:
> Hi.
>
> This commit series (ed3ef33944c39d9a3cea72b9a7cef3c20f0e3461) breaks "gdb
> -ex r gdb" for me. The child gdb seems to hang without getting to the
> prompt. It works when compiling current master
> (8b5c7890e8bfa3360339c303599fe5b0c9faa848) with --with-guile=no.
>
> I'm on Arch Linux testing x86_64 using the gdb-git AUR package with
> options=(!libtool debug !strip).

Hi.
I went to the trouble of installing arch-linux in a vmplayer vm, and
trying to repro this.
I can't.

If you're running gdb under gdb, and the child gdb is hanging,
can you type Ctrl-C when it hangs, and then obtain a backtrace of the child gdb?

It's been suggested to give the following a try.
Does that fix things for you?

bash$ export GC_MARKERS=1

before starting gdb
It's a workaround for a libgc 7.4.0 bug.
I verified my arch-linux has libgc 7.4.0, but I may have just gotten lucky.