Add a disassembly flag to omit the pc prefix and use it in the "record
[deliverable/binutils-gdb.git] / gdb / hppa-linux-tdep.c
index e51fbcc634038f0e0e65767e77d2afed9969758e..dde237470d52ba38de6a4499b6a2dc24be16cd2a 100644 (file)
@@ -1,7 +1,6 @@
 /* Target-dependent code for GNU/Linux running on PA-RISC, for GDB.
 
-   Copyright (C) 2004, 2006, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2004-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -99,7 +98,7 @@ insns_match_pattern (struct gdbarch *gdbarch, CORE_ADDR pc,
 
   for (i = 0; pattern[i].mask; i++)
     {
-      char buf[4];
+      gdb_byte buf[4];
 
       target_read_memory (npc, buf, 4);
       insn[i] = extract_unsigned_integer (buf, 4, byte_order);
@@ -345,7 +344,7 @@ hppa_linux_find_global_pointer (struct gdbarch *gdbarch,
   if (faddr & 2)
     {
       int status;
-      char buf[4];
+      gdb_byte buf[4];
 
       faddr &= ~3;
 
@@ -382,7 +381,7 @@ hppa_linux_find_global_pointer (struct gdbarch *gdbarch,
            {
              int status;
              LONGEST tag;
-             char buf[4];
+             gdb_byte buf[4];
 
              status = target_read_memory (addr, buf, sizeof (buf));
              if (status != 0)
This page took 0.035473 seconds and 4 git commands to generate.