aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-10-11 22:31:56 +0000
committerFred Fish <fnf@specifix.com>1996-10-11 22:31:56 +0000
commit693e9bf6555521945a6953eb978a90347c3d7cc6 (patch)
treeaec33f95d04ec0652f3d6d8229692fa37704e7f0 /gdb/partial-stab.h
parent63dc694d2956f245e42e525cf9d4e6958d4d4554 (diff)
downloadgdb-693e9bf6555521945a6953eb978a90347c3d7cc6.zip
gdb-693e9bf6555521945a6953eb978a90347c3d7cc6.tar.gz
gdb-693e9bf6555521945a6953eb978a90347c3d7cc6.tar.bz2
* dbxread.c (process_one_symbol): Check for null string directly
rather than using strcmp against "". * partial-stab.h: Ditto.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index c51f091..551ee71 100644
--- 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;