aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-01 20:37:15 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-01 20:37:15 +0000
commitade40d3153e344521d48bddf744bc2b8a1792d06 (patch)
tree318ffdf6c80d39146d86792845cb02d36260e9d9 /gdb/stabsread.c
parente96d50d03cdcd0629a93898ab7a740e98cdc7f86 (diff)
downloadgdb-ade40d3153e344521d48bddf744bc2b8a1792d06.zip
gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.gz
gdb-ade40d3153e344521d48bddf744bc2b8a1792d06.tar.bz2
bcopy -> memcpy
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index f57bf8f..2a5b972 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -547,9 +547,11 @@ define_symbol (valu, string, desc, type, objfile)
SYMBOL_LANGUAGE (sym) = current_subfile -> language;
SYMBOL_NAME (sym) = (char *)
obstack_alloc (&objfile -> symbol_obstack, ((p - string) + 1));
- /* Open-coded bcopy--saves function call time. */
+ /* Open-coded memcpy--saves function call time. */
/* FIXME: Does it really? Try replacing with simple strcpy and
try it on an executable with a large symbol table. */
+ /* FIXME: considering that gcc can open code memcpy anyway, I
+ doubt it. xoxorich. */
{
register char *p1 = string;
register char *p2 = SYMBOL_NAME (sym);