This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: -Werror and cli-dump.c
- From: Michael Snyder <msnyder at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 05 Apr 2002 14:28:37 -0800
- Subject: Re: -Werror and cli-dump.c
- Organization: Red Hat, Inc.
- References: <3CAE1D16.6090809@cygnus.com>
Andrew Cagney wrote:
>
> Michael,
>
> /home/scratch/PENDING/2002-04-04-sparc-fp/src/gdb/cli/cli-dump.c: In
> function `restore_section_callback':
> /home/scratch/PENDING/2002-04-04-sparc-fp/src/gdb/cli/cli-dump.c:534:
> warning: long unsigned int format, different type arg (arg 2)
> /home/scratch/PENDING/2002-04-04-sparc-fp/src/gdb/cli/cli-dump.c:534:
> warning: long unsigned int format, different type arg (arg 3)
>
> paddr_nz() is the best way of printing an address in a string.
>
> Andrew
OK, thanks; changed and committed.