+2007-07-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * core-regset.c (fetch_core_registers): Work around gcc 3.4
+ alias warning bug.
+
2007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
* minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer
{
gdb_gregset_t gregset;
gdb_fpregset_t fpregset;
+ gdb_gregset_t *gregset_p = &gregset;
+ gdb_fpregset_t *fpregset_p = &fpregset;
switch (which)
{
else
{
memcpy (&gregset, core_reg_sect, sizeof (gregset));
- supply_gregset (regcache, (const gdb_gregset_t *) &gregset);
+ supply_gregset (regcache, (const gdb_gregset_t *) gregset_p);
}
break;
{
memcpy (&fpregset, core_reg_sect, sizeof (fpregset));
if (gdbarch_fp0_regnum (current_gdbarch) >= 0)
- supply_fpregset (regcache, (const gdb_fpregset_t *) &fpregset);
+ supply_fpregset (regcache, (const gdb_fpregset_t *) fpregset_p);
}
break;