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 | fa9520d404d84d1dbe27259afb0a7a969e2d82fd (patch) | |
tree | 0283c8a885b36f1dfb99042486e0fb12cf75c065 /gdb/linux-nat.c | |
parent | e9a34859e32becc4ddabfd098b25f12cff59544a (diff) | |
download | gdb-fa9520d404d84d1dbe27259afb0a7a969e2d82fd.tar.gz |
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 0162e7e1686..80771a7cc7e 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"); } |