[patch] let gdb.base/reread.exp handle multiple binary files

Janis Johnson janisjo@codesourcery.com
Wed May 4 16:47:00 GMT 2011


Test gdb.base/reread.exp fails and reports ERROR for uClinux because it
renames binary files directly using "shell mv", and this doesn't take
into account the pair of binaries that are used for the bFLT format.

This patch moves the file commands into new procedures in lib/gdb.exp
that are used as defaults if the local environment doesn't override
them.

Tested on arm-none-linux-gnueabi as a platform that does not need
overrides.  OK?  I have an FSF copyright assignment for gdb.

Janis Johnson
CodeSourcery / Mentor Graphics
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb-20110504-1
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110504/37f0fd4c/attachment.ksh>


More information about the Gdb-patches mailing list