This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] testsuite: Simplify + make more safe sepdebug
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 19 Apr 2010 12:26:05 -0400
- Subject: Re: [patch] testsuite: Simplify + make more safe sepdebug
- References: <20100419122801.GA14177@host0.dyn.jankratochvil.net>
> 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