How to set a breakpoint in file, which name has spaces?

Daniel Jacobowitz drow@false.org
Fri Aug 11 13:48:00 GMT 2006


On Fri, Aug 11, 2006 at 03:55:40PM +0300, Eli Zaretskii wrote:
> > Date: Thu, 10 Aug 2006 22:26:55 -0700
> > From: Nikolay Molchanov <Nikolay.Molchanov@Sun.COM>
> > Cc: gdb@sourceware.org
> > 
> > I hope we will never need to set a breakpoint in a file,
> > which name has double quotes :-)
> 
> MS-Windows filesystems don't allow file names with double quotes, so
> you needn't worry about that.
> 
> Daniel, should we update the manual in some way, or is this a bug that
> should be fixed?

That's a good question :-)  This all comes down to decode_line_1.  The
question of whether to change its parsing or document its quirks is
beyond me, I'm afraid.  I'm reluctant to try touching that code.

I wonder if, for some major version bump, we should document a new
syntax for referring to source locations and implement it from
scratch?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list