+2007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * MAINTAINERS: Disable -Werror for cris simulator. Build
+ sparc64-solaris2.10 instead of the broken sparc-elf.
+ * solib-frv.c: Include "solib.h".
+ * Makefile.in (solib-frv.o): Update.
+ * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
+ * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
+ (xtensa_frame_this_id, xtensa_frame_prev_register)
+ (xtensa_push_dummy_call): Use %p.
+
2007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
avr --target=avr ,-Werror
- cris --target=cris-elf ,-Werror
+ cris --target=cris-elf ,-Werror ,
+ (sim does not build with -Werror)
d10v OBSOLETE
sh --target=sh-elf ,-Werror
--target=sh64-elf ,-Werror
- sparc --target=sparc-elf ,-Werror
+ sparc --target=sparc64-solaris2.10 ,-Werror
+ (--target=sparc-elf broken)
spu --target=spu-elf ,-Werror
Ulrich Weigand uweigand@de.ibm.com
$(observer_h) $(readline_h)
solib-frv.o: solib-frv.c $(defs_h) $(gdb_string_h) $(inferior_h) \
$(gdbcore_h) $(solist_h) $(frv_tdep_h) $(objfiles_h) $(symtab_h) \
- $(language_h) $(command_h) $(gdbcmd_h) $(elf_frv_h)
+ $(language_h) $(command_h) $(gdbcmd_h) $(elf_frv_h) $(solib_h)
solib-irix.o: solib-irix.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
$(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) $(solist_h)
solib-legacy.o: solib-legacy.c $(defs_h) $(gdbcore_h) $(solib_svr4_h)
provided. */
gdbarch = gdbarch_alloc (&info, NULL);
- set_gdbarch_float_format (gdbarch, floatformats_ieee_single_big);
- set_gdbarch_double_format (gdbarch, floatformats_ieee_double_big);
- set_gdbarch_long_double_format (gdbarch, floatformats_ieee_double_big);
+ set_gdbarch_float_format (gdbarch, floatformats_ieee_single);
+ set_gdbarch_double_format (gdbarch, floatformats_ieee_double);
+ set_gdbarch_long_double_format (gdbarch, floatformats_ieee_double);
set_gdbarch_register_name (gdbarch, mt_register_name);
set_gdbarch_num_regs (gdbarch, MT_NUM_REGS);
#include "gdb_string.h"
#include "inferior.h"
#include "gdbcore.h"
+#include "solib.h"
#include "solist.h"
#include "frv-tdep.h"
#include "objfiles.h"
{
DEBUGTRACE ("xtensa_regset_from_core_section "
"(..., sect_name==\"%s\", sect_size==%x) \n",
- sect_name, sect_size);
+ sect_name, (int) sect_size);
if (strcmp (sect_name, ".reg") == 0
&& sect_size >= sizeof(xtensa_elf_gregset_t))
struct xtensa_frame_cache *cache =
xtensa_frame_cache (next_frame, this_cache);
- DEBUGTRACE ("xtensa_frame_this_id (next 0x%08x, *this 0x%08x)\n",
- (unsigned int) next_frame, (unsigned int) *this_cache);
+ DEBUGTRACE ("xtensa_frame_this_id (next %p, *this %p)\n",
+ next_frame, *this_cache);
if (cache->prev_sp == 0)
return;
CORE_ADDR saved_reg = 0;
int done = 1;
- DEBUGTRACE ("xtensa_frame_prev_register (next 0x%08x, "
- "*this 0x%08x, regnum %d (%s), ...)\n",
- (unsigned int) next_frame,
- *this_cache? (unsigned int) *this_cache : 0, regnum,
+ DEBUGTRACE ("xtensa_frame_prev_register (next %p, "
+ "*this %p, regnum %d (%s), ...)\n",
+ next_frame,
+ *this_cache ? *this_cache : 0, regnum,
xtensa_register_name (regnum));
if (regnum == WS_REGNUM)
{
struct value *arg = args[i];
struct type *arg_type = check_typedef (value_type (arg));
- fprintf_unfiltered (gdb_stdlog, "%2d: 0x%08x %3d ",
- i, (int) arg, TYPE_LENGTH (arg_type));
+ fprintf_unfiltered (gdb_stdlog, "%2d: %p %3d ",
+ i, arg, TYPE_LENGTH (arg_type));
switch (TYPE_CODE (arg_type))
{
case TYPE_CODE_INT:
fprintf_unfiltered (gdb_stdlog, "%3d", TYPE_CODE (arg_type));
break;
}
- fprintf_unfiltered (gdb_stdlog, " 0x%08x\n",
- (unsigned int) value_contents (arg));
+ fprintf_unfiltered (gdb_stdlog, " %p\n",
+ value_contents (arg));
}
}
+2007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (interp.o): Uncomment and update.
+
2006-12-21 Hans-Peter Nilsson <hp@axis.com>
* acconfig.h: Remove.
clean-extra: clean-igen
rm -f table.c simops.h gencode
-#interp.o: interp.c table.c $(INCLUDE)
+interp.o: interp.c $(INCLUDE)
simops.o: simops.c simops.h $(INCLUDE) targ-vals.h
-#table.o: table.c
semantics.o: $(INCLUDE)