[commit] s/boolean/int/ in xcoffread.c

Joel Brobecker
2002-12-02T16:48:38Z

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

Hello,

I committed the following change in the head branch, to fix a
compilation failure that appeared on AiX. I suspect that it is
a small glitch introduced after the work on booleans in bfd.

2002-12-02 J. Brobecker <brobecker@gnat.com>

* xcoffread.c (read_symbol_lineno): Replace boolean by int.
Fixes a compilation failure on AiX.

--
Joel

[-- Attachment #2: xcoffread.c.diff --]
[-- Type: text/plain, Size: 843 bytes --]

Index: xcoffread.c
===================================================================
RCS file: /cvs/src/src/gdb/xcoffread.c,v
retrieving revision 1.21
diff -c -3 -p -r1.21 xcoffread.c
*** xcoffread.c 25 Oct 2002 22:25:55 -0000 1.21
--- xcoffread.c 2 Dec 2002 16:41:04 -0000
*************** static int
*** 1634,1640 ****
read_symbol_lineno (int symno)
{
struct objfile *objfile = this_symtab_psymtab->objfile;
! boolean xcoff64 = bfd_xcoff_is_xcoff64 (objfile->obfd);

struct coff_symfile_info *info =
(struct coff_symfile_info *)objfile->sym_private;
--- 1634,1640 ----
read_symbol_lineno (int symno)
{
struct objfile *objfile = this_symtab_psymtab->objfile;
! int xcoff64 = bfd_xcoff_is_xcoff64 (objfile->obfd);

struct coff_symfile_info *info =
(struct coff_symfile_info *)objfile->sym_private;