contrib/gdb-7/gdb/jit.c
static void
jit_unwind_reg_set_impl (struct gdb_unwind_callbacks *cb, int dwarf_regnum,
                         struct gdb_reg_value *value)
{
  struct jit_unwind_private *priv;
  int gdb_reg;

  priv = cb->priv_data;

  gdb_reg = gdbarch_dwarf2_reg_to_regnum (get_frame_arch (priv->this_frame),
                                          dwarf_regnum);
  if (gdb_reg == -1)
    {
      if (jit_debug)
        fprintf_unfiltered (gdb_stdlog,
                            _("Could not recognize DWARF regnum %d"),
                            dwarf_regnum);
      return;
    }

  gdb_assert (priv->registers);
  priv->registers[gdb_reg] = value;
}
/* Sets the value of a particular register in this frame.  */
Sets the value of a particular register in this frame.
Sets the value of a particular register in this frame .
static void
jit_unwind_reg_set_impl (struct gdb_unwind_callbacks *cb, int dwarf_regnum,
                         struct gdb_reg_value *value)
{
  struct jit_unwind_private *priv;
  int gdb_reg;
  priv = cb->priv_data;
  gdb_reg = gdbarch_dwarf2_reg_to_regnum (get_frame_arch (priv->this_frame),
                                          dwarf_regnum);
  if (gdb_reg == -1)
    {
      if (jit_debug)
        fprintf_unfiltered (gdb_stdlog,
                            _("Could not recognize DWARF regnum %d"),
                            dwarf_regnum);
      return;
    }
  gdb_assert (priv->registers);
  priv->registers[gdb_reg] = value;
}
static void jit_unwind_reg_set_impl ( struct gdb_unwind_callbacks * cb , int dwarf_regnum , struct gdb_reg_value * value ) { struct jit_unwind_private * priv ; int gdb_reg ; priv = cb -> priv_data ; gdb_reg = gdbarch_dwarf2_reg_to_regnum ( get_frame_arch ( priv -> this_frame ) , dwarf_regnum ) ; if ( gdb_reg == -1 ) { if ( jit_debug ) fprintf_unfiltered ( gdb_stdlog , _ ( " " ) , dwarf_regnum ) ; return ; } gdb_assert ( priv -> registers ) ; priv -> registers [ gdb_reg ] = value ; }
Sets the value of a particular register in this frame.
Sets the value of a particular register in this frame .