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.
This commit is contained in:
Ulrich Weigand 2008-09-11 14:27:00 +00:00
parent c56324e001
commit f8dcfc0aff
7 changed files with 13 additions and 35 deletions

View file

@ -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);