This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Fix HP/UX build failure + kill some compilation warnings


I committed the following change to fix a couple of compilation
failures. My little finger tells me we haven't seen the end of the
"boolean" story yet... I also fixed a few warnigs while I was looking at
these files.

There is one warning in hpread.c that I intentionally left. I could fix
it quite easily, but I'm not sure the current approach is really
appropriate. Here is what happens: there is no so_lib_thread_start_addr
declaration visible in hpread.c, so it triggers a warning. This function
is implemented in either somsolib.c or pa64solib.c, depending on which
target we are compiling for... I don't have the time to think about this
now, so I left the warning as a reminder.

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

        * somsolib.c (dld_cache): Replace boolean by int for field is_valid.
        Fixes a build failure on HP/UX.

        * hpread.c (told_objfile): Replace boolean type by int. Fixes a build
        failure on HP/UX.
        (hpread_has_name): Advance declaration to avoid a compilation warning.
        (pst_syms_count): Add missing variable type. By change, the compiler
        was defaulting to int, which seems a good choice. Fixes a compilation
        warning.
        (pst_syms_size): Likewise.

-- 
Joel

Attachment: hppa.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]