]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* somsolib.c (dld_cache): Replace boolean by int for field is_valid.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 3 Dec 2002 00:13:45 +0000 (00:13 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 3 Dec 2002 00:13:45 +0000 (00:13 +0000)
       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.

gdb/ChangeLog
gdb/hpread.c
gdb/somsolib.c

index 378db56eb5117e2ad22f5787aa049856315f72a7..a07b153b318180856a8962d0ed4e68a3de65caf9 100644 (file)
@@ -1,3 +1,16 @@
+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.
 2002-12-02  J. Brobecker  <brobecker@gnat.com>
 
        * hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
index 0011c31d7a6a35427a4be71d3c8831dd48cc0986..b2e64f48cffae30910ba6b1c5f48b8cb8e3997ef 100644 (file)
@@ -220,6 +220,8 @@ static unsigned long hpread_get_line (sltpointer, struct objfile *);
 
 static CORE_ADDR hpread_get_location (sltpointer, struct objfile *);
 
+int hpread_has_name (enum dntt_entry_type kind);
+
 static void hpread_psymtab_to_symtab_1 (struct partial_symtab *);
 
 void hpread_psymtab_to_symtab (struct partial_symtab *);
@@ -596,11 +598,11 @@ pst_syms_struct;
 
 static pst_syms_struct *pst_syms_array = 0;
 
-static pst_syms_count = 0;
-static pst_syms_size = 0;
+static int pst_syms_count = 0;
+static int pst_syms_size = 0;
 
 /* used by the TELL_OBJFILE macro */
-static boolean told_objfile = 0;
+static int told_objfile = 0;
 
 /* Set up psymtab symbol index stuff */
 static void
index 2eb1ff5685c892a303af6818b23738cd0b9f7055..6cc9f45165794b21101d8fa43b0d0d9ce08c5ad1 100644 (file)
@@ -191,7 +191,7 @@ addr_and_unwind_t;
 /* When adding fields, be sure to clear them in _initialize_som_solib. */
 static struct
   {
-    boolean is_valid;
+    int is_valid;
     addr_and_unwind_t hook;
     addr_and_unwind_t hook_stub;
     addr_and_unwind_t load;