mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 09:35:23 +02:00
Show the gdb arguments when tracing.
This commit is contained in:
parent
18c0d5ab97
commit
011ed212ae
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-12-16 Mikhail Khodjaiants
|
||||
|
||||
Show the gdb arguments when tracing.
|
||||
|
||||
* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
|
||||
|
||||
2003-12-16 Mikhail Khodjaiants
|
||||
|
||||
Fix for PR 48870: Terminate gdb if attach to process fails.
|
||||
|
|
|
@ -329,6 +329,16 @@ public class MIPlugin extends Plugin {
|
|||
* @throws IOException
|
||||
*/
|
||||
protected Process getGDBProcess(String[] args) throws IOException {
|
||||
if ( getDefault().isDebugging() )
|
||||
{
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for ( int i = 0; i < args.length; ++i )
|
||||
{
|
||||
sb.append( args[i] );
|
||||
sb.append( ' ' );
|
||||
}
|
||||
getDefault().debugLog( sb.toString() );
|
||||
}
|
||||
final Process pgdb = ProcessFactory.getFactory().exec(args);
|
||||
Thread syncStartup = new Thread("GDB Start") {
|
||||
public void run() {
|
||||
|
|
Loading…
Add table
Reference in a new issue