projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* dbxread.c (process_one_symbol): Check for null string directly
[binutils-gdb.git]
/
gdb
/
partial-stab.h
diff --git
a/gdb/partial-stab.h
b/gdb/partial-stab.h
index c51f091f1d45b711396d055dfc056611f979fee8..551ee7149ea8c9da09a397e2e72493cf63072c4f 100644
(file)
--- a/
gdb/partial-stab.h
+++ b/
gdb/partial-stab.h
@@
-382,7
+382,7
@@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifdef DBXREAD_ONLY
/* See if this is an end of function stab. */
- if (CUR_SYMBOL_TYPE == N_FUN &&
! strcmp (namestring, "")
)
+ if (CUR_SYMBOL_TYPE == N_FUN &&
*namestring == '\000'
)
{
unsigned long valu;