Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Sandra Loosemore <sandra@codesourcery.com>
To: Tom Tromey <tromey@redhat.com>
Cc: <gdb-patches@sourceware.org>
Subject: Re: [0/10] RFC: remove obj_section field
Date: Tue, 09 Apr 2013 12:47:00 -0000	[thread overview]
Message-ID: <5163788A.2060107@codesourcery.com> (raw)
In-Reply-To: <87y5csqzbm.fsf@fleche.redhat.com>

On 04/08/2013 07:15 PM, Tom Tromey wrote:
>>>>>> "Sandra" == Sandra Loosemore <sandra@codesourcery.com> writes:
>
> Sandra> I'm seeing a build error:
> Sandra> .../gdb/symmisc.c: In function 'dump_msymbols':
> Sandra> .../gdb/symmisc.c:271:10: error: format '%ld' expects argument of type
> Sandra> long int', but argument 3 has type 'int' [-Werror=format]
>
> Oops, sorry about that.  Please try the appended.
>
> Tom
>
> --- symmisc.c.~1.95.~	2013-04-08 14:18:45.764743872 -0600
> +++ symmisc.c	2013-04-08 19:13:07.605692663 -0600
> @@ -268,7 +268,7 @@
>   						section->the_bfd_section));
>   	  else
>   	    fprintf_filtered (outfile, " spurious section %ld",
> -			      section - objfile->sections);
> +			      (long) (section - objfile->sections));
>   	}
>         if (SYMBOL_DEMANGLED_NAME (msymbol) != NULL)
>   	{
>

This builds, at least.  :-)  Thanks.

-Sandra


  reply	other threads:[~2013-04-09  2:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 19:41 Tom Tromey
2013-02-18 21:39 ` Joel Brobecker
2013-02-18 21:52   ` Tom Tromey
2013-02-22 20:04     ` Tom Tromey
2013-02-28 22:01 ` Joel Brobecker
2013-04-03 18:18 ` Pedro Alves
2013-04-09 11:42 ` Tom Tromey
2013-04-09 12:19   ` Sandra Loosemore
2013-04-09 12:46     ` Tom Tromey
2013-04-09 12:47       ` Sandra Loosemore [this message]
2013-04-09 13:00         ` Tom Tromey

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=5163788A.2060107@codesourcery.com \
    --to=sandra@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@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