diff options
author | Tom Tromey <tom@tromey.com> | 2016-09-30 15:43:40 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-10-05 10:31:34 -0600 |
commit | e742d386c480efa5229bc8b1887a7718f840a457 (patch) | |
tree | 682a971c8b8b2dbba575290ed55eec133c9a8aaa /ld/testsuite/ld-unique/unique.d | |
parent | 3e611445bf05fa20e0befa41afa42651d1983734 (diff) | |
download | gdb-e742d386c480efa5229bc8b1887a7718f840a457.zip gdb-e742d386c480efa5229bc8b1887a7718f840a457.tar.gz gdb-e742d386c480efa5229bc8b1887a7718f840a457.tar.bz2 |
PR gdb/20653 - small cleanup in string_to_explicit_location
This bug points out that string_to_explicit_location compares a char*
against '\0'; whereas comparing against NULL is more normal.
2016-10-05 Tom Tromey <tom@tromey.com>
PR breakpoints/20653:
* location.c (string_to_explicit_location): Use NULL, not '\0'.
Diffstat (limited to 'ld/testsuite/ld-unique/unique.d')
0 files changed, 0 insertions, 0 deletions