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 | |
parent | 2bb2d727c1a0724b85265e77ecd174168ccc1593 (diff) | |
download | gdb-7f67d4c98a7efc189145ba077f968ef626c9c748.zip gdb-7f67d4c98a7efc189145ba077f968ef626c9c748.tar.gz gdb-7f67d4c98a7efc189145ba077f968ef626c9c748.tar.bz2 |
* budemang.c (demangle): Fix thinko.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 2 | ||||
-rw-r--r-- | binutils/budemang.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 7ba39be..50cc69b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,7 @@ 2004-10-18 Alan Modra <amodra@bigpond.net.au> + * budemang.c (demangle): Fix thinko. + * budemang.c (demangle): Handle "@plt" suffix. 2004-10-14 Nick Clifton <nickc@redhat.com> 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, '@'); |