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] testsuite: Simplify + make more safe sepdebug


> gdb/testsuite/
> 2010-04-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* gdb.base/break-interp.exp: Remove $exec.debug safety removal.
> 	* gdb.base/sepdebug.exp: Remove .debug subdirectory handling.  New
> 	variable different_dir. Move debugfile into a full directory pathname
> 	under DIFFERENT_DIR.
> 	* lib/gdb.exp (separate_debug_filename): Remove.
> 	(gdb_gnu_strip_debug): No longer call separate_debug_filename.  Remove
> 	variable debug_dir and mkdir of it.  Update function comments.

This does make sense to me - although I don't know off hand the reason
for having initially chosen to put the .debug file in a separate
directory. Maybe there is more to it.

The patch is fine for me, but let's give it a week to give people a chance
to object....

> +    # Use the first separate debug info file location searched by GDB so the
> +    # run cannot be breaken by some stale file searched with higher precedence.
                       ^^^^^^^ broken

-- 
Joel


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