From: Kevin Buettner Date: Wed, 30 Aug 2000 20:35:26 +0000 (+0000) Subject: Applied patch from David Edelsohn . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a84337c9959f350e701586fbba11a154aa9bdb5;p=binutils-gdb.git Applied patch from David Edelsohn . --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7360e1ef6c..c21f3912610 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2000-08-30 David Edelsohn + + Patch applied by Kevin Buettner : + + * rs6000-nat.c (xcoff_relocate_symtab): Pass correct size + to xrealloc(). + 2000-08-29 Michael Snyder * valops.c (value_cast): Indentation fix-up. diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index f9a0b145ec5..6fa4560703f 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