diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-09 22:22:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-09 22:22:40 +0000 |
commit | 31deffe5b62f2e046620ec3928855450594ead63 (patch) | |
tree | a797658d4185eff98ef927faba63de00353f6df8 | |
parent | 2692ddb35822995be2652cb528418ac14c716799 (diff) | |
download | gdb-31deffe5b62f2e046620ec3928855450594ead63.zip gdb-31deffe5b62f2e046620ec3928855450594ead63.tar.gz gdb-31deffe5b62f2e046620ec3928855450594ead63.tar.bz2 |
2002-12-09 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (gdbarch_dump): Print NAME_OF_MALLOC using %s.
* gdbarch.c: Re-generate.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbarch.c | 4 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 17c9428..a97b3bd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-12-09 Andrew Cagney <cagney@redhat.com> + + * gdbarch.sh (gdbarch_dump): Print NAME_OF_MALLOC using %s. + * gdbarch.c: Re-generate. + 2002-12-09 David Carlton <carlton@math.stanford.edu> * p-exp.y: Rename TRUE and FALSE to TRUEKEYWORD and FALSEKEYWORD. diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 9126a03..a6841b1 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -1684,8 +1684,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) "gdbarch_dump: NAME_OF_MALLOC # %s\n", XSTRING (NAME_OF_MALLOC)); fprintf_unfiltered (file, - "gdbarch_dump: NAME_OF_MALLOC = %ld\n", - (long) NAME_OF_MALLOC); + "gdbarch_dump: NAME_OF_MALLOC = %s\n", + NAME_OF_MALLOC); #endif #ifdef NPC_REGNUM fprintf_unfiltered (file, diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index ee1c815..19be5da 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -672,7 +672,7 @@ m::CONSTRUCT_INFERIOR_ARGUMENTS:char *:construct_inferior_arguments:int argc, ch F:2:DWARF2_BUILD_FRAME_INFO:void:dwarf2_build_frame_info:struct objfile *objfile:objfile:::0 f:2:ELF_MAKE_MSYMBOL_SPECIAL:void:elf_make_msymbol_special:asymbol *sym, struct minimal_symbol *msym:sym, msym:::default_elf_make_msymbol_special::0 f:2:COFF_MAKE_MSYMBOL_SPECIAL:void:coff_make_msymbol_special:int val, struct minimal_symbol *msym:val, msym:::default_coff_make_msymbol_special::0 -v::NAME_OF_MALLOC:const char *:name_of_malloc::::"malloc":"malloc"::0 +v::NAME_OF_MALLOC:const char *:name_of_malloc::::"malloc":"malloc"::0:%s:NAME_OF_MALLOC v::CANNOT_STEP_BREAKPOINT:int:cannot_step_breakpoint::::0:0::0 v::HAVE_NONSTEPPABLE_WATCHPOINT:int:have_nonsteppable_watchpoint::::0:0::0 F:2:ADDRESS_CLASS_TYPE_FLAGS:int:address_class_type_flags:int byte_size, int dwarf2_addr_class:byte_size, dwarf2_addr_class |