[RFA/python+doco/NEWS] Add gdb.Type.name attribute.

Joel Brobecker brobecker@adacore.com
Fri Jan 10 04:02:00 GMT 2014


> Hi Joel.  Today I happened to notice:
> 
> Joel> +gdb_test_no_output "source ${remote_python_file}"
> 
> ... this puts the full path to the .py file into the test name.
> 
> I think the test should specify a name that doesn't include a path,
> instead.
> 
> This same problem affects another new test,
> gdb.ada/pp-rec-component.exp.

Indeed, thanks for pointing it out. I fixed both instances with
the attached patches.

gdb/testsuite:

2014-01-10  Joel Brobecker  <brobecker@adacore.com>

        * gdb.ada/pp-rec-component.exp: Remove path from "source" test.

2014-01-10  Joel Brobecker  <brobecker@adacore.com>

        * gdb.python/py-pp-integral.exp: Remove path from "source" test.

Tested on x86_64-linux, after verifying that the gdb.sum no longer
shows the path for the "source" tests.

Pushed.
-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-path-from-gdb.python-py-pp-integral.exp-sourc.patch
Type: text/x-diff
Size: 1475 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20140110/83570fd1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Remove-path-from-gdb.ada-pp-rec-component.exp-source.patch
Type: text/x-diff
Size: 1607 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20140110/83570fd1/attachment-0001.bin>


More information about the Gdb-patches mailing list