Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » GDB : wildcard in the program arguments(Eclipse GDB : cannot escape wildcards in application arguments)
GDB : wildcard in the program arguments [message #693518] Wed, 06 July 2011 16:25 Go to next message
hermock  is currently offline hermock Friend
Messages: 6
Registered: July 2011
Junior Member
Hi,

I am trying to debug a test using the google test framework.
I want to run <my exe> with the arguments --gtest_color=false --gtest_filter=*${selected_text}*.*

In fact I suspect gdb to replace the * with what my working directory contains.
I tried --gtest_filter="*${selected_text}*.*" or --gtest_filter='*${selected_text}*.*'. It is still failling

In the application console I have the message:
<my exe>: No match.
In the gdb console I have :
warning: Can not parse XML OS data; XML support was disabled at compile time

If I remove the parameter containing the wildcards it works great and I can debug my application.

Thanks for your help and time.
Re: GDB : wildcard in the program arguments [message #696629 is a reply to message #693518] Thu, 14 July 2011 12:41 Go to previous message
hermock  is currently offline hermock Friend
Messages: 6
Registered: July 2011
Junior Member
The problem was solved by using single quote ' to escape the wildcard.
--gtest_filter='*${selected_text}*.*'
I cannot figure out why it failed the first time I tried it. Probably a misstyping.
Previous Topic:new autotools project plugin with parameters
Next Topic:How to view template classes in types hierarchy?
Goto Forum:
  


Current Time: Fri Apr 26 09:25:19 GMT 2024

Powered by FUDForum. Page generated in 0.03843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top