OSDN Git Service

2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
authorpmuldoon <pmuldoon>
Thu, 8 Apr 2010 10:28:41 +0000 (10:28 +0000)
committerpmuldoon <pmuldoon>
Thu, 8 Apr 2010 10:28:41 +0000 (10:28 +0000)
commit63028010bc3609bac9b952268e2c297929684ce6
tree104b180e8c0fb7b342d8114d5a38d34843dc41cf
parent5ca3f9c8b850bf04ef9e625abc168218bf2c4718
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