Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Problem setting a breakpoint at a location containing spaces (using   MI)
@ 2009-02-12 19:02 Francois Chouinard
  2009-02-12 19:09 ` Robert Dewar
  2009-02-12 22:43 ` Tom Tromey
  0 siblings, 2 replies; 6+ messages in thread
From: Francois Chouinard @ 2009-02-12 19:02 UTC (permalink / raw)
  To: gdb

Hi,

I know this sounds supremely basic but, using MI, what would be the
syntax to insert a breakpoint when specifying a location containing
spaces?

E.g. (w/ gdb 6.8):

(gdb)
-break-insert "../src/DSF Hello World.c:16"
&"Function \"\" not defined.\n"
^error,msg="Function \"\" not defined."
(gdb)
-break-insert "../src/DSF\ Hello\ World.c:16"
&"Function \"\" not defined.\n"
^error,msg="Function \"\" not defined."
(gdb)
-break-insert "../src/DSF\\ Hello\\ World.c:16"
&"Function \"\" not defined.\n"
^error,msg="Function \"\" not defined."
(gdb)

It tried a few other variants (involving creative use of double quotes
and backslashes :-) but they didn't work either...

Is there a protocol limitation? I know it works well with CLI but I
wonder what is the correct variant to make it work with MI.

Also, wasn't it working in the past?

Thanks,
/fc


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-12 22:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-12 19:02 Problem setting a breakpoint at a location containing spaces (using MI) Francois Chouinard
2009-02-12 19:09 ` Robert Dewar
     [not found]   ` <578d90ee0902121323s30299358y326cb7776ec7f3be@mail.gmail.com>
2009-02-12 21:33     ` Francois Chouinard
2009-02-12 21:49       ` Francois Chouinard
2009-02-12 22:43 ` Tom Tromey
2009-02-12 22:50   ` Francois Chouinard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox