* hppa-hpux-tdep.c: Include "regcache.h".
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 13 May 2007 13:02:54 +0000 (13:02 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 13 May 2007 13:02:54 +0000 (13:02 +0000)
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Include "gdb_stdint.h".
(find_unwind_entry): Cast host pointer to uintptr_t before passing
it to paddr_nz.
* Makefile.in: Update dependencies.

gdb/ChangeLog
gdb/Makefile.in
gdb/hppa-hpux-tdep.c
gdb/hppa-linux-tdep.c
gdb/hppa-tdep.c

index 2bf889d1ff16e59487862ddbca5b716d0d8b1e46..f335419a322e2864fe7f2541307be542b2a022a0 100644 (file)
@@ -1,3 +1,12 @@
+2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * hppa-hpux-tdep.c: Include "regcache.h".
+       * hppa-linux-tdep.c: Likewise.
+       * hppa-tdep.c: Include "gdb_stdint.h".
+       (find_unwind_entry): Cast host pointer to uintptr_t before passing
+       it to paddr_nz.
+       * Makefile.in: Update dependencies.
+
 2007-05-13  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * blockframe.c: Remove obsolete comments.
index 24ed913ad15d74030cf38d83adffa14f046990de..336396d2fd6297fa888ce54dd5549dabbf6784f2 100644 (file)
@@ -2065,19 +2065,19 @@ hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
        $(osabi_h) $(frame_h) $(frame_unwind_h) $(trad_frame_h) $(symtab_h) \
        $(objfiles_h) $(inferior_h) $(infcall_h) $(observer_h) \
        $(hppa_tdep_h) $(solib_som_h) $(solib_pa64_h) $(regset_h) \
-       $(exceptions_h) $(gdb_string_h)
+       $(regcache_h) $(exceptions_h) $(gdb_string_h)
 hppa-linux-nat.o: hppa-linux-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
        $(gdb_string_h) $(inferior_h) $(hppa_tdep_h) $(gregset_h) \
        $(target_h) $(linux_nat_h)
 hppa-linux-tdep.o: hppa-linux-tdep.c $(defs_h) $(gdbcore_h) $(osabi_h) \
        $(target_h) $(objfiles_h) $(solib_svr4_h) $(glibc_tdep_h) \
        $(frame_unwind_h) $(trad_frame_h) $(dwarf2_frame_h) $(value_h) \
-       $(hppa_tdep_h) $(elf_common_h) $(regset_h)
+       $(hppa_tdep_h) $(elf_common_h) $(regset_h) $(regcache_h)
 hppa-tdep.o: hppa-tdep.c $(defs_h) $(bfd_h) $(inferior_h) $(regcache_h) \
-       $(completer_h) $(osabi_h) $(gdb_assert_h) $(arch_utils_h) \
-       $(symtab_h) $(dis_asm_h) $(trad_frame_h) $(frame_unwind_h) \
-       $(frame_base_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \
-       $(hppa_tdep_h) $(gdbtypes_h)
+       $(completer_h) $(osabi_h) $(gdb_assert_h) $(gdb_stdint_h) \
+       $(arch_utils_h) $(symtab_h) $(dis_asm_h) $(trad_frame_h) \
+       $(frame_unwind_h) $(frame_base_h) $(gdbcore_h) $(gdbcmd_h) \
+       $(objfiles_h) $(hppa_tdep_h) $(gdbtypes_h)
 hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
        $(inferior_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h) \
        $(hppa_tdep_h) $(observer_h)
index ea4319e4375af6b43327f3df05a60e8554e6a942..05f8d838a62935d5380d395cef2b792023debf15 100644 (file)
@@ -35,6 +35,7 @@
 #include "solib-som.h"
 #include "solib-pa64.h"
 #include "regset.h"
+#include "regcache.h"
 #include "exceptions.h"
 
 #include "gdb_string.h"
index 7d720a7e0cc5afc7f5711bdb7da02044324b12b9..0d869abe730c3c692e5567d481b036fcf28b709f 100644 (file)
@@ -31,6 +31,7 @@
 #include "dwarf2-frame.h"
 #include "value.h"
 #include "regset.h"
+#include "regcache.h"
 #include "hppa-tdep.h"
 
 #include "elf/common.h"
index 382c712088e19faa967632c35578b1237a49a7cc..806651c98e28c404f44ec3c616991927173c8d3f 100644 (file)
@@ -31,6 +31,7 @@
 #include "completer.h"
 #include "osabi.h"
 #include "gdb_assert.h"
+#include "gdb_stdint.h"
 #include "arch-utils.h"
 /* For argument passing to the inferior */
 #include "symtab.h"
@@ -502,7 +503,7 @@ find_unwind_entry (CORE_ADDR pc)
       {
        if (hppa_debug)
          fprintf_unfiltered (gdb_stdlog, "0x%s (cached) }\n",
-            paddr_nz ((CORE_ADDR) ui->cache));
+            paddr_nz ((uintptr_t) ui->cache));
         return ui->cache;
       }
 
@@ -520,7 +521,7 @@ find_unwind_entry (CORE_ADDR pc)
            ui->cache = &ui->table[middle];
            if (hppa_debug)
              fprintf_unfiltered (gdb_stdlog, "0x%s }\n",
-                paddr_nz ((CORE_ADDR) ui->cache));
+                paddr_nz ((uintptr_t) ui->cache));
            return &ui->table[middle];
          }
 
This page took 0.037099 seconds and 4 git commands to generate.