]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/procfs.c
2008-10-09 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Thu, 9 Oct 2008 13:49:13 +0000 (13:49 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 9 Oct 2008 13:49:13 +0000 (13:49 +0000)
commit0b62613e314d15b0bab396b3b0ae8343d67e33c3
tree6418d5683963264d1b7bfa66e594d49e7dfabf1b
parentc67d8df719f66676c4bf7d78fd6d1471e85dfb84
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.
gdb/ChangeLog
gdb/Makefile.in
gdb/procfs.c