diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-27 20:34:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-27 20:34:51 +0000 |
commit | c26b8e3b42c143d9262b52f43d6f204f305f0276 (patch) | |
tree | a7260374a4aad57c7bce68bfb839eac75b1fc2ed /gdb/ChangeLog | |
parent | 10e2d419a3084f5ed32c340cd27a94a911f694b9 (diff) | |
download | gdb-c26b8e3b42c143d9262b52f43d6f204f305f0276.zip gdb-c26b8e3b42c143d9262b52f43d6f204f305f0276.tar.gz gdb-c26b8e3b42c143d9262b52f43d6f204f305f0276.tar.bz2 |
2005-01-27 Andrew Cagney <cagney@gnu.org>
* cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
* cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
parameters const, change buf to a const bfd_byte.
(fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
parameters const.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ccfa71..668c2ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2005-01-27 Andrew Cagney <cagney@gnu.org> + * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const. + * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string + parameters const, change buf to a const bfd_byte. + (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string + parameters const. + * corefile.c (write_memory): Update, make a copy of the read-only buffer. * target.c (target_read_memory): Update. |