diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-23 15:24:22 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-23 15:24:22 +0000 |
commit | e9c55a7bd7f322580c8c7ecd9ba15feba74488e8 (patch) | |
tree | a2bef5ca3772ccb91848c964f06e5c7cc48e0b0e /gdb/cli | |
parent | 476391821eba2421a6f463c493de97210399a802 (diff) | |
download | gdb-e9c55a7bd7f322580c8c7ecd9ba15feba74488e8.zip gdb-e9c55a7bd7f322580c8c7ecd9ba15feba74488e8.tar.gz gdb-e9c55a7bd7f322580c8c7ecd9ba15feba74488e8.tar.bz2 |
2005-02-23 Andrew Cagney <cagney@gnu.org>
* cli/cli-dump.c (dump_bfd_file): Replace magic constant with
SEC_XXX flags.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-dump.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c index 295e2eb..724f776 100644 --- a/gdb/cli/cli-dump.c +++ b/gdb/cli/cli-dump.c @@ -218,7 +218,9 @@ dump_bfd_file (const char *filename, const char *mode, bfd_set_section_size (obfd, osection, len); bfd_set_section_vma (obfd, osection, vaddr); bfd_set_section_alignment (obfd, osection, 0); - bfd_set_section_flags (obfd, osection, 0x203); + bfd_set_section_flags (obfd, osection, (SEC_HAS_CONTENTS + | SEC_ALLOC + | SEC_LOAD)); osection->entsize = 0; bfd_set_section_contents (obfd, osection, buf, 0, len); } |