From: Tom Tromey <tromey@redhat.com>
To: Alan Modra <amodra@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Prepare gdb for 64-bit obstacks
Date: Mon, 04 Aug 2014 14:01:00 -0000 [thread overview]
Message-ID: <87ha1sqrq6.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20140804085229.GP23728@bubble.grove.modra.org> (Alan Modra's message of "Mon, 4 Aug 2014 18:22:29 +0930")
>>>>> "Alan" == Alan Modra <amodra@gmail.com> writes:
Alan> Also for another upstream obstack change, obstack_base() now returning
Alan> a void*. I didn't go wild with int -> size_t changes, making only
Alan> obvious changes close to obstack calls.
Alan> This patch of course also works with the existing libiberty obstacks.
Alan> OK to apply?
Alan> - printf_filtered (_(" Total memory used for objfile obstack: %d\n"),
Alan> + printf_filtered (_(" Total memory used for objfile obstack: %lu\n"),
Alan> + (unsigned long)
Alan> obstack_memory_used (&objfile->objfile_obstack));
Alan> - printf_filtered (_(" Total memory used for BFD obstack: %d\n"),
Alan> + printf_filtered (_(" Total memory used for BFD obstack: %lu\n"),
Alan> + (unsigned long)
Alan> obstack_memory_used (&objfile->per_bfd->storage_obstack));
It's more normal in gdb to use %s here along with pulongest (...).
Ok with that change.
thanks,
Tom
prev parent reply other threads:[~2014-08-04 14:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 8:52 Alan Modra
2014-08-04 14:01 ` Tom Tromey [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ha1sqrq6.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=amodra@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox