[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    PATCH: PowerPC simulator doesn't handle spaces in filenames
From:       mark () codesourcery ! com (Mark Mitchell)
Date:       2006-01-25 6:23:00
Message-ID: 43D71954.7070005 () codesourcery ! com
[Download RAW message or body]

Daniel Jacobowitz wrote:

> You've escaped backslashes, but what about double quotes?  I assume
> this eventually goes to parse_string_property.  It's not immediately
> obvious, but the unescaping loop there will unescape both backslashes
> and double quotes (see print_string).

Thanks for the quick review; good catch.

Updated thusly, which, I confirmed, works for a filename containing both
a space and a double-quote on x86_64-unknown-linux-gnu.

OK to apply?

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb.sim.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20060125/1bb25bd7/attachment.ksh>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic