diff options
author | Doug Evans <dje@google.com> | 2013-12-10 16:20:08 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-12-10 16:20:08 -0800 |
commit | 0987cf351276271164c94b3bc8ca54482573bda4 (patch) | |
tree | 6f5e90b28a6fcbdadcfd1a29c56c3ac5b8fde3df /mkinstalldirs | |
parent | 34dc884e1711a3d00c6815bf32aa5823390ff1f6 (diff) | |
download | gdb-0987cf351276271164c94b3bc8ca54482573bda4.zip gdb-0987cf351276271164c94b3bc8ca54482573bda4.tar.gz gdb-0987cf351276271164c94b3bc8ca54482573bda4.tar.bz2 |
PR 16286
* c-lang.c (c_get_string): Ignore the declared size of the object
if a specific length is requested.
testsuite/
* gdb.python/py-value.c: #include stdlib.h, string.h.
(str): New struct.
(main): New local xstr.
* gdb.python/py-value.exp (test_value_in_inferior): Add test to
fetch a value as a string with a length beyond the declared length
of the array.
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions