[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debug question
From: |
Niels Grewe |
Subject: |
Re: debug question |
Date: |
Wed, 16 Sep 2020 07:44:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
Hi Daniel,
On 15.09.20 22:45, Daniel Boyd wrote:
>
> [Inferior 1 (process 29596) exited with code 03]
>
> (gdb) bt
>
> No stack.
What's happening here is that the process you are debugging is spawning
a different process and gdb stays in the parent process you can change
this by calling
> set follow-fork-mode child
prior to running the program in gdb. Hope that helps.
Cheers,
Niels
- debug question, Daniel Boyd, 2020/09/15
- Re: debug question,
Niels Grewe <=