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 /gdb/gdbarch.c | |
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.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |