diff options
Diffstat (limited to 'gdb/nto-procfs.c')
-rw-r--r-- | gdb/nto-procfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index f358528..9d581f2 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -516,7 +516,7 @@ procfs_meminfo (char *args, int from_tty) return; } - num = min (num, num_mapinfos); + num = std::min (num, num_mapinfos); /* Run through the list of mapinfos, and store the data and text info so we can print it at the bottom of the loop. */ @@ -939,7 +939,7 @@ procfs_xfer_partial (struct target_ops *ops, enum target_object object, tempread = nto_read_auxv_from_initial_stack (initial_stack, tempbuf, sizeof_tempbuf, sizeof (auxv_t)); - tempread = min (tempread, len) - offset; + tempread = std::min (tempread, len) - offset; memcpy (readbuf, tempbuf + offset, tempread); *xfered_len = tempread; return tempread ? TARGET_XFER_OK : TARGET_XFER_EOF; |