2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Thu, 8 Apr 2010 10:28:42 +0000 (10:28 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Thu, 8 Apr 2010 10:28:42 +0000 (10:28 +0000)
commitfff5cc649e7498fe4618557c13b1f98692c2d1f7
tree60b6492f3238f47765eb57efa905b6a230dc250c
parentf8c4f480201a0ec57a9b9597c0ed91e7594c462a
2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>

PR python/11417

* python/py-lazy-string.c (stpy_convert_to_value): Check for
          a NULL address.
  (gdbpy_create_lazy_string_object): Allow strings with a NULL
          address and a zero length.

2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-value: Add null string variable.
  (test_lazy_string): Test zero length, NULL address lazy
  strings.
gdb/ChangeLog
gdb/python/py-lazy-string.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-value.c
gdb/testsuite/gdb.python/py-value.exp
This page took 0.027312 seconds and 4 git commands to generate.