diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2007-02-09 20:52:16 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2007-02-09 20:52:16 +0000 |
commit | b260b6c1289a49a1e8f50cd78566a3e17a960781 (patch) | |
tree | 838cd7bb1a95fbb36a8bfdd08efc4ff173a9a965 /gdb/linux-nat.c | |
parent | 0f5d55d8c4b3bc46db59117233cfa1697415c3d0 (diff) | |
download | gdb-b260b6c1289a49a1e8f50cd78566a3e17a960781.zip gdb-b260b6c1289a49a1e8f50cd78566a3e17a960781.tar.gz gdb-b260b6c1289a49a1e8f50cd78566a3e17a960781.tar.bz2 |
2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
* ada-lang.c (remove_out_of_scope_renamings): Change third
parameter's
type to a pointer to const struct block.
(ada_lookup_symbol_list): Don't cast away constness when
calling
remove_out_of_scope_renamings.
2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
* linux-nat.c (linux_nat_find_memory_regions): Don't check the
address of 'filename'; it is always non null.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r-- | gdb/linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 0162e7e..80771a7 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -2553,7 +2553,7 @@ linux_nat_find_memory_regions (int (*func) (CORE_ADDR, size, paddr_nz (addr), read ? 'r' : ' ', write ? 'w' : ' ', exec ? 'x' : ' '); - if (filename && filename[0]) + if (filename[0]) fprintf_filtered (gdb_stdout, " for %s", filename); fprintf_filtered (gdb_stdout, "\n"); } |