Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] GDB remote connection - Terminate vs. Disconnect

Marc D is right.  But it goes further in the fact that even if you start a new process
from GDB and the press disconnect for that process, it will leave the process running.
At least this seems to work for a remote session.
Marc K

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Dumais
Sent: Monday, October 21, 2013 6:43 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] GDB remote connection - Terminate vs. Disconnect

Hi Martin,

Not an expert, but I think one difference is if you attach to an already running process.  In that case, "disconnect" will leave the process running but "terminate" will kill it.







Software developer

8500 Decarie
Ville Mount-Royal, Qc, Canada
Phone 514 345-7900 x45006


On 10/21/2013 05:25 AM, Oberhuber, Martin wrote:


quick question for the experts.

<!--[if !supportLists]-->          <!--[endif]-->In a GDB based connection, Terminate and Disconnect behaves in the same way.

Would you agree with the statement above ? I’ve tried to find a document regarding supported
features in GDB 7.1.a. I would like to provide an overview regarding what is supported by CDT / GDB.

We’re using a cross-gdb 7.1 connected to gdbserver –multi on the remote.

Thanks in advance


cdt-dev mailing list

Back to the top