aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-09 14:12:52 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-09 14:12:52 +0000
commitaea8766f8c5e652d50f4a0515f9f6dfb56176617 (patch)
treee12aee8c9b34bd3c5ea31199ab25df73572b2692 /gdb/gdbarch.c
parent8da95a3048cad9615e407674f8da4e997eb8752f (diff)
downloadgdb-aea8766f8c5e652d50f4a0515f9f6dfb56176617.zip
gdb-aea8766f8c5e652d50f4a0515f9f6dfb56176617.tar.gz
gdb-aea8766f8c5e652d50f4a0515f9f6dfb56176617.tar.bz2
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. * valops.c (value_allocate_space_in_inferior): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index ef92a7e..af1488b 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -1035,14 +1035,9 @@ gdbarch_dump (struct gdbarch *current_gdbarch, struct ui_file *file)
fprintf_unfiltered (file,
"gdbarch_dump: memory_remove_breakpoint = <0x%lx>\n",
(long) current_gdbarch->memory_remove_breakpoint);
-#ifdef NAME_OF_MALLOC
- fprintf_unfiltered (file,
- "gdbarch_dump: NAME_OF_MALLOC # %s\n",
- XSTRING (NAME_OF_MALLOC));
-#endif
fprintf_unfiltered (file,
"gdbarch_dump: name_of_malloc = %s\n",
- NAME_OF_MALLOC);
+ current_gdbarch->name_of_malloc);
fprintf_unfiltered (file,
"gdbarch_dump: num_pseudo_regs = %s\n",
paddr_d (current_gdbarch->num_pseudo_regs));