This is the mail archive of the gdb-patches@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: [PATCH v2] Do not manipulate "target:" filenames as local paths


Doug Evans wrote:
> Gary Benson writes:
> > 
> > This patch alters two places that manipulate object file filenames
> > to detect "target:" filenames and to not attempt to manipulate them
> > as paths on the local filesystem:
> > 
> >  - allocate_objfile is updated to not attempt to expand "target:"
> >    filenames with gdb_abspath.
> > 
> >  - load_auto_scripts_for_objfile is updated to not attempt to load
> >    auto-load scripts for object files with "target:" filenames.
> > 
> > Built and regtested on RHEL6.6 x86_64.
> > 
> > Ok to commit?
> > 
> > gdb/ChangeLog:
> > 
> > 	* objfiles.c (allocate_objfile): Do not attempt to expand name
> > 	if name is a "target:" filename.
> > 	* auto-load.c (load_auto_scripts_for_objfile): Do not attempt
> > 	to load auto-load scripts for objfiles with "target:" filenames.
> 
> Thanks for the ping.
> 
> LGTM.

Thanks Doug, I pushed it.

Cheers,
Gary

-- 
http://gbenson.net/


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