This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
committed: make fprintf format string match arguments
- From: Jim Blandy <jimb at redhat dot com>
- To: rda at sources dot redhat dot com
- Date: 10 Mar 2005 16:57:59 -0500
- Subject: committed: make fprintf format string match arguments
2004-12-03 Jim Blandy <jimb@redhat.com>
* linux-target.c (frv_fdpic_loadmap_addresses): Use '%lx' for
unsigned long argument.
Index: rda/unix/linux-target.c
===================================================================
RCS file: /cvs/cvsfiles/devo/rda/unix/linux-target.c,v
retrieving revision 1.36.2.5.2.6
diff -c -p -r1.36.2.5.2.6 linux-target.c
*** rda/unix/linux-target.c 3 Dec 2004 14:03:58 -0000 1.36.2.5.2.6
--- rda/unix/linux-target.c 3 Dec 2004 14:49:50 -0000
*************** frv_fdpic_loadmap_addresses (struct gdbs
*** 1240,1247 ****
(void *)reginfo[regno].ptrace_offset,
&val);
if (process->debug_backend)
! fprintf (stderr, "PTRACE_GETFDPIC pid=%d offset=%d val=%x\n",
! pid,reginfo[regno].ptrace_offset,val);
if (status < 0)
return errno;
else
--- 1240,1247 ----
(void *)reginfo[regno].ptrace_offset,
&val);
if (process->debug_backend)
! fprintf (stderr, "PTRACE_GETFDPIC pid=%d offset=%d val=%lx\n",
! pid, reginfo[regno].ptrace_offset, val);
if (status < 0)
return errno;
else