OSDN Git Service
maxim2405 [Mon, 11 Feb 2008 22:00:30 +0000 (22:00 +0000)]
2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
* gdbserver/Makefile.in (SFILES): Add linux-xtensa-low.c.
(clean): Add reg-xtensa.c.
(linux-xtensa-low.o, reg-xtensa.o, reg-xtensa.c): New dependencies.
* gdbserver/configure.srv (xtensa*-*-linux*) New target.
* gdbserver/linux-xtensa-low.c: New.
* gdbserver/xtensa-xtregs.c: New.
maxim2405 [Mon, 11 Feb 2008 21:58:40 +0000 (21:58 +0000)]
2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
* NEWS (New native configurations): Xtensa GNU/Linux.
(New targets): Xtensa GNU/Linux.
* Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
xtensa-linux-tdep.o
(ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
(xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
* configure.tgt (xtensa*-*-linux*): New entry.
* xtensa-config.c (xtensa_tdep): New variable.
(xtensa_config_byte_order, xtensa_config_tdep): Removed.
(rmap): Change format based on new macro XTREG.
(XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
* xtensa-linux-nat.c: New.
* xtensa-linux-tdep.c: New.
* xtensa-xtregs.c: New.
* xtensa-tdep.h (xtensa_elf_gregset_t): Update.
(XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
(XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
(xtensa_register_t): New field coprocessor.
(XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
* xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
(xtensa_pseudo_register_read, xtensa_pseudo_register_write):
Update to handle privileged registers.
(xtensa_supply_gregset) Remove exccause and excvaddr registers.
(xtensa_push_dummy_call): Set windowstart register correctly.
(call0_analyze_prologue): Initialize xtensa_default_isa.
(xtensa_derive_tdep): New.
(xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
Call xtensa_derive_tdep().
* config/xtensa/linux.mh: New.
* regformats/reg-xtensa.dat: New.
corinna [Mon, 11 Feb 2008 19:03:35 +0000 (19:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused
attr.
(fhandler_disk_file::fsetxattr): Ditto.
* include/attr/xattr.h: New file.
bwilson [Mon, 11 Feb 2008 17:53:04 +0000 (17:53 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
corinna [Mon, 11 Feb 2008 16:39:06 +0000 (16:39 +0000)]
* dcrt0.cc (dll_crt0_1): Fix typo in call to sys_wcstombs.
* miscfuncs.cc (next_char): Initialize ret to keep gcc happy.
bernds [Mon, 11 Feb 2008 16:04:51 +0000 (16:04 +0000)]
* elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
if necessary.
(elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
mismatches are detected.
jbeulich [Mon, 11 Feb 2008 15:11:05 +0000 (15:11 +0000)]
opcodes/
2008-02-11 Jan Beulich <jbeulich@novell.com>
* i386-opc.tbl: Remove Disp32S from CpuNo64 opcodes. Remove
Disp16 from Cpu64 non-jump opcodes (including loop and j?cxz).
* i386-tbl.h: Re-generate.
drow [Mon, 11 Feb 2008 13:52:01 +0000 (13:52 +0000)]
* cache.c (cache_bread): Set bfd_error_file_truncated if EOF
was reached.
* srec.c (srec_scan): Calculate the checksum. Complain on mismatch.
gdbadmin [Mon, 11 Feb 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 10 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update
corinna [Sun, 10 Feb 2008 15:44:12 +0000 (15:44 +0000)]
Fix ChangeLog entry.
corinna [Sun, 10 Feb 2008 15:43:03 +0000 (15:43 +0000)]
* Makefile.in (DLL_OFILES): Add ntea.o.
* cygwin.din (getxattr, listxattr, removexattr, setxattr, lgetxattr,
llistxattr, lremovexattr, lsetxattr, fgetxattr, flistxattr,
fremovexattr, fsetxattr): Export Linux extended attribute functions.
Sort.
* errno.cc (errmap): Add mappings for ERROR_EAS_DIDNT_FIT,
ERROR_EAS_NOT_SUPPORTED, ERROR_EA_LIST_INCONSISTENT,
ERROR_EA_TABLE_FULL, ERROR_FILE_CORRUPT, ERROR_INVALID_EA_NAME.
* fhandler.h (class fhandler_base): Declare new fgetxattr and
fsetxattr methods.
(class fhandler_disk_file): Ditto.
* fhandler.cc (fhandler_base::fgetxattr): New method.
(fhandler_base::fsetxattr): New method.
* fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): New method.
(fhandler_disk_file::fsetxattr): New method.
* ntdll.h (STATUS_EA_TOO_LARGE): Define.
(STATUS_NONEXISTENT_EA_ENTRY): Define.
(STATUS_NO_EAS_ON_FILE): Define.
* ntea.cc (read_ea): Rewrite for long pathnames and for using with
Linux extended attribute functions.
(write_ea): Ditto.
(getxattr_worker): New static function.
(getxattr): New function.
(lgetxattr): New function.
(fgetxattr): New function.
(listxattr): New function.
(llistxattr): New function.
(flistxattr): New function.
(setxattr_worker): New static function.
(setxattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
(removexattr): New function.
(lsetxattr): New function.
(fsetxattr): New function.
* security.h (read_ea): Change declaration according to above changes.
(write_ea): Ditto.
* include/cygwin/version.h: Bump API minor version.
corinna [Sun, 10 Feb 2008 15:19:08 +0000 (15:19 +0000)]
* libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility.
* libc/nftw.c (nftw): Ditto.
gdbadmin [Sun, 10 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 9 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update
eliz [Sat, 9 Feb 2008 13:46:27 +0000 (13:46 +0000)]
Mark last change as tiny.
eliz [Sat, 9 Feb 2008 13:45:33 +0000 (13:45 +0000)]
* corelow.c (core_open): Use IS_ABSOLUTE_PATH.
(filenames.h): New include.
* Makefile.in (corelow.o): Add dependency for filenames.h.
eliz [Sat, 9 Feb 2008 13:39:06 +0000 (13:39 +0000)]
Fix dates of entries. Commit a forgotten entry from 2008-01-26.
kseitz [Sat, 9 Feb 2008 01:23:42 +0000 (01:23 +0000)]
* library/main.tcl: Add gdbtk_platform definitions.
* library/attachdlg.itb (list_pids): Use gdbtk_platform
instead of tcl_platform.
* library/bpwin.itb (build_win): Likewise.
(_bp_add): Likewise.
(_bp_modify): Likewise.
* library/download.itb (download_it): Likewise.
* library/globalpref.itb (_build_win): Likewise.
* library/helpviewer.tcl (open_help): Likewise.
* library/interface.tcl (gdbtk_tcl_query): Likewise.
(show_warning): Likewise.
(open_file): Likewise.
(run_executable): Likewise.
* library/managedwin.itb (reveal): Likewise.
(_create): Likewise.
* library/prefs.tcl (pref_read): Likewise.
(pref_set_defaults): Likewise.
(pref_set_colors): Likewise.
* library/session.tcl (_exe_name): Likewise.
* library/srcbar.itcl (_update_file_menu): Likewise.
(create_run_menu): Likewise.
* library/srctextwin.itb (_mtime_changed): Likewise.
(LoadFromCache): Likewise.
* library/targetselection.itb (default_port): Likewise.
(build_win): Likewise.
* library/memwin.itb (build_win): Remove unused tcl_platform
declaration.
* library/pluginwin.itcl (enable_ui): Likewise.
* library/process.itb (build_win): Likewise.
* library/srcbar.itcl (enable_ui): Likewise.
* library/srcwin.itb (location): Likewise.
* library/stackwin.itb (build_win): Likewise.
* library/tdump.tcl (build_win): Likewise.
iant [Sat, 9 Feb 2008 01:22:17 +0000 (01:22 +0000)]
Track sections for expressions.
kseitz [Sat, 9 Feb 2008 00:05:36 +0000 (00:05 +0000)]
Moved entries for previous years to separate changelogs.
kseitz [Sat, 9 Feb 2008 00:05:16 +0000 (00:05 +0000)]
Rotate logs.
gdbadmin [Sat, 9 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 8 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update
iant [Fri, 8 Feb 2008 22:49:22 +0000 (22:49 +0000)]
From Cary Coutant: fix handling of undefined symbols in shared
libraries.
drow [Fri, 8 Feb 2008 22:20:46 +0000 (22:20 +0000)]
* source.c (find_and_open_source): Always rewrite absolute filenames.
hjl [Fri, 8 Feb 2008 20:58:17 +0000 (20:58 +0000)]
2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5713
* strings.c (main): Set string_min to 4 if it is <= 0.
iant [Fri, 8 Feb 2008 07:31:09 +0000 (07:31 +0000)]
Don't read linker scripts in binary mode.
iant [Fri, 8 Feb 2008 07:06:57 +0000 (07:06 +0000)]
Add support for --format binary for input files.
devans [Fri, 8 Feb 2008 00:42:26 +0000 (00:42 +0000)]
* gdb.cp/mb-inline.exp: New.
* gdb.cp/mb-inline.h: New.
* gdb.cp/mb-inline1.cc: New.
* gdb.cp/mb-inline2.cc: New.
devans [Fri, 8 Feb 2008 00:42:05 +0000 (00:42 +0000)]
* breakpoint.c: #include "hashtab.h".
(ambiguous_names_p): New fn.
(update_breakpoint_locations): When restoring bp enable status, don't
compare function names if any functions have same name.
* Makefile.in (breakpoint.o): Add hashtab.h dependency.
* gdb.cp/mb-inline.exp: New.
* gdb.cp/mb-inline.h: New.
* gdb.cp/mb-inline1.cc: New.
* gdb.cp/mb-inline2.cc: New.
gdbadmin [Fri, 8 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 7 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update
brobecke [Thu, 7 Feb 2008 22:27:53 +0000 (22:27 +0000)]
* ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
instead of just a VEC*. Update use of SV.
(ada_make_symbol_completion_list): Update symbol_completion_add calls.
corinna [Thu, 7 Feb 2008 20:38:39 +0000 (20:38 +0000)]
Fix typo in latest ChangeLog entry.
brobecke [Thu, 7 Feb 2008 19:23:10 +0000 (19:23 +0000)]
* NEWS: Put all new commands since gdb-6.7 together.
brobecke [Thu, 7 Feb 2008 19:06:51 +0000 (19:06 +0000)]
* ada-lang.c: #include "vec.h".
(struct string_vector, new_string_vector, string_vector_append):
Delete.
(char_ptr): New typedef.
(DEF_VEC_P (char_ptr)): New VEC type.
(symbol_completion_add): Update profile to take the new VEC type
instead of the old string_vector structure. Update code accordingly.
(ada_make_symbol_completion_list): Use the new VEC type instead of
the old string_vector structure, and update the code accordingly.
* Makefile.in (ada-lang.o): Add dependency on vec.h.
corinna [Thu, 7 Feb 2008 18:59:39 +0000 (18:59 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Set access to
read/write of handle is connected to a tty or console.
* fhandler_dsp.cc (fhandler_dev_dsp::dup): Set open flags correctly
after duplicating from archetype.
* fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.
(fhandler_pty_master::dup): Ditto.
amodra [Thu, 7 Feb 2008 11:03:06 +0000 (11:03 +0000)]
* ld-spu/ovl.d: Update.
* ld-spu/ovl2.d: Update.
amodra [Thu, 7 Feb 2008 08:41:10 +0000 (08:41 +0000)]
* ldlang.c (new_afile): Don't pass unadorned NULL to concat.
* ldfile.c (ldfile_add_library_path): Likewise.
* emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
* emultempl/lnk960.em (lnk960_before_parse): Likewise.
* emultempl/spuelf.em (embedded_spu_file): Likewise.
amodra [Thu, 7 Feb 2008 08:40:29 +0000 (08:40 +0000)]
* read.c (s_weakref): Don't pass unadorned NULL to concat.
* config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
amodra [Thu, 7 Feb 2008 08:39:54 +0000 (08:39 +0000)]
* objdump.c (main): Don't pass unadorned NULL to concat.
iant [Thu, 7 Feb 2008 07:33:46 +0000 (07:33 +0000)]
Support --oformat binary.
iant [Thu, 7 Feb 2008 05:45:07 +0000 (05:45 +0000)]
Ignore version scripts for relocatable links.
iant [Thu, 7 Feb 2008 04:35:41 +0000 (04:35 +0000)]
Even when stripping all symbols, we need to write out the dynamic
symbol table.
iant [Thu, 7 Feb 2008 01:51:25 +0000 (01:51 +0000)]
Implement --just-symbols, including -R FILE. Fix symbol values when
doing a relocatable link.
amodra [Thu, 7 Feb 2008 01:26:56 +0000 (01:26 +0000)]
bfd/
* elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling
of _ovly_buf_table size.
(spu_elf_build_stubs): Use low bit of .size as "present" bit.
Adjust initialisations relating to _ovly_buf_table.
ld/
* emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
a "present" bit rather than low bit of .buf. Correct indexing
into _ovly_buf_table. Use relative loads and stores to access
overlay manager local vars.
* emultempl/spu_ovl.o: Regenerate.
gdbadmin [Thu, 7 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 6 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update
corinna [Wed, 6 Feb 2008 22:30:38 +0000 (22:30 +0000)]
* bsd_helper.cc: Replace %E __small_printf format specifier with %lu
and call to GetLastError throughout.
* bsd_mutex.cc: Ditto.
* sysv_sem.cc (semget): Replace %X __small_printf format specifier
with %llx.
muller [Wed, 6 Feb 2008 22:24:43 +0000 (22:24 +0000)]
* gdb.pascal/floats.pas: New test program.
* gdb.pascal/floats.exp: New testcase.
muller [Wed, 6 Feb 2008 22:21:38 +0000 (22:21 +0000)]
* p-exp.y: Set current_type in missing places.
(leftdiv_is_integer): New static variable.
Typecast right operand of BINOP_DIV to long_double if both operands
are integers.
corinna [Wed, 6 Feb 2008 22:04:16 +0000 (22:04 +0000)]
* miscfuncs.cc (next_char): Fix typos in comment.
* strfuncs.cc: Remove cygserver guards.
corinna [Wed, 6 Feb 2008 22:01:30 +0000 (22:01 +0000)]
Remove dependency from Cygwin internal code.
* Makefile.in (CYGWIN_OBJS): Remove smallprint.o.
(cygserver.exe): Remove strfuncs.o
(strfuncs.o): Drop rule.
* bsd_log.cc (_vlog): Use snprintf/vsnprintf instead of
__small_sprintf/__small_vsprintf.
* sysv_sem.cc (seminit): Use sys_malloc instead of malloc. Use
snprintf instead of __small_sprintf.
(semunload): Free the above allocated sema_mtx names here.
iant [Wed, 6 Feb 2008 20:32:10 +0000 (20:32 +0000)]
Support creating empty output when there are no input objects.
iant [Wed, 6 Feb 2008 19:32:32 +0000 (19:32 +0000)]
Fix group signature handling for relocatable link, add bootstrap
relocatable test.
corinna [Wed, 6 Feb 2008 18:24:49 +0000 (18:24 +0000)]
* fhandler.h (fhandler_console::trunc_buf): Add to use as cache for
truncated multibyte characters on input.
(fhandler_console::write_replacement_char): Declare new method.
* fhandler_console.cc (CONVERT_LIMIT): Raise to 64K.
(fhandler_console::fhandler_console): Initialize trunc_buf.
(ERR): Define as independent value again.
(fhandler_console::write_replacement_char): New method to print
replacement chars.
(fhandler_console::write_normal): Add handling for truncated multibyte
sequences. Call next_char instead of pathetic CharNextExA function.
Don't change src, rather just work with found later on.
* miscfuncs.cc (is_cp_multibyte): Move here from strfuncs.cc.
Don't call Windows function, restrict to well-known ANSI/OEM codepages
and UTF-8.
(next_char): Call CharNextExA only for doublebyte codepages.
Implement for UTF-8 here.
* strfuncs.cc (is_cp_multibyte): Move to miscfuncs.cc.
* winsup.h (next_char): Declare.
* include/limits.h (MB_LEN_MAX): Set to maximum value of MB_CUR_MAX
as defined by newlib for now.
macro [Wed, 6 Feb 2008 09:37:55 +0000 (09:37 +0000)]
* remote-mips.c (set_breakpoint): Rename to...
(mips_set_breakpoint): ... this.
(clear_breakpoint): Rename to...
(mips_clear_breakpoint): ... this.
(common_breakpoint): Rename to...
(mips_common_breakpoint): ... this.
(check_lsi_error): Rename to...
(mips_check_lsi_error): ... this.
nickc [Wed, 6 Feb 2008 09:05:38 +0000 (09:05 +0000)]
Updated Malasian translation.
iant [Wed, 6 Feb 2008 08:13:50 +0000 (08:13 +0000)]
Initial -r support.
nemet [Wed, 6 Feb 2008 05:29:03 +0000 (05:29 +0000)]
* gas/mips/mips.exp: Invoke the tests smartmips, mips32-dsp,
mips32-dspr2, mips64-dsp and mips32-mt with run_dump_test instead
of run_dump_test_arches.
* gas/mips/smartmips.d: Pass -mips32.
* gas/mips/mips64-dsp.d: Pass -mips64r2.
* gas/mips/mips32-dsp.d: Pass -mips32r2.
* gas/mips/mips32-dspr2.d: Likewise.
* gas/mips/mips32-mt.d: Likewise.
dj [Wed, 6 Feb 2008 04:41:26 +0000 (04:41 +0000)]
* simops.c (OP_1C007E0): Compensate for 64 bit hosts.
(OP_18007E0): Likewise.
(OP_2C007E0): Likewise.
(OP_28007E0): Likewise.
* v850.igen (divh): Likewise.
bauermann [Wed, 6 Feb 2008 03:54:12 +0000 (03:54 +0000)]
* gdb.base/callfuncs.c (t_float_many_args): New function.
(t_double_many_args): New function.
* gdb.base/callfuncs.exp: Add tests for exceeding float
and double parameters passed through the stack.
dj [Wed, 6 Feb 2008 00:40:05 +0000 (00:40 +0000)]
Index: ChangeLog
* configure.ac (v850): V850 now has a testsuite.
* configure (v850): Likewise.
Index: testsuite/ChangeLog
* sim/v850/: New directory.
* sim/v850/allinsns.exp: New.
* sim/v850/bsh.cgs: New.
* sim/v850/div.cgs: New.
* sim/v850/divh.cgs: New.
* sim/v850/divh_3.cgs: New.
* sim/v850/divhu.cgs: New.
* sim/v850/divu.cgs: New.
* sim/v850/sar.cgs: New.
* sim/v850/satadd.cgs: New.
* sim/v850/satsub.cgs: New.
* sim/v850/satsubi.cgs: New.
* sim/v850/satsubr.cgs: New.
* sim/v850/shl.cgs: New.
* sim/v850/shr.cgs: New.
* sim/v850/testutils.cgs: New.
* sim/v850/testutils.inc: New.
Index: v850/ChangeLog
* simops.c (OP_C0): Correct saturation logic.
(OP_220): Likewise.
(OP_A0): Likewise.
(OP_660): Likewise.
(OP_80): Likewise.
* simops.c (OP_2A0): If the shift count is zero, clear the
carry.
(OP_A007E0): Likewise.
(OP_2C0): Likewise.
(OP_C007E0): Likewise.
(OP_280): Likewise.
(OP_8007E0): Likewise.
* simops.c (OP_2C207E0): Correct PSW flags for special divu
conditions.
(OP_2C007E0): Likewise, for div.
(OP_28207E0): Likewise, for divhu.
(OP_28007E0): Likewise, for divh. Also, sign-extend the correct
operand.
* v850.igen (divh): Likewise, for 2-op divh.
* v850.igen (bsh): Fix carry logic.
gdbadmin [Wed, 6 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 5 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update
iant [Tue, 5 Feb 2008 22:22:09 +0000 (22:22 +0000)]
From Ollie Wild: add missing backquote to install-exec-local.
brobecke [Tue, 5 Feb 2008 22:20:51 +0000 (22:20 +0000)]
* gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
gdb.ada/complete/foo.adb: New files.
* gdb.ada/complete.exp: New testcase.
brobecke [Tue, 5 Feb 2008 22:17:40 +0000 (22:17 +0000)]
* language.h (struct language_defn): Add new field
la_make_symbol_completion_list.
* symtab.c (default_make_symbol_completion_list): Renames
make_symbol_completion_list.
(make_symbol_completion_list): New function.
* symtab.h (default_make_symbol_completion_list): Add declaration.
* langauge.c (unknown_language): Set la_make_symbol_completion_list.
(auto_language, local_language): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
(minimal_language_defn): Likewise.
* ada-lang.c (struct string_vector): New structure.
(new_string_vector, string_vector_append, ada_unqualified_name)
(add_angle_brackets, symbol_completion_match, symbol_completion_add)
(ada_make_symbol_completion_list): New functions.
(ada_language_defn): Set la_make_symbol_completion_list.
* ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
this function is static.
bwilson [Tue, 5 Feb 2008 19:39:08 +0000 (19:39 +0000)]
2008-02-05 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (relax_frag_immed): Change internal consistency
checks into assertions. When relaxation produces an operation that
does not fit in the current FLIX instruction, make sure that the
operation is relaxed as needed to account for being placed following
the current instruction.
corinna [Tue, 5 Feb 2008 17:37:10 +0000 (17:37 +0000)]
* autoload.cc (CharToOemA): Remove.
(CharNextExA): Define.
* environ.cc (codepage_init): Un-static. Set active_codepage to
active codepage. Default to ansi regardless of buf pointer.
* fhandler.h (dev_console::get_console_cp): New method.
(dev_console::con_to_str): Change declaration according to new
implementation.
(dev_console::str_to_con): Ditto.
* fhandler_console.cc (cp_convert): Remove.
(dev_console::con_to_str): Redefine to take WCHAR as incoming console
char.
(dev_console::get_console_cp): Return correct codepage according to
alternate_charset_active setting.
(dev_console::str_to_con): Redefine to create WCHAR buffer for console
output.
(fhandler_console::read): Read console input as WCHARs.
(base_chars): Fix typo in comment.
(fhandler_console::char_command): Save and restore console output
buffer using UNICODE functions.
(fhandler_console::write_normal): Convert to write output in UNICODE.
Use CharNextExA to recognize multibyte characters in input. Workaround
problem with UTF-8 and MultiByteToWideChar. Simplify the loop for
printing "normal" characters.
* strfuncs.cc (active_codepage): New variable to store active codepage.
(get_cp): Call codepage_init() if active_codepage is uninitialized.
Just return active_codepage.
(is_cp_multibyte): New function.
* winsup.h (active_codepage): Declare.
(codepage_init): Declare.
(is_cp_multibyte): Declare.
kevinb [Tue, 5 Feb 2008 16:20:20 +0000 (16:20 +0000)]
* mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
to account for call site optimizations.
jimb [Tue, 5 Feb 2008 16:05:56 +0000 (16:05 +0000)]
2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
* tracepoint.c (read_actions): Handle end-of-text indicator
in action list properly. (Committed by Jim Blandy)
jimb [Tue, 5 Feb 2008 15:56:32 +0000 (15:56 +0000)]
Fix changelog entry.
jimb [Tue, 5 Feb 2008 15:54:34 +0000 (15:54 +0000)]
* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
pseudoregister, not an internal error.
macro [Tue, 5 Feb 2008 14:07:05 +0000 (14:07 +0000)]
* generic/gdbtk-varobj.c (variable_children): Adjust
for varobj_list_children change.
gdbadmin [Tue, 5 Feb 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
iant [Mon, 4 Feb 2008 23:53:15 +0000 (23:53 +0000)]
Print PHDRS clause for debugging.
bwilson [Mon, 4 Feb 2008 23:41:53 +0000 (23:41 +0000)]
binutils/testsuite/
* binutils-all/objdump.exp (cpus_expected): Add xtensa.
ld/testsuite/
* ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.
bwilson [Mon, 4 Feb 2008 23:13:24 +0000 (23:13 +0000)]
* elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
relocation, do not continue processing it. Ignore R_XTENSA_ASM_EXPAND
relocations against dynamic symbols.
(elf_xtensa_finish_dynamic_sections): Do not fail if there is no
.xt.lit section.
amodra [Mon, 4 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update
iant [Mon, 4 Feb 2008 22:54:31 +0000 (22:54 +0000)]
Implement PHDRS.
iant [Mon, 4 Feb 2008 22:44:35 +0000 (22:44 +0000)]
Treat an empty directory argument as the current directory.
hjl [Mon, 4 Feb 2008 19:59:20 +0000 (19:59 +0000)]
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
hjl [Mon, 4 Feb 2008 19:43:50 +0000 (19:43 +0000)]
bfd/
2008-02-04 Kai Tietz <kai.tietz@onevision.com>
H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* warning.m4: Enable -Wno-format by default when using gcc on
mingw.
* configure: Regenerated.
binutils/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
gas/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
ld/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
opcodes/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
nemet [Mon, 4 Feb 2008 19:26:11 +0000 (19:26 +0000)]
* mips-dis.c: Update copyright.
(mips_arch_choices): Add Octeon.
* mips-opc.c: Update copyright.
(IOCT): New macro.
(mips_builtin_opcodes): Add Octeon instruction synciobdma.
nemet [Mon, 4 Feb 2008 19:25:05 +0000 (19:25 +0000)]
* mips.h: Update copyright.
(INSN_CHIP_MASK): New macro.
(INSN_OCTEON): New macro.
(CPU_OCTEON): New macro.
(OPCODE_IS_MEMBER): Handle Octeon instructions.
nemet [Mon, 4 Feb 2008 19:21:25 +0000 (19:21 +0000)]
* mips.h: Update copyright.
(E_MIPS_MACH_OCTEON): New macro.
nemet [Mon, 4 Feb 2008 19:20:16 +0000 (19:20 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add Octeon.
nemet [Mon, 4 Feb 2008 19:19:43 +0000 (19:19 +0000)]
* gas/mips/mips.exp: Call mips_arch_create for Octeon. Invoke
Octeon tests.
* gas/mips/octeon.s, gas/mips/octeon.d: New test.
nemet [Mon, 4 Feb 2008 19:16:53 +0000 (19:16 +0000)]
* readelf.c (get_machine_flags): Handle Octeon.
nemet [Mon, 4 Feb 2008 19:15:50 +0000 (19:15 +0000)]
* archures.c: Update copyright.
(bfd_mach_mips_octeon): New macro.
* bfd-in2.h: Regenerate.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
(mips_set_isa_flags): Likewise.
(mips_mach_extensions): Add Octeon.
* cpu-mips.c: Update copyright.
(I_mipsocteon): New enum constant.
(arch_info_struct): Add Octeon.
iant [Mon, 4 Feb 2008 17:26:12 +0000 (17:26 +0000)]
From Craig Silverstein: support @file expansion.
ams [Mon, 4 Feb 2008 17:26:07 +0000 (17:26 +0000)]
2008-02-04 Antony King <antony.king@st.com>
* interp.c (macl): Fix non-portable implementation.
corinna [Mon, 4 Feb 2008 12:02:26 +0000 (12:02 +0000)]
* Makefile.in: Don't link strfuncs.o from the Cygwin build dir.
Build it again with __OUTSIDE_CYGWIN__ defined.
corinna [Mon, 4 Feb 2008 12:00:19 +0000 (12:00 +0000)]
* smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type.
* strfuncs.cc (sys_wcstombs_alloc): Guard use of ccalloc
to !__OUTSIDE_CYGWIN__ for use in cygserver.
(sys_mbstowcs_alloc): Ditto.
vprus [Mon, 4 Feb 2008 07:49:03 +0000 (07:49 +0000)]
* varobj.c (c_value_of_variable): Use xstrdup.
iant [Mon, 4 Feb 2008 06:45:50 +0000 (06:45 +0000)]
Implement SIZEOF_HEADERS, section constraints, other minor linker
script items.
vprus [Mon, 4 Feb 2008 06:14:19 +0000 (06:14 +0000)]
Update stored rendition of varobj value when format changes.
* varobj.c (varobj_set_display_format): Recomputed
print_value.
(c_value_of_variable): Return print_value.
iant [Mon, 4 Feb 2008 05:46:12 +0000 (05:46 +0000)]
Fully implement SECTIONS clause.