diff options
author | Tom Tromey <tom@tromey.com> | 2016-10-24 12:06:39 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-10-24 12:06:39 +0100 |
commit | 909de2c5cc91b815d671f7018da2a925fbd19aaf (patch) | |
tree | 09eeea91976d17dca8dba2a1747dafe6ed2b422b /gdb/top.c | |
parent | a945860b6cb4f8a26343ac5dcb0b42fe5fb2f68a (diff) | |
download | gdb-909de2c5cc91b815d671f7018da2a925fbd19aaf.zip gdb-909de2c5cc91b815d671f7018da2a925fbd19aaf.tar.gz gdb-909de2c5cc91b815d671f7018da2a925fbd19aaf.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-24 Tom Tromey <tom@tromey.com>
PR breakpoints/20653:
* location.c (string_to_explicit_location): Use NULL, not '\0'.
Diffstat (limited to 'gdb/top.c')
0 files changed, 0 insertions, 0 deletions