Re: [Mingw-users] How to use -break-insert command ?
- Date: Thu, 15 May 2008 04:17:52 +0300
- From: "Eran Ifrah" <eran.ifrah@xxxxxxxxx>
- Subject: 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
- Follow-Ups:
- Re: [Mingw-users] How to use -break-insert command ?
- From: Fiveight
- Re: [Mingw-users] How to use -break-insert command ?
- References:
- Re: [Mingw-users] strtod is not C99-compatible
- From: Danny Smith
- [Mingw-users] Disassembly of stack frame
- From: fiveight
- [Mingw-users] Why does g++ not link with libstdc++?
- From: fiveight
- Re: [Mingw-users] Why does g++ not link with libstdc++?
- From: Dave Korn
- Re: [Mingw-users] Why does g++ not link with libstdc++?
- From: fiveight
- Re: [Mingw-users] Why does g++ not link with libstdc++?
- From: Dave Korn
- Re: [Mingw-users] Why does g++ not link with libstdc++?
- From: fiveight
- [Mingw-users] How to use -break-insert command ?
- From: fiveight
- Re: [Mingw-users] strtod is not C99-compatible
- Prev by Date: [Mingw-users] How to use -break-insert command ?
- Next by Date: [Mingw-users] windows ddk
- Previous by thread: [Mingw-users] How to use -break-insert command ?
- Next by thread: Re: [Mingw-users] How to use -break-insert command ?
- Index(es):