Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Customizing GDB Launch

How does this approach handle interrupting the remote process to wake up GDB (for manual pause, setting new breakpoints, etc)?

 

When I glued together a gdb-over-ssh scheme for Eclipse, I ended up having to modify starter.exe to send a string command that triggered my gdb wrapper on the other side to interrupt the target process. (Not pretty.)

 

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Joseph Henry
Sent: Tuesday, May 20, 2014 4:17 PM
To: CDT General developers list.
Subject: EXTERNAL: Re: [cdt-dev] Customizing GDB Launch

 

I was able to get this working by following some of the documentation listed in: http://wiki.eclipse.org/CDT/cdt-debug-dsf-gdb-extensibility and http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_choose_another_debugger_integration_for_CDT.3F

 

Thanks,

Joseph Henry.

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
Sent: Tuesday, May 20, 2014 4:08 PM
To: 'CDT General developers list.'
Subject: Re: [cdt-dev] Customizing GDB Launch

 

Hi,

 

we don’t use extension points in DSF (yet?)  As usual though, the way to extend things is to override one or more of the DSF services.

 

In this case, the IGDBBackend service was added to help do what you want.  By overriding this interface, you should be able to properly handle a GDB session launched over ssh.

 

Marc

 

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Joseph Henry
Sent: Wednesday, May 07, 2014 4:42 PM
To: CDT General developers list.
Subject: [cdt-dev] Customizing GDB Launch

 

Hi guys,

 

I want to be able to customize the gdb launch to invoke gdb over ssh instead of locally.

 

I found this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=240092 and it seems that this bug fix adds the functionality that I need, but I don’t really know where to start.

 

Is there an extension point that I use in order to provide my own GDBBackend implementation?

 

Thanks,

Joseph Henry.


Back to the top