diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-02-20 12:45:06 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-02-20 12:45:06 +0000 |
commit | cb5c8c398917972a84db9047c7a492427a347200 (patch) | |
tree | 1fe0d8ea9828ba90ce7d44a4bec773895757a2b2 | |
parent | ae0d26161ba9beb390fdf1472079f97e930cd001 (diff) | |
download | gdb-cb5c8c398917972a84db9047c7a492427a347200.zip gdb-cb5c8c398917972a84db9047c7a492427a347200.tar.gz gdb-cb5c8c398917972a84db9047c7a492427a347200.tar.bz2 |
gdb/
* 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.
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/MAINTAINERS | 6 | ||||
-rw-r--r-- | gdb/Makefile.in | 2 | ||||
-rw-r--r-- | gdb/mt-tdep.c | 6 | ||||
-rw-r--r-- | gdb/solib-frv.c | 1 | ||||
-rw-r--r-- | gdb/xtensa-tdep.c | 22 | ||||
-rw-r--r-- | sim/v850/ChangeLog | 4 | ||||
-rw-r--r-- | sim/v850/Makefile.in | 3 |
8 files changed, 36 insertions, 19 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9a3c42b..af9ccbe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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, diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index 3ee80cf..34e5780 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 9f59b53..54b3dc6 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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) diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c index 386fe70..baaa4fa 100644 --- a/gdb/mt-tdep.c +++ b/gdb/mt-tdep.c @@ -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); diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index a4dc07c..5d2c9a1 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -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" diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index 00ebd6c..45ae09b 100644 --- a/gdb/xtensa-tdep.c +++ b/gdb/xtensa-tdep.c @@ -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)); } } diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 07f781d..4214046 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -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. diff --git a/sim/v850/Makefile.in b/sim/v850/Makefile.in index aeed0db..e1a181f 100644 --- a/sim/v850/Makefile.in +++ b/sim/v850/Makefile.in @@ -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) |