This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]