From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: Kevin Buettner <kevinb@redhat.com>
Subject: Re: [RFC] rx sim: Print load statistics
Date: Fri, 02 Mar 2012 03:21:00 -0000 [thread overview]
Message-ID: <201203012221.15043.vapier@gentoo.org> (raw)
In-Reply-To: <20120301173842.3802cca3@mesquite.lan>
[-- Attachment #1: Type: Text/Plain, Size: 812 bytes --]
On Thursday 01 March 2012 19:38:42 Kevin Buettner wrote:
> The patch below updates the rx sim to print load statistics. I.e.
> instead of printing nothing when the gdb "load" command is invoked,
> it'll now do something like this:
blah, just re-implementing more and more of common :/
> --- sim/rx/gdb-if.c 4 Jan 2012 08:28:24 -0000 1.13
> +++ sim/rx/gdb-if.c 2 Mar 2012 00:30:36 -0000
>
> if (abfd)
> {
> - rx_load (abfd);
> + rx_load (abfd, 0);
these should be NULL rather than 0 for pointers
> --- sim/rx/load.c 4 Jan 2012 08:28:24 -0000 1.6
> +++ sim/rx/load.c 2 Mar 2012 00:30:36 -0000
>
> +/* Given a file offset, look up the section name. */
> +static char *
> +find_section_name_by_offset (bfd *abfd, file_ptr filepos)
should return const char *
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-03-02 3:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 0:39 Kevin Buettner
2012-03-02 3:21 ` Mike Frysinger [this message]
2012-03-02 4:47 ` Kevin Buettner
2012-03-02 6:26 ` Mike Frysinger
2012-03-03 1:25 ` Kevin Buettner
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=201203012221.15043.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
--cc=kevinb@redhat.com \
/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