From 0b62613e314d15b0bab396b3b0ae8343d67e33c3 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 9 Oct 2008 13:49:13 +0000 Subject: 2008-10-09 Pedro Alves Make it compile without warnings. * procfs.c (create_procinfo): Initialize `parent'. (dead_procinfo): Pass a constant string as format to error. (procfs_address_to_host_pointer): Add cast to gdb_type *. (procfs_find_LDT_entry): Adjust format string to long int ptid.tid. (procfs_xfer_partial): Adjust prototype. Add gdb_byte* cast. (procfs_xfer_memory): Adjust prototype. (info_mappings_callback, info_proc_mappings): Adjust to not pass a variable as printf_filtered format. (procfs_make_note_section): Change type of auxv local to gdb_byte. * Makefile.in: Remove special rule. --- gdb/Makefile.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/Makefile.in') diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 74359c1..ab0a0b6 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1380,12 +1380,6 @@ printcmd.o: $(srcdir)/printcmd.c $(GDB_WERROR_CFLAGS) $(COMPILE.post) $(srcdir)/printcmd.c $(POSTCOMPILE) -# FIXME: Procfs.o gets -Wformat errors because things like pid_t don't -# match output format strings. -procfs.o: $(srcdir)/procfs.c - $(COMPILE.pre) $(INTERNAL_WARN_CFLAGS) $(COMPILE.post) $(srcdir)/procfs.c - $(POSTCOMPILE) - # Message files. Based on code in gcc/Makefile.in. # Rules for generating translated message descriptions. Disabled by -- cgit v1.1