aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-08 21:24:33 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-08 21:24:33 +0000
commit0bb8ff191ec9e1c54f17a0a2e3faff7ae75cadd7 (patch)
tree63a163919865fde9239a563010c7b191c03c7bf0 /bfd/aoutx.h
parent7812bf9c25192463489dfb439eb92b2fcd34f305 (diff)
downloadgdb-0bb8ff191ec9e1c54f17a0a2e3faff7ae75cadd7.zip
gdb-0bb8ff191ec9e1c54f17a0a2e3faff7ae75cadd7.tar.gz
gdb-0bb8ff191ec9e1c54f17a0a2e3faff7ae75cadd7.tar.bz2
* libbfd.c (bfd_get_file_window): Change writable parameter from
int to boolean; update all callers. Pass MAP_SHARED if not writable--it's required on Solaris. Cast fprintf argument to avoid warning. * bfd-in.h (bfd_get_file_window): Update declaration. * bfd-in2.h: Rebuild. * aoutx.h: Update calls to bfd_get_file_window.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 8d7ea3a..8d36de5 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -1230,7 +1230,7 @@ aout_get_external_symbols (abfd)
if (bfd_get_file_window (abfd,
obj_sym_filepos (abfd), exec_hdr (abfd)->a_syms,
- &obj_aout_sym_window (abfd), 1) == false)
+ &obj_aout_sym_window (abfd), true) == false)
return false;
syms = (struct external_nlist *) obj_aout_sym_window (abfd).data;
@@ -1253,7 +1253,7 @@ aout_get_external_symbols (abfd)
stringsize = GET_WORD (abfd, string_chars);
if (bfd_get_file_window (abfd, obj_str_filepos (abfd), stringsize,
- &obj_aout_string_window (abfd), 1) == false)
+ &obj_aout_string_window (abfd), true) == false)
return false;
strings = (char *) obj_aout_string_window (abfd).data;