diff options
Diffstat (limited to 'gdb/linux-tdep.c')
-rw-r--r-- | gdb/linux-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c index 5bfd7ed..8c76ec3 100644 --- a/gdb/linux-tdep.c +++ b/gdb/linux-tdep.c @@ -822,13 +822,13 @@ linux_info_proc (struct gdbarch *gdbarch, const char *args, line = strtok (NULL, "\n")) { ULONGEST addr, endaddr, offset, inode; - const char *permissions, *device, *filename; + const char *permissions, *device, *mapping_filename; size_t permissions_len, device_len; read_mapping (line, &addr, &endaddr, &permissions, &permissions_len, &offset, &device, &device_len, - &inode, &filename); + &inode, &mapping_filename); if (gdbarch_addr_bit (gdbarch) == 32) { @@ -837,7 +837,7 @@ linux_info_proc (struct gdbarch *gdbarch, const char *args, paddress (gdbarch, endaddr), hex_string (endaddr - addr), hex_string (offset), - *filename? filename : ""); + *mapping_filename ? mapping_filename : ""); } else { @@ -846,7 +846,7 @@ linux_info_proc (struct gdbarch *gdbarch, const char *args, paddress (gdbarch, endaddr), hex_string (endaddr - addr), hex_string (offset), - *filename? filename : ""); + *mapping_filename ? mapping_filename : ""); } } } |