+2014-01-14 Yao Qi <yao@codesourcery.com>
+
+ * common/linux-osdata.c (linux_xfer_osdata_processes): Change
+ type of 'len' to ULONGEST.
+ (linux_xfer_osdata_processgroups): Likewise.
+ (linux_xfer_osdata_threads): Likewise.
+ (linux_xfer_osdata_fds): Likewise.
+ (linux_xfer_osdata_isockets): Likewise.
+ (linux_xfer_osdata_shm): Likewise.
+ (linux_xfer_osdata_sem): Likewise.
+ (linux_xfer_osdata_msg): Likewise.
+ (linux_common_xfer_osdata): Likewise.
+ (struct osdata_type) <getter>: Likewise.
+ * common/linux-osdata.h (linux_common_xfer_osdata): Update
+ the declaration.
+
2014-01-14 Yao Qi <yao@codesourcery.com>
* target.h (target_xfer_partial_ftype): Update.
static LONGEST
linux_xfer_osdata_processes (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
/* We make the process list snapshot when the object starts to be read. */
static const char *buf;
static LONGEST
linux_xfer_osdata_processgroups (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
/* We make the process list snapshot when the object starts to be read. */
static const char *buf;
static LONGEST
linux_xfer_osdata_threads (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
/* We make the process list snapshot when the object starts to be read. */
static const char *buf;
static LONGEST
linux_xfer_osdata_fds (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
/* We make the process list snapshot when the object starts to be read. */
static const char *buf;
static LONGEST
linux_xfer_osdata_isockets (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
static const char *buf;
static LONGEST len_avail = -1;
static LONGEST
linux_xfer_osdata_shm (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
static const char *buf;
static LONGEST len_avail = -1;
static LONGEST
linux_xfer_osdata_sem (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
static const char *buf;
static LONGEST len_avail = -1;
static LONGEST
linux_xfer_osdata_msg (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
static const char *buf;
static LONGEST len_avail = -1;
static LONGEST
linux_xfer_osdata_modules (gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
static const char *buf;
static LONGEST len_avail = -1;
char *type;
char *title;
char *description;
- LONGEST (*getter) (gdb_byte *readbuf, ULONGEST offset, LONGEST len);
+ LONGEST (*getter) (gdb_byte *readbuf, ULONGEST offset, ULONGEST len);
} osdata_table[] = {
{ "processes", "Processes", "Listing of all processes",
linux_xfer_osdata_processes },
LONGEST
linux_common_xfer_osdata (const char *annex, gdb_byte *readbuf,
- ULONGEST offset, LONGEST len)
+ ULONGEST offset, ULONGEST len)
{
if (!annex || *annex == '\0')
{