OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago * miscfuncs.cc (next_char): Fix typos in comment.
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.

16 years ago Remove dependency from Cygwin internal code.
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.

16 years agoSupport creating empty output when there are no input objects.
iant [Wed, 6 Feb 2008 20:32:10 +0000 (20:32 +0000)]
Support creating empty output when there are no input objects.

16 years agoFix group signature handling for relocatable link, add bootstrap
iant [Wed, 6 Feb 2008 19:32:32 +0000 (19:32 +0000)]
Fix group signature handling for relocatable link, add bootstrap
relocatable test.

16 years ago * fhandler.h (fhandler_console::trunc_buf): Add to use as cache for
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.

16 years ago* remote-mips.c (set_breakpoint): Rename to...
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.

16 years agoUpdated Malasian translation.
nickc [Wed, 6 Feb 2008 09:05:38 +0000 (09:05 +0000)]
Updated Malasian translation.

16 years agoInitial -r support.
iant [Wed, 6 Feb 2008 08:13:50 +0000 (08:13 +0000)]
Initial -r support.

16 years ago * gas/mips/mips.exp: Invoke the tests smartmips, mips32-dsp,
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.

16 years ago* simops.c (OP_1C007E0): Compensate for 64 bit hosts.
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.

16 years ago * gdb.base/callfuncs.c (t_float_many_args): New function.
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.

16 years agoIndex: ChangeLog
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.

16 years ago*** empty log message ***
gdbadmin [Wed, 6 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 5 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoFrom Ollie Wild: add missing backquote to install-exec-local.
iant [Tue, 5 Feb 2008 22:22:09 +0000 (22:22 +0000)]
From Ollie Wild: add missing backquote to install-exec-local.

16 years ago * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
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.

16 years ago * language.h (struct language_defn): Add new field
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.

16 years ago2008-02-05 Sterling Augustine <sterling@tensilica.com>
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.

16 years ago * autoload.cc (CharToOemA): Remove.
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.

16 years ago * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
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.

16 years ago2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
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)

16 years agoFix changelog entry.
jimb [Tue, 5 Feb 2008 15:56:32 +0000 (15:56 +0000)]
Fix changelog entry.

16 years ago* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
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.

16 years ago* generic/gdbtk-varobj.c (variable_children): Adjust
macro [Tue, 5 Feb 2008 14:07:05 +0000 (14:07 +0000)]
* generic/gdbtk-varobj.c (variable_children): Adjust
for varobj_list_children change.

16 years ago*** empty log message ***
gdbadmin [Tue, 5 Feb 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoPrint PHDRS clause for debugging.
iant [Mon, 4 Feb 2008 23:53:15 +0000 (23:53 +0000)]
Print PHDRS clause for debugging.

16 years agobinutils/testsuite/
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*.

16 years ago * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
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.

16 years agodaily update
amodra [Mon, 4 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoImplement PHDRS.
iant [Mon, 4 Feb 2008 22:54:31 +0000 (22:54 +0000)]
Implement PHDRS.

16 years agoTreat an empty directory argument as the current directory.
iant [Mon, 4 Feb 2008 22:44:35 +0000 (22:44 +0000)]
Treat an empty directory argument as the current directory.

16 years ago2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
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.

16 years agobfd/
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.

16 years ago * mips-dis.c: Update copyright.
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.

16 years ago * mips.h: Update copyright.
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.

16 years ago * mips.h: Update copyright.
nemet [Mon, 4 Feb 2008 19:21:25 +0000 (19:21 +0000)]
* mips.h: Update copyright.
(E_MIPS_MACH_OCTEON): New macro.

16 years ago * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
nemet [Mon, 4 Feb 2008 19:20:16 +0000 (19:20 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add Octeon.

16 years ago * gas/mips/mips.exp: Call mips_arch_create for Octeon. Invoke
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.

16 years ago * readelf.c (get_machine_flags): Handle Octeon.
nemet [Mon, 4 Feb 2008 19:16:53 +0000 (19:16 +0000)]
* readelf.c (get_machine_flags): Handle Octeon.

16 years ago * archures.c: Update copyright.
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.

16 years agoFrom Craig Silverstein: support @file expansion.
iant [Mon, 4 Feb 2008 17:26:12 +0000 (17:26 +0000)]
From Craig Silverstein: support @file expansion.

16 years ago2008-02-04 Antony King <antony.king@st.com>
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.

16 years ago * Makefile.in: Don't link strfuncs.o from the Cygwin build dir.
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.

16 years ago * smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type.
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.

16 years ago * varobj.c (c_value_of_variable): Use xstrdup.
vprus [Mon, 4 Feb 2008 07:49:03 +0000 (07:49 +0000)]
* varobj.c (c_value_of_variable): Use xstrdup.

16 years agoImplement SIZEOF_HEADERS, section constraints, other minor linker
iant [Mon, 4 Feb 2008 06:45:50 +0000 (06:45 +0000)]
Implement SIZEOF_HEADERS, section constraints, other minor linker
script items.

16 years ago Update stored rendition of varobj value when format changes.
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.

16 years agoFully implement SECTIONS clause.
iant [Mon, 4 Feb 2008 05:46:12 +0000 (05:46 +0000)]
Fully implement SECTIONS clause.

16 years agoFully implement the SECTIONS clause.
iant [Mon, 4 Feb 2008 05:43:05 +0000 (05:43 +0000)]
Fully implement the SECTIONS clause.

16 years agoFully implement the SECTIONS clause.
iant [Mon, 4 Feb 2008 05:41:39 +0000 (05:41 +0000)]
Fully implement the SECTIONS clause.

16 years ago * elf32-spu.c (spu_elf_relocate_section): Correct return type.
amodra [Mon, 4 Feb 2008 01:13:37 +0000 (01:13 +0000)]
* elf32-spu.c (spu_elf_relocate_section): Correct return type.
Return error status on unexpected relocation errors.

16 years ago * eval.c (evaluate_subexp_standard): Fix type of result of mixed
devans [Mon, 4 Feb 2008 00:23:04 +0000 (00:23 +0000)]
* eval.c (evaluate_subexp_standard): Fix type of result of mixed
integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
* valops.c (value_one): New function.
* value.h (value_one): Declare.

Fix argument promotion for binary arithmetic ops for C.
* valarith.c (unop_result_type): New fn.
(binop_result_type): New fn.
(value_binop): Move result type computation to binop_result_type.
(value_pos, value_neg, value_complement): Move result type
computation to unop_result_type.

* gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.

16 years ago PR ld/5692
amodra [Mon, 4 Feb 2008 00:09:03 +0000 (00:09 +0000)]
PR ld/5692
* elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31.  Instead abort
on non-ELF input.
* elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
processing on non-ELF input.

16 years ago*** empty log message ***
gdbadmin [Mon, 4 Feb 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 3 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoadd copyright
devans [Sun, 3 Feb 2008 22:17:05 +0000 (22:17 +0000)]
add copyright

16 years ago PR 2384
devans [Sun, 3 Feb 2008 22:13:26 +0000 (22:13 +0000)]
PR 2384
* gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
Return basetype, fieldno if found.  All callers updated.
Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
objfile.
* gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
* symfile.h (fill_in_vptr_fieldno): Delete.

* gdb.cp/gdb2384.exp: New file.
* gdb.cp/gdb2384.cc: New file.
* gdb.cp/gdb2384-base.h: New file.
* gdb.cp/gdb2384-base.cc: New file.

16 years ago* gdb.texinfo (Help): Summarize 'info args' correctly.
jimb [Sun, 3 Feb 2008 18:55:27 +0000 (18:55 +0000)]
* gdb.texinfo (Help): Summarize 'info args' correctly.

16 years ago * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
devans [Sun, 3 Feb 2008 01:51:04 +0000 (01:51 +0000)]
* valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.

16 years ago * typeprint.c (*): Whitespace cleanup.
devans [Sun, 3 Feb 2008 01:02:46 +0000 (01:02 +0000)]
* typeprint.c (*): Whitespace cleanup.

16 years ago * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
devans [Sun, 3 Feb 2008 00:42:55 +0000 (00:42 +0000)]
* gdb.base/sigall.c (main): Ensure all signals aren't blocked.

16 years ago*** empty log message ***
gdbadmin [Sun, 3 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 2 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
hp [Sat, 2 Feb 2008 22:19:04 +0000 (22:19 +0000)]
* configure.ac: Enable fortran for cris-*-elf and crisv32-*-elf.
* configure: Regenerate.

16 years ago2008-02-01 Brian Dessent <brian@dessent.net>
ironhead [Sat, 2 Feb 2008 14:14:49 +0000 (14:14 +0000)]
2008-02-01  Brian Dessent  <brian@dessent.net>

        * Makefile.in: Add rules to generate multiple versions of libmoldname.a for
        the different runtime versions.

16 years ago2008-02-02 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 2 Feb 2008 13:19:23 +0000 (13:19 +0000)]
2008-02-02  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/specstrings.h: new file, move pseudo modifiers from windef.h.
        * include/windef.h (__in, __inout, __in_opt, __in_bcound, __in_ecount,
        __out, __out_ecount_part, __struct_bcount, __field_ecount_opt,
        __out_bcount_opt): Move to specstrings.h.

16 years agoDon't record file offset for CIEs.
iant [Sat, 2 Feb 2008 06:50:45 +0000 (06:50 +0000)]
Don't record file offset for CIEs.

16 years ago Luis Machado <luisgpm@br.ibm.com>
kettenis [Sat, 2 Feb 2008 00:07:57 +0000 (00:07 +0000)]
Luis Machado  <luisgpm@br.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
don't fit into registerson the stack the way GCC does.

16 years ago*** empty log message ***
gdbadmin [Sat, 2 Feb 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.ada/sym_print_name: New test program.
brobecke [Fri, 1 Feb 2008 23:15:36 +0000 (23:15 +0000)]
    * gdb.ada/sym_print_name: New test program.
        * gdb.ada/sym_print_name.exp: New testcase.

16 years ago * symtab.c (symbol_set_names): Do not add an entry in the demangling
brobecke [Fri, 1 Feb 2008 23:12:23 +0000 (23:12 +0000)]
    * symtab.c (symbol_set_names): Do not add an entry in the demangling
        hash table for Ada symbols. Just store the linkage name as is,
        and leave the demangled_name as NULL.

16 years agodaily update
amodra [Fri, 1 Feb 2008 23:00:08 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.ada/nested/hello.adb: New file.
brobecke [Fri, 1 Feb 2008 22:48:16 +0000 (22:48 +0000)]
    * gdb.ada/nested/hello.adb: New file.
        * gdb.ada/nested.exp: New testcase.
        * gdb.ada/Makefile.in (EXECUTABLES): Update list.

16 years ago * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
brobecke [Fri, 1 Feb 2008 22:45:13 +0000 (22:45 +0000)]
    * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
        in the global scope.
        (new_symbol): Likewise.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
bwilson [Fri, 1 Feb 2008 18:32:06 +0000 (18:32 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
* configure.ac (xtensa*-*-*): Recognize processor variants.
* configure: Regenerate.

16 years ago2008-01-31 Marc Gauthier <marc@tensilica.com>
bwilson [Fri, 1 Feb 2008 17:58:46 +0000 (17:58 +0000)]
2008-01-31  Marc Gauthier  <marc@tensilica.com>
bfd/
* config.bfd (xtensa*-*-*): Recognize processor variants.
gas/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
gas/testsuite/
* gas/all/gas.exp: Recognize Xtensa processor variants.
* gas/elf/elf.exp: Likewise.
* gas/lns/lns.exp: Likewise.
ld/
* configure.tgt (xtensa*-*-*): Recognize processor variants.
ld/testsuite/
* ld-elf/merge.d: Recognize Xtensa processor variants.
* ld-xtensa/coalesce.exp: Likewise.
* ld-xtensa/lcall.exp: Likewise.

16 years ago * breakpoint.c (break_command_1): Return void.
vprus [Fri, 1 Feb 2008 16:24:46 +0000 (16:24 +0000)]
    * breakpoint.c (break_command_1): Return void.
        (break_command_really): Return void.  Rethrow
        exceptions instead of returning.
        (gdb_breakpoint): Remove the error_message parameter.
        Return void.  Rename to set_breakpoint.
        * gdb.h (gdb_breakpoint): Rename and move to...
* breakpoint.h (set_breakpoint): ...here.
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
        event hooks even if exception is thrown.  Adjust to
        gdb_breakpoint interface changes.

16 years ago * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
bauermann [Fri, 1 Feb 2008 15:04:17 +0000 (15:04 +0000)]
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
float in both first and second word in the doubleword, to support
old and new ABIs.

16 years ago * miscfuncs.cc (cygwin_wcsncasecmp): Never access more than n
corinna [Fri, 1 Feb 2008 13:11:55 +0000 (13:11 +0000)]
* miscfuncs.cc (cygwin_wcsncasecmp): Never access more than n
characters.
(cygwin_strncasecmp): Ditto.  Fix for strings longer than n.

16 years ago * string.h: Re-enable inline strcasematch and strncasematch
corinna [Fri, 1 Feb 2008 12:37:50 +0000 (12:37 +0000)]
* string.h: Re-enable inline strcasematch and strncasematch
implementations and rename to ascii_strcasematch/ascii_strncasematch.
* dcrt0.cc: Replace str[n]casematch with ascii_str[n]casematch where
applicable.
* environ.cc: Ditto.
* fhandler_process.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* strace.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.
* winf.cc: Ditto.

16 years ago Properly rethrow exception. This fixes errors
vprus [Fri, 1 Feb 2008 06:47:18 +0000 (06:47 +0000)]
Properly rethrow exception.  This fixes errors
about non-existent functions for -break-insert.
        * breakpoint.c (break_command_really): Use throw_exception
        for rethrowing.  If rethrowing, don't print the exception.

16 years agoFrom Cary Coutant: Ignore hidden symbols in a dynamic object.
iant [Fri, 1 Feb 2008 00:42:24 +0000 (00:42 +0000)]
From Cary Coutant: Ignore hidden symbols in a dynamic object.

16 years agoFrom Cary Coutant: Fix a case in which code takes the address of a
iant [Fri, 1 Feb 2008 00:39:09 +0000 (00:39 +0000)]
From Cary Coutant: Fix a case in which code takes the address of a
function and also calls it directly.

16 years ago * hostio.c: Don't include errno.h.
palves [Fri, 1 Feb 2008 00:08:25 +0000 (00:08 +0000)]
* hostio.c: Don't include errno.h.
(errno_to_fileio_errno): Move to hostio-errno.
* hostio.c: (hostio_error): Remove the error parameter.  Defer the
error number outputting to the target->hostio_last_error callback.
(hostio_packet_error): Use FILEIO_EINVAL directly.
(handle_open, handle_pread, hostio_error, handle_unlink): Update
calls to hostio_error.
* hostio-errno.c: New.
* server.h (hostio_last_error_from_errno): Declare.
* target.h (target_ops): Add hostio_last_error member.
* linux-low.c (linux_target_op): Register hostio_last_error_from_errno
as hostio_last_error handler.
* spu-low.c (spu_target_ops): Likewise.
* win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error)
(wince_hostio_last_error): New functions.
(win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error
as hostio_last_error handler.
(win32_target_ops) [!_WIN32_WCE]: Register
hostio_last_error_from_errno as hostio_last_error handler.
* Makefile.in (SFILES): Add hostio.c and hostio-errno.c.
(hostio-errno.o): New rule.
* configure.ac (GDBSERVER_DEPFILES): Add $srv_hostio_err_objs.
* configure.srv (srv_hostio_err_objs): New variable.  Default to
hostio-errno.o.
(arm*-*-mingw32ce*): Set srv_hostio_err_objs to "".
* configure: Regenerate.

16 years ago*** empty log message ***
gdbadmin [Fri, 1 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 31 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * NEWS: Mention Decimal Floating Point support.
bauermann [Thu, 31 Jan 2008 21:07:34 +0000 (21:07 +0000)]
* NEWS: Mention Decimal Floating Point support.

16 years ago * dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current
corinna [Thu, 31 Jan 2008 20:25:59 +0000 (20:25 +0000)]
* dcrt0.cc (dll_crt0_1): Use GetCommandLineW and convert to current
codepage.
* environ.cc (set_file_api_mode): Always set file api to ANSI if not
using the OEM codepage.
(codepage_init): Allow "utf8" codepage.
* fhandler_clipboard.cc (set_clipboard): Convert clipbuf to void and
cast as needed.  Always convert input to wide char and write
CF_UNICODETEXT to clipboard.
(fhandler_dev_clipboard::read): Read CF_UNICODETEXT from clipboard and
convert to current codepage if CYGWIN_NATIVE format is not available.
* fhandler_console.cc: Drop redundant undef.
* smallprint.cc (__small_vsprintf): Convert PWCHAR and UNICODE_STRING
to current codepage for printing.
* strfuncs.cc: Use PWCHAR throughout.
(get_cp): Return CP_UTF8 for utf8_cp codepage setting.
(sys_wcstombs): Allow NULL target buffer.
(sys_wcstombs_alloc): New function.
(sys_mbstowcs_alloc): Ditto.
* winsup.h (codepage_type): Add utf8_cp.
(HEAP_NOTHEAP): Define.
(sys_wcstombs_alloc): Declare.
(sys_mbstowcs_alloc): Declare.

16 years ago * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
brobecke [Thu, 31 Jan 2008 20:03:38 +0000 (20:03 +0000)]
    * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
        value type to builtin_type_void_func_ptr.

16 years ago * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
luisgpm [Thu, 31 Jan 2008 16:00:25 +0000 (16:00 +0000)]
* gdb.arch/ppc64-atomic-inst.c: New testcase source file.
* gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.

16 years ago2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Thu, 31 Jan 2008 15:43:31 +0000 (15:43 +0000)]
2008-01-31  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-tdep.c (is_float_singleton, is_float_like,
alignment_of, s390_return_value): Make checks for
TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.

16 years ago * gdb.pascal/integers.pas: New test program.
muller [Thu, 31 Jan 2008 14:49:22 +0000 (14:49 +0000)]
* gdb.pascal/integers.pas: New test program.
* gdb.pascal/integers.exp: New testcase.

16 years ago * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
muller [Thu, 31 Jan 2008 14:46:21 +0000 (14:46 +0000)]
* gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.

16 years ago * cygheap.h (struct cwdstuff): Add dir member to store cwd handle.
corinna [Thu, 31 Jan 2008 14:18:48 +0000 (14:18 +0000)]
* cygheap.h (struct cwdstuff): Add dir member to store cwd handle.
(cwdstuff::get_handle): New method.
* path.cc (cwdstuff::set): When doit is true, always try to get
directory handle.  Fail if duplicating handle fails.  Store handle
in dir.  Fix potential SEGV when setting drive_length.

16 years ago2008-01-30 Luis Machado <luisgpm@br.ibm.com>
bauermann [Thu, 31 Jan 2008 13:41:37 +0000 (13:41 +0000)]
2008-01-30  Luis Machado  <luisgpm@br.ibm.com>

* gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
* gdb.arch/powerpc-d128-regs.c: New testcase source file.

16 years ago * gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers
bauermann [Thu, 31 Jan 2008 13:38:49 +0000 (13:38 +0000)]
* gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers
available in PowerPC architecture.
(Embedded Processors): Change node name of PowerPC item in menu.
(PowerPC): Rename to...
(PowerPC Embedded): this.
(Architectures): Add new PowerPC item in menu.
(PowerPC): New node.

16 years ago2008-01-30 Luis Machado <luisgpm@br.ibm.com>
bauermann [Thu, 31 Jan 2008 13:37:20 +0000 (13:37 +0000)]
2008-01-30  Luis Machado  <luisgpm@br.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* infcmd.c (default_print_registers_info): Also print hex
raw contents for TYPE_CODE_DECFLOAT registers.
* ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
* rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
(rs6000_register_name): Add support for DFP pseudo-registers.
(rs6000_pseudo_register_type): Likewise.
rs6000_pseudo_register_reggroup_p): Likewise.
(ppc_pseudo_register_read): New function.
(ppc_pseudo_register_write): Likewise.
(rs6000_pseudo_register_read): Likewise.
(rs6000_pseudo_register_write): Likewise.
(e500_pseudo_register_read): Move checks to
rs6000_pseudo_register_read.
(e500_pseudo_register_write): Move checks to
rs6000_pseudo_register_write.
(rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
rs6000_pseudo_register_read and rs6000_pseudo_register_write
in gdbarch if SPE or DFP is available.  Adjust gdbarch's
num_pseudo_regs to account for DFP pseudo regs.

16 years ago * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
bauermann [Thu, 31 Jan 2008 13:22:39 +0000 (13:22 +0000)]
* ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
* rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
(spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
e500_pseudo_register_read, e500_pseudo_register_write): Use
IS_SPE_PSEUDOREG macro.
(rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
(rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
Remove initialization of tdep->ppc_ev31_regnum.

16 years agoPR ld/5692
nickc [Thu, 31 Jan 2008 10:48:35 +0000 (10:48 +0000)]
PR ld/5692
* elf.c (bfd_elf_get_elf_syms): Check the return value of get_elf_backend_data.

16 years ago2008-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
bonzini [Thu, 31 Jan 2008 10:39:43 +0000 (10:39 +0000)]
2008-01-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

        PR bootstrap/34922
        * configure.ac (PARSE_ARGS): Push suitable setting of
        ac_subdirs_all, for `./configure --help=recursive'.
        Handle `+' in generic toplevel directory disabling.
        * configure: Regenerate.