This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-Werror and cli-dump.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]