diff options
author | Alan Modra <amodra@gmail.com> | 2004-10-18 07:26:30 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-10-18 07:26:30 +0000 |
commit | 7f67d4c98a7efc189145ba077f968ef626c9c748 (patch) | |
tree | f3a1ebd38e21ef82a70219fdeb0f625d6df2d95f /binutils/budemang.c | |
parent | 2bb2d727c1a0724b85265e77ecd174168ccc1593 (diff) | |
download | gdb-7f67d4c98a7efc189145ba077f968ef626c9c748.zip gdb-7f67d4c98a7efc189145ba077f968ef626c9c748.tar.gz gdb-7f67d4c98a7efc189145ba077f968ef626c9c748.tar.bz2 |
* budemang.c (demangle): Fix thinko.
Diffstat (limited to 'binutils/budemang.c')
-rw-r--r-- | binutils/budemang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/budemang.c b/binutils/budemang.c index c992570..bd50083 100644 --- a/binutils/budemang.c +++ b/binutils/budemang.c @@ -52,7 +52,7 @@ demangle (bfd *abfd, const char *name) pre = name; while (*name == '.') ++name; - pre_len = pre - name; + pre_len = name - pre; alloc = NULL; suf = strchr (name, '@'); |