aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-08-30 20:35:26 +0000
committerKevin Buettner <kevinb@redhat.com>2000-08-30 20:35:26 +0000
commit3a84337c9959f350e701586fbba11a154aa9bdb5 (patch)
tree8cd2d120472ab96c1d05e58933eb9b4b6be2d0e9 /gdb/rs6000-nat.c
parentc6d805e091fae24d81dd3465d2e6449e0591358c (diff)
downloadgdb-3a84337c9959f350e701586fbba11a154aa9bdb5.zip
gdb-3a84337c9959f350e701586fbba11a154aa9bdb5.tar.gz
gdb-3a84337c9959f350e701586fbba11a154aa9bdb5.tar.bz2
Applied patch from David Edelsohn <dje@watson.ibm.com>.
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index f9a0b14..6fa4560 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -931,7 +931,7 @@ xcoff_relocate_symtab (unsigned int pid)
do
{
size = load_segs * ldisize;
- ldi = (void *) xrealloc (ldi, load_segs * size);
+ ldi = (void *) xrealloc (ldi, size);
#if 0
/* According to my humble theory, AIX has some timing problems and