Thanks.
I am using GDB 6.8, I will use "break" instead "-break-insert".
Is this a bug?
Fiveight----- Original Message -----From: Eran IfrahTo: MinGW Users ListSent: Thursday, May 15, 2008 9:17 AMSubject: Re: [Mingw-users] How to use -break-insert command ?You cant, the GDB MI does not allow using names with spaces inside them - even when you enclose them with double quotes.
Only "break" command does.
Eran
On Thu, May 15, 2008 at 3:59 AM, fiveight <fiveight@xxxxxxx> wrote:
Hi All:
I'm using gdb/mi(MinGW) to debug my program.In my program,.There is a file named "a b.c"(there is a space between character 'a' and 'b').I want to insert a breakpoint in line 5 of this file. But when I enter command:
-break-insert a b.c:5
the output is:
&"mi_cmd_break_insert: Garbage following <location>\n"
^error,msg="mi_cmd_break_insert: Garbage following <location>"
enter command:
-break-insert "a b.c:5"
the output is:
&"Function \"a\" not defined in loaded symbols.\n"
^error,msg="Function \"a\" not defined in loaded symbols."
How can I use -break-insert command with a file which name contains space?
Thanks
Fiveight
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
--
Eran Ifrah
eran.ifrah@xxxxxxxxx
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ MinGW-users mailing list MinGW-users@xxxxxxxxxxxxxxxxxxxxx You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users