aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:27:00 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:27:00 +0000
commitf8dcfc0affda04681b337c807c15d3c59badc33c (patch)
tree3404a10b5fe16b848829c5a59bcad4e8c63865a1 /gdb/valops.c
parentc56324e00105ce40f440d2b8052764b282cd1074 (diff)
downloadgdb-f8dcfc0affda04681b337c807c15d3c59badc33c.zip
gdb-f8dcfc0affda04681b337c807c15d3c59badc33c.tar.gz
gdb-f8dcfc0affda04681b337c807c15d3c59badc33c.tar.bz2
ChangeLog:
* gdbarch.sh (name_of_malloc): Remove. * gdbarch.c, gdbarch.h: Re-generate. * valops.c (value_allocate_space_in_inferior): Do not call gdbarch_name_of_malloc. doc/ChangeLog: * gdbint.texinfo (Target Conditionals): Remove documentation for gdbarch_name_of_malloc.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 1ab88ba..1f5f00b 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -170,8 +170,7 @@ struct value *
value_allocate_space_in_inferior (int len)
{
struct value *blocklen;
- struct value *val =
- find_function_in_inferior (gdbarch_name_of_malloc (current_gdbarch));
+ struct value *val = find_function_in_inferior ("malloc");
blocklen = value_from_longest (builtin_type_int, (LONGEST) len);
val = call_function_by_hand (val, 1, &blocklen);