diff options
author | Pedro Alves <palves@redhat.com> | 2008-10-09 13:49:13 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-10-09 13:49:13 +0000 |
commit | 0b62613e314d15b0bab396b3b0ae8343d67e33c3 (patch) | |
tree | 6418d5683963264d1b7bfa66e594d49e7dfabf1b /gdb/Makefile.in | |
parent | c67d8df719f66676c4bf7d78fd6d1471e85dfb84 (diff) | |
download | gdb-0b62613e314d15b0bab396b3b0ae8343d67e33c3.zip gdb-0b62613e314d15b0bab396b3b0ae8343d67e33c3.tar.gz gdb-0b62613e314d15b0bab396b3b0ae8343d67e33c3.tar.bz2 |
2008-10-09 Pedro Alves <pedro@codesourcery.com>
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.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 6 |
1 files changed, 0 insertions, 6 deletions
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 |