diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-08-30 15:15:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-08-30 15:15:09 +0000 |
commit | f43a7782d0c761e6494c4018bcf0bfc1f5eb02ed (patch) | |
tree | e7938bdc3d617d3a0326611b6d5609c5464a5dda /gprof/gprof.c | |
parent | 87dc33c317a306563ff6344ca4b52b5bc95bed78 (diff) | |
download | gdb-f43a7782d0c761e6494c4018bcf0bfc1f5eb02ed.zip gdb-f43a7782d0c761e6494c4018bcf0bfc1f5eb02ed.tar.gz gdb-f43a7782d0c761e6494c4018bcf0bfc1f5eb02ed.tar.bz2 |
* gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
__gnu_compiled, for the benefit of systems which add a leading
underscore.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r-- | gprof/gprof.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c index 301da69..15eb7fd 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -777,7 +777,8 @@ funcsymbol( symp ) /* Gcc may add special symbols to help gdb figure out the file language. We want to ignore these, since sometimes they mask the real function. (dj@ctron) */ - || !strncmp (symp->name, "__gnu_compiled", 14)) + || !strncmp (symp->name, "__gnu_compiled", 14) + || !strncmp (symp->name, "___gnu_compiled", 15)) return FALSE; return TRUE; |