* 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.
sim/v850/
	* Makefile.in (interp.o): Uncomment and update.
This commit is contained in:
Daniel Jacobowitz 2007-02-20 12:45:06 +00:00
parent ae0d26161b
commit cb5c8c3989
8 changed files with 36 additions and 19 deletions

View file

@ -1,3 +1,14 @@
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,

View file

@ -256,7 +256,8 @@ the native maintainer when resolving ABI issues.
avr --target=avr ,-Werror
cris --target=cris-elf ,-Werror
cris --target=cris-elf ,-Werror ,
(sim does not build with -Werror)
d10v OBSOLETE
@ -308,7 +309,8 @@ the native maintainer when resolving ABI issues.
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

View file

@ -2642,7 +2642,7 @@ solib.o: solib.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) $(symfile_h) \
$(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)

View file

@ -1118,9 +1118,9 @@ mt_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
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);

View file

@ -23,6 +23,7 @@
#include "gdb_string.h"
#include "inferior.h"
#include "gdbcore.h"
#include "solib.h"
#include "solist.h"
#include "frv-tdep.h"
#include "objfiles.h"

View file

@ -776,7 +776,7 @@ xtensa_regset_from_core_section (struct gdbarch *core_arch,
{
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))
@ -1001,8 +1001,8 @@ xtensa_frame_this_id (struct frame_info *next_frame,
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;
@ -1026,10 +1026,10 @@ xtensa_frame_prev_register (struct frame_info *next_frame,
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)
@ -1299,8 +1299,8 @@ xtensa_push_dummy_call (struct gdbarch *gdbarch,
{
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:
@ -1313,8 +1313,8 @@ xtensa_push_dummy_call (struct gdbarch *gdbarch,
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));
}
}

View file

@ -1,3 +1,7 @@
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.

View file

@ -123,7 +123,6 @@ tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen
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)