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 /gdb/testsuite/ChangeLog | |
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 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ec01bff..c850604 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2013-12-10 Doug Evans <dje@google.com> + + * 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. + 2013-12-10 Andrew Burgess <aburgess@broadcom.com> * lib/gdb.exp (gdb_compile_shlib): Add call to get_compiler_info, |