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: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 2 May 2010 11:09:49 +0200
- Subject: Re: [patch] testsuite: Simplify + make more safe sepdebug
- References: <20100419122801.GA14177@host0.dyn.jankratochvil.net> <20100419162605.GT19194@adacore.com>
On Mon, 19 Apr 2010 18:26:05 +0200, Joel Brobecker wrote:
> > 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
Checked in, with your typo fix:
http://sourceware.org/ml/gdb-cvs/2010-05/msg00007.html
Thanks,
Jan