OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago * gas/m68k/all.exp: Skip fmoveml on fido.
kazu [Fri, 4 May 2007 15:45:21 +0000 (15:45 +0000)]
* gas/m68k/all.exp: Skip fmoveml on fido.

17 years ago* elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn sections
nickc [Fri, 4 May 2007 14:17:06 +0000 (14:17 +0000)]
* elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn sections
  are present examine the indirect sections in an attempt to compute the
  correct relocation size.  If there is any ambiguity, produce an error and
  refuse to sort.

17 years ago Add support for asnprintf, and improve *printf documentation.
ericb [Fri, 4 May 2007 02:55:16 +0000 (02:55 +0000)]
Add support for asnprintf, and improve *printf documentation.
* libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
(ELIX_2_SOURCES): ...to this.
(ELIX_4_SOURCES): Add new variable.  Build asnprintf.
(GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
(CHEWOUT_FILES): Include diprintf in documentation.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/diprintf.c: Improve documentation.
* libc/stdio/dprintf.c: Likewise.
* libc/stdio/siprintf.c: Likewise.
* libc/stdio/sprintf.c: Likewise.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/viprintf.c: Likewise.
* libc/stdio/vsniprintf.c: Consolidate documentation.
* libc/stdio/asiprintf.c: Refer to documentation.
* libc/stdio/asprintf.c: Likewise.
* libc/stdio/fiprintf.c: Likewise.
* libc/stdio/fprintf.c: Likewise.
* libc/stdio/iprintf.c: Likewise.
* libc/stdio/printf.c: Likewise.
* libc/stdio/sniprintf.c: Likewise.
* libc/stdio/vdiprintf.c: Likewise.
* libc/stdio/vdprintf.c: Likewise.
* libc/stdio/vsiprintf.c: Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
* libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
* libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
* libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
file.
* libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
* libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
typical case.
* libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
* libc/include/stdio.h: Add prototypes for new functions; sort
existing functions.

17 years ago2007-05-03 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 4 May 2007 00:44:36 +0000 (00:44 +0000)]
2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4460
* gas/i386/gotpc.s: Add a new test.
* gas/i386/reloc64.s: Likewise.

* gas/i386/gotpc.d: Updated.
* gas/i386/reloc64.d: Likewise.

17 years ago PR gas/4460
amodra [Fri, 4 May 2007 00:02:47 +0000 (00:02 +0000)]
PR gas/4460
* config/tc-i386.c (lex_got): Don't replace the reloc token with
a space if we already have a space.

17 years agodaily update
amodra [Fri, 4 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 4 May 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * filename_cmp.c: Replace include of ctype.h by include of
brobecke [Thu, 3 May 2007 23:40:11 +0000 (23:40 +0000)]
    * filename_cmp.c: Replace include of ctype.h by include of
        safe-ctype.h.
        (filename_cmp): Use TOLOWER instead of tolower for conversions
        that are locale-independent.
        * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.

17 years agogas/
hjl [Thu, 3 May 2007 21:07:14 +0000 (21:07 +0000)]
gas/

2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Don't explicitly check
suffix for crc32 in Intel mode.
(process_suffix): Issue an error for crc32 if the operand size
is ambiguous.

gas/testsuite/

2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/crc32-intel.d: Updated.
* gas/i386/crc32.d: Likewise.
* gas/i386/sse4_2.d: Likewise.
* gas/i386/x86-64-crc32-intel.d: Likewise.
* gas/i386/x86-64-crc32.d: Likewise.
* gas/i386/x86-64-sse4_2.d: Likewise.

* gas/i386/crc32.s: Remove crc32 instructions with ambiguous
operand size and suffix in crc32 instructions in Intel mode.
* gas/i386/x86-64-crc32.s: Likewise.

* gas/i386/sse4_2.s: Remove crc32 instructions with ambiguous
operand size.
* gas/i386/x86-64-sse4_2.s: Likewise.

* gas/i386/i386.exp: Run inval-crc32 and x86-64-inval-crc32.

* gas/i386/inval-crc32.l: New.
* gas/i386/inval-crc32.s: Likewise.
* gas/i386/x86-64-inval-crc32.l: Likewise.
* gas/i386/x86-64-inval-crc32.s: Likewise.

opcodes/

2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): Don't print suffix in Intel mode.

* i386-opc.c (i386_optab): Remove IgnoreSize and correct operand
type for crc32.

17 years ago * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
kazu [Thu, 3 May 2007 19:45:26 +0000 (19:45 +0000)]
* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
and memset.S.
* libc/machine/m68k/Makefile.in: Regenerate.
* libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
* libc/machine/m68k/memset.S: Likewise.

17 years ago * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
bwilson [Thu, 3 May 2007 19:31:01 +0000 (19:31 +0000)]
* scripttempl/elfxtensa.sc: Merge changes from elf.sc.

17 years ago2007-05-03 Sandra Loosemore <sandra@codesourcery.com>
sandra [Thu, 3 May 2007 19:27:14 +0000 (19:27 +0000)]
2007-05-03  Sandra Loosemore  <sandra@codesourcery.com>

bfd/
* elf32-arm.c (allocate_dynrelocs): Fix typo in comment.

17 years ago * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
kevinb [Thu, 3 May 2007 17:51:18 +0000 (17:51 +0000)]
* mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
point arguments, test explicitly for use of the EABI32 ABI
instead of inferring this condition from tests on register
sizes.

17 years ago * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
kevinb [Thu, 3 May 2007 17:42:25 +0000 (17:42 +0000)]
* breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
prior to allocating its location.

17 years agoPR gas/3041
nickc [Thu, 3 May 2007 15:55:38 +0000 (15:55 +0000)]
PR gas/3041
* gas/config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
    (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
     (md_apply_fix): Put zero values into the frags referencing weak symbols.
* bfd/aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols in the same way as relocs against external symbols.

17 years ago * ld.texinfo (--no-warn-search-mismatch): Document.
amodra [Thu, 3 May 2007 09:24:16 +0000 (09:24 +0000)]
* ld.texinfo (--no-warn-search-mismatch): Document.
* ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
incompatible libraries if --no-warn-search-mismatch.
* ld.h (args_type): Add warn_search_mismatch.
* ldmain.c (main): Init it.
* lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
(ld_options): Add entry for --no-warn-search-mismatch.
(parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.

17 years ago * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
amodra [Thu, 3 May 2007 07:06:12 +0000 (07:06 +0000)]
* scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.

17 years ago * m68k/fido-_exit.c (_exit): Use stop #0x700.
kazu [Thu, 3 May 2007 01:19:45 +0000 (01:19 +0000)]
* m68k/fido-_exit.c (_exit): Use stop #0x700.

17 years ago*** empty log message ***
gdbadmin [Thu, 3 May 2007 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 3 May 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years agoinclude/elf/
amodra [Wed, 2 May 2007 13:44:36 +0000 (13:44 +0000)]
include/elf/
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
and vma for appropriate sections.
bfd/
* elf.c (assign_file_positions_for_load_sections): Set sh_offset
here.  Set sh_type to SHT_NOBITS if we won't be allocating
file space.  Don't bump p_memsz for non-alloc sections.  Adjust
section-in-segment check.
(assign_file_positions_for_non_load_sections): Don't set sh_offset
here for sections that have already been handled above.

17 years ago* mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
macro [Wed, 2 May 2007 13:39:50 +0000 (13:39 +0000)]
* mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
based on mips_abi_regsize() whose result is known in advance.
(mips_o64_push_dummy_call): Likewise.

17 years agogas/
amodra [Wed, 2 May 2007 11:24:16 +0000 (11:24 +0000)]
gas/
PR 4448
* config/tc-ppc.c (ppc_insert_operand): Don't increase min for
PPC_OPERAND_PLUS1.
include/opcode/
* ppc.h (PPC_OPERAND_PLUS1): Update comment.

17 years ago * binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
amodra [Wed, 2 May 2007 10:38:00 +0000 (10:38 +0000)]
* binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
(copy_executable): Return early if test2 is blank.
Return unsupported rather than unresolved if we can't run
executables.  Do test1 if we can compile.

17 years agocommit the Robert's removal of "warning:"
amodra [Wed, 2 May 2007 01:22:40 +0000 (01:22 +0000)]
commit the Robert's removal of "warning:"

17 years agodaily update
amodra [Wed, 2 May 2007 00:00:38 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 2 May 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * libc/stdio64/local64.h: Delete, move contents to...
ericb [Tue, 1 May 2007 23:03:36 +0000 (23:03 +0000)]
* libc/stdio64/local64.h: Delete, move contents to...
* libc/stdio/local.h: ...here.
* libc/stdio64/fdopen64.c: Update includes.
* libc/stdio64/fopen64.c: Likewise.
* libc/stdio64/freopen64.c: Likewise.
* libc/stdio64/fseeko64.c: Likewise.
* libc/stdio64/ftello64.c: Likewise.
* libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
and stderr with 64-bit offset.
* libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
* libc/stdio/makebuf.c (__smakebuf_r): Likewise.
* libc/stdio/mktemp.c (_gettemp): Likewise.

17 years ago2007-05-01 Cary R. <cygcary <at> yahoo.com>
jjohnstn [Tue, 1 May 2007 18:42:15 +0000 (18:42 +0000)]
2007-05-01  Cary R.  <cygcary <at> yahoo.com>

        * libm/math/e_pow.c: Fix to be consistent with glibc with regards
        to treatment of NaN and +-inf arguments.
        * libm/math/ef_pow.c: Ditto.
        * libm/math/w_pow.c: Ditto.
        * libm/math/wf_pow.c: Ditto.
        * libm/math/w_acos.c: Fix domain errors to return NaN.
        * libm/math/w_asin.c: Ditto.
        * libm/math/wf_acos.c: Ditto.
        * libm/math/wf_asin.c: Ditto.
        * libm/math/w_log.c: Fix to return NaN for negative number inputs.
        * libm/math/wf_log.c: Ditto.
        * libm/math/wf_log10.c: Ditto.
        * libm/math/w_log10.c: Ditto.

17 years ago * ldlang.c (lang_check): Error on architecture mismatch.
amodra [Tue, 1 May 2007 13:35:34 +0000 (13:35 +0000)]
* ldlang.c (lang_check): Error on architecture mismatch.

17 years agogas/config/
hjl [Tue, 1 May 2007 12:59:21 +0000 (12:59 +0000)]
gas/config/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Check suffix for crc32 in
Intel mdoe.
(process_suffix): Default the suffix of 8bit crc32 to
BYTE_MNEM_SUFFIX.
(check_byte_reg): Skip check for 8bit crc32.

gas/testsuite/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/crc32-intel.d: New file.
* gas/i386/crc32.d:Likewise.
* gas/i386/crc32.s:Likewise.
* gas/i386/x86-64-crc32-intel.d:Likewise.
* gas/i386/x86-64-crc32.d:Likewise.
* gas/i386/x86-64-crc32.s:Likewise.

* gas/i386/i386.exp: Run crc32, crc32-intel, x86-64-crc32
and x86-64-crc32-intel.

opcodes/

2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
check data size prefix in 16bit mode.

* i386-opc.c (i386_optab): Default crc32 to non-8bit and
support Intel mode.

17 years ago*** empty log message ***
gdbadmin [Tue, 1 May 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 1 May 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years agobfd/
amodra [Mon, 30 Apr 2007 14:06:39 +0000 (14:06 +0000)]
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add stack_analysis
and emit_stack_syms bitfields.
(get_sym_h): Read all symbols if stack analysis will be done.
(spu_elf_create_sections): Add stack_analysis and emit_stack_syms
params, and stash in hash table.
(is_hint): Split off from..
(is_branch): ..here.  Adjust callers.
(spu_elf_size_stubs): Add stack_analysis param.  Arrange to read
and keep all syms.
(write_one_stub): Fix mem leak.
(find_function_stack_adjust): New function.
(sort_syms_syms, sort_syms_psecs): New vars.
(sort_syms): New function.
(struct call_info, struct function_info): New.
(struct spu_elf_stack_info): New.
(alloc_stack_info, maybe_insert_function, func_name): New functions.
(is_nop, insns_at_end, check_function_ranges): Likewise.
(find_function, insert_callee, mark_functions_via_relocs): Likewise.
(pasted_function, interesting_section, discover_functions): Likewise.
(mark_non_root, call_graph_traverse, build_call_tree): Likewise.
(sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise.
(bfd_elf32_bfd_final_link): Define.
* elf32-spu.h (struct _spu_elf_section_data): Add stack_info field.
(spu_elf_create_sections, spu_elf_size_stubs): Update prototypes.
include/
* bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
ld/
* ldmain.c (link_callbacks): Init info and minfo fields.
* ldmisc.c (minfo): Do nothing if no map file.
* emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
(spu_after_open): Adjust spu_elf_create_sections call.
(spu_before_allocation): Likewise for spu_elf_size_stubs.
(OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
(PARSE_AND_LIST_LONGOPTS): Add new entries.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
* gen-doc.texi: Add @set for SPU and other missing targets.
* ld.texinfo: Update man page selection to match gen-doc.texi.
Document SPU features.

17 years ago2007-04-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 30 Apr 2007 13:42:38 +0000 (13:42 +0000)]
2007-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Use register_prefix in
error/warning message.
(check_byte_reg): Likewise.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.
(process_operands): Likewise.

17 years agoSupport new FR-V SPRs
msalter [Mon, 30 Apr 2007 13:21:50 +0000 (13:21 +0000)]
Support new FR-V SPRs

17 years agoopcodes/
amodra [Mon, 30 Apr 2007 00:27:57 +0000 (00:27 +0000)]
opcodes/
PR 4436
* ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
gas/
PR 4436
* config/tc-ppc.c (ppc_insert_operand): Disable range check if
min > max.

17 years agodaily update
amodra [Mon, 30 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 30 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
uweigand [Sun, 29 Apr 2007 19:44:21 +0000 (19:44 +0000)]
* m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
* m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.

* mips-linux-nat.c: Include "gregset.h".
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
from mips-linux-tdep.c.  Change parameter type to gdb_gregset_t.
* mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_fpregset): Move to mips-linux-nat.c.

* Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.

17 years ago * gdb.java/jmain.exp: Handle demangled names with and without method
drow [Sun, 29 Apr 2007 17:13:57 +0000 (17:13 +0000)]
* gdb.java/jmain.exp: Handle demangled names with and without method
signatures.

17 years ago * gdb.mi/mi-syn-frame.c (main, foo, bar)
drow [Sun, 29 Apr 2007 16:20:50 +0000 (16:20 +0000)]
* gdb.mi/mi-syn-frame.c (main, foo, bar)
(have_a_very_merry_interrupt): Remove calls to puts.
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
inferior output.
* lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio.  Correct
test names.

17 years ago * gdb.base/auxv.exp (core_works): Also check is_remote.
drow [Sun, 29 Apr 2007 15:48:45 +0000 (15:48 +0000)]
* gdb.base/auxv.exp (core_works): Also check is_remote.
* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.

17 years ago * regcache.c (deprecated_read_register_gen): Remove, inline ...
uweigand [Sun, 29 Apr 2007 01:51:50 +0000 (01:51 +0000)]
* regcache.c (deprecated_read_register_gen): Remove, inline ...
(read_register): ... here.
(deprecated_write_register_gen): Remove, inline ...
(write_register): ... here.
* regcache.h (deprecated_read_register_gen): Remove prototype.
(deprecated_write_register_gen): Likewise.

* remote-sim.c (gdbsim_store_register): Replace call to
deprecated_read_register_gen with regcache_cooked_read.
* target.c (debug_print_register): Replace calls to
deprecated_read_register_gen and read_register with
regcache_cooked_read.

17 years agodaily update
amodra [Sun, 29 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 29 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * hpux-thread.c (hpux_thread_store_registers): Use
uweigand [Sat, 28 Apr 2007 22:51:33 +0000 (22:51 +0000)]
* hpux-thread.c (hpux_thread_store_registers): Use
regcache_raw_collect, not regcache_raw_read.
* irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
not regcache_raw_write.

17 years ago * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access
ths [Sat, 28 Apr 2007 22:31:45 +0000 (22:31 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access
memory which we might not own.

17 years ago * config/tc-mips.c: Fix comment.
ths [Sat, 28 Apr 2007 22:12:58 +0000 (22:12 +0000)]
* config/tc-mips.c: Fix comment.

17 years ago * gdbarch.sh: Remove deprecated_register_byte.
uweigand [Sat, 28 Apr 2007 21:52:38 +0000 (21:52 +0000)]
* gdbarch.sh: Remove deprecated_register_byte.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.h (generic_register_size, generic_register_byte): Remove.
* arch-utils.c (generic_register_size, generic_register_byte): Remove.

* regcache.h (regcache_valid_p): Make REGCACHE parameter const.
* regcache.c (regcache_valid_p): Allow to query cooked registers in
read-only register caches.  Make REGCACHE parameter const.
(regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.

* mi/mi-main.c (old_regs): Remove.
(mi_setup_architecture_data, _initialize_mi_main): Remove.
(register_changed_p): Reimplement to compare two register caches.
(mi_cmd_data_list_changed_registers): Update caller.
* mi/mi-main.h (mi_setup_architecture_data): Remove.
* mi/mi-interp.c (mi_interpreter_init): Do not call
mi_setup_architecture_data.

17 years ago * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
uweigand [Sat, 28 Apr 2007 18:15:01 +0000 (18:15 +0000)]
* alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
inline definition at the places the macros are used.
* alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.

17 years ago * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
uweigand [Sat, 28 Apr 2007 16:46:59 +0000 (16:46 +0000)]
* rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
"gdb_string.h".
(rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
(rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
(rs6000_aix32_regset, rs6000_aix64_regset): New variables.
(rs6000_aix_regset_from_core_section): New function.
(rs6000_aix_init_osabi): Register it.
(_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
* rs6000-nat.c (CoreRegs): Do not define type.
(fetch_core_registers, rs6000_core_fns): Remove.
(_initialize_core_rs6000): Do not register it.  Rename to ...
(_initialize_rs6000_nat): ... this.
* Makefile.in (rs6000-aix-tdep.o): Update dependencies.

17 years ago * ldcref.c (struct cref_hash_entry): Make "demangled" const.
amodra [Sat, 28 Apr 2007 06:04:28 +0000 (06:04 +0000)]
* ldcref.c (struct cref_hash_entry): Make "demangled" const.
(cref_fill_array): Adjust for changed demangler.
* ldlang.c (lang_one_common): Likewise.

17 years ago * prdbg.c (tg_variable): Adjust for changed demangler.
amodra [Sat, 28 Apr 2007 06:03:36 +0000 (06:03 +0000)]
* prdbg.c (tg_variable): Adjust for changed demangler.
(tg_start_function): Likewise.

17 years agodaily update
amodra [Sat, 28 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 28 Apr 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * dwarf2expr.c (unsigned_address_type): Add forward declaration.
kevinb [Fri, 27 Apr 2007 22:34:56 +0000 (22:34 +0000)]
* dwarf2expr.c (unsigned_address_type): Add forward declaration.
(dwarf2_read_address): Sign extend return address as required by
target architecture.

17 years ago * solib-frv.c (lm_base): Bail out if the main executable has
kevinb [Fri, 27 Apr 2007 22:20:06 +0000 (22:20 +0000)]
* solib-frv.c (lm_base): Bail out if the main executable has
not been relocated.

17 years ago2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 27 Apr 2007 22:10:46 +0000 (22:10 +0000)]
2007-04-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/m68k/Makefile.am: Temporarily remove
        memcpy.S and memset.S until logic can be confirmed for
        !(__mcoldfile__) case.
        * libc/machine/m68k/Makefile.in: Regenerated.

17 years ago * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
uweigand [Fri, 27 Apr 2007 20:57:46 +0000 (20:57 +0000)]
* alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
of FPCR register in fpregset.

17 years ago * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.
bwilson [Fri, 27 Apr 2007 20:10:47 +0000 (20:10 +0000)]
* elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise.
(elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local.

17 years ago * elf32-xtensa.c (xtensa_read_table_entries): Step through table
bwilson [Fri, 27 Apr 2007 19:57:39 +0000 (19:57 +0000)]
* elf32-xtensa.c (xtensa_read_table_entries): Step through table
contents and relocs in parallel.

17 years ago2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 27 Apr 2007 19:47:30 +0000 (19:47 +0000)]
2007-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (modrm): Put reg before rm.

17 years ago * elf32-xtensa.c (relax_property_section): Remove extra irel increment.
bwilson [Fri, 27 Apr 2007 18:28:21 +0000 (18:28 +0000)]
* elf32-xtensa.c (relax_property_section): Remove extra irel increment.

17 years ago * ld-m68k/plt1-isac.d: New.
nathan [Fri, 27 Apr 2007 16:24:18 +0000 (16:24 +0000)]
* ld-m68k/plt1-isac.d: New.
* ld-m68k/m68k.exp: Add it.

17 years ago2007-04-27 Kazu Hirata <kazu@codesourcery.com>
jjohnstn [Fri, 27 Apr 2007 16:05:35 +0000 (16:05 +0000)]
2007-04-27  Kazu Hirata  <kazu@codesourcery.com>

* libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
and memset.S.
* libc/machine/m68k/Makefile.in: Regenerate.
* libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.

17 years ago2007-04-27 Kazu Hirata <kazu@codesourcery.com>
jjohnstn [Fri, 27 Apr 2007 16:00:45 +0000 (16:00 +0000)]
2007-04-27  Kazu Hirata  <kazu@codesourcery.com>

        * libgloss/m68k/fido.sc: Catch .text.*, .rodata.*, .data.*,
        .bss.*, .ctor.*, and .dtor.*.  Wrap ctor/dtor-related sections
        with KEEP.

17 years agogdb/:
macro [Fri, 27 Apr 2007 15:39:49 +0000 (15:39 +0000)]
gdb/:
* Makefile.in (gdbtk-wrapper.o): Update dependencies.
(gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.

gdb/gdbtk/:
* generic/gdbtk-wrapper.c (GDB_varobj_update): New function.
(wrap_varobj_update): Likewise.
* generic/gdbtk-wrapper.h (GDB_varobj_update): New declaration.
* generic/gdbtk-varobj.c (variable_update): Call
GDB_varobj_update() rather than varobj_update() directly.  Take
the new semantics of the latter into account.
* generic/gdbtk-cmds.c: Include "varobj.h".
* generic/gdbtk-stack.c: Likewise.

17 years ago* include/cygwin/time.h: Use __cdecl on declaration. Remove
cgf [Fri, 27 Apr 2007 13:34:25 +0000 (13:34 +0000)]
* include/cygwin/time.h: Use __cdecl on declaration.  Remove
declarations which are duplicated in include/time.h.

17 years ago * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
uweigand [Fri, 27 Apr 2007 13:26:05 +0000 (13:26 +0000)]
* config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
* rs6000-nat.c (rs6000_wait): New function.
(_initialize_core_rs6000): Install it as to_wait target method.
* target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.

17 years ago * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
uweigand [Fri, 27 Apr 2007 13:23:47 +0000 (13:23 +0000)]
* config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
* fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
* rs6000-nat.c (super_create_inferior): New variable.
(rs6000_create_inferior): Make static.  Adapt argument list.  Call
original version of create_inferior via super_create_inferior.
(_initialize_core_rs6000): Install to_create_inferior target method.

17 years ago * aix-thread.c (aix_thread_xfer_memory): Replace by ...
uweigand [Fri, 27 Apr 2007 13:22:18 +0000 (13:22 +0000)]
* aix-thread.c (aix_thread_xfer_memory): Replace by ...
(aix_thread_xfer_partial): ... this.
(init_aix_thread_ops): Install to_xfer_partial instead
of deprecated_xfer_memory target method.

* config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
and inftarg.o, add inf-ptrace.o.
* config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
* rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
(fetch_inferior_registers): Rename to ...
(rs6000_fetch_inferior_registers): ... this.  Make static.
(store_inferior_registers): Rename to ...
(rs6000_store_inferior_registers): ... this.  Make static.
(read_word, child_xfer_memory): Remove.
(rs6000_xfer_partial): New function.
(kernel_u_size): Remove.
(_initialize_core_rs6000): Add inf_ptrace-based target.
* Makefile.in (rs6000-nat.o): Update dependencies.

17 years ago * inf-ptrace.c: Include "gdb_stdint.h".
uweigand [Fri, 27 Apr 2007 13:20:59 +0000 (13:20 +0000)]
* inf-ptrace.c: Include "gdb_stdint.h".
(inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
(inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
before casting CORE_ADDR to PTRACE_TYPE_ARG3.
(inf_ptrace_store_register): Likewise.
* Makefile.in (inf-ptrace.o): Update dependencies.

17 years ago * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
uweigand [Fri, 27 Apr 2007 13:19:48 +0000 (13:19 +0000)]
* configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
* configure.tgt (rs6000-*-*): Likewise.
* config/rs6000/aix4.mh: Delete file.
* config/rs6000/aix4.mt: Delete file.
* config/rs6000/rs6000.mh: Delete file.
* config/rs6000/rs6000.mt: Delete file.

* config/powerpc/nm-aix.h: Delete file.
* config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.

17 years ago * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
uweigand [Fri, 27 Apr 2007 13:17:27 +0000 (13:17 +0000)]
* aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
Remove obsolete part of comment.
(store_regs_user_thread): Use uint32_t temporaries when calling
fill_sprs32.
(store_regs_kernel_thread): Likewise.  Add assertion to verify
correct size of struct ptsprs members.
(aix_thread_xfer_memory): Fix type of myaddr.
(aix_thread_extra_thread_info): Fix compiler warning.
* rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
(fetch_register, store_register): Adapt callers.

17 years ago * vec.h (vec_free): Rename to vec_free_. Adapt users.
uweigand [Fri, 27 Apr 2007 13:16:19 +0000 (13:16 +0000)]
* vec.h (vec_free): Rename to vec_free_.  Adapt users.

17 years agogas/testsuite/
hjl [Fri, 27 Apr 2007 04:21:59 +0000 (04:21 +0000)]
gas/testsuite/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4430
* gas/i386/amd.d: Updated.
* gas/i386/immed32.d: Likewise.
* gas/i386/intel.d: Likewise.
* gas/i386/intel16.d: Likewise.
* gas/i386/intelok.d: Likewise.
* gas/i386/jump16.d: Likewise.
* gas/i386/naked.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/prescott.d: Likewise.
* gas/i386/ssemmx2.d: Likewise.
* gas/i386/tlsd.d: Likewise.
* gas/i386/tlspic.d: Likewise.
* gas/i386/x86-64-addr32.d: Likewise.
* gas/i386/x86-64-prescott.d: Likewise.
* gas/i386/x86-64-rip.d: Likewise.
* gas/i386/x86_64.d: Likewise.

ld/testsuite/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4430
* ld-i386/tlsbin.dd: Updated.
* ld-i386/tlsbindesc.dd: Likewise
* ld-i386/tlsdesc.dd: Likewise
* ld-i386/tlsgdesc.dd: Likewise
* ld-i386/tlsnopic.dd: Likewise
* ld-i386/tlspic.dd: Likewise
* ld-x86-64/tlsbin.dd: Likewise
* ld-x86-64/tlsbindesc.dd: Likewise
* ld-x86-64/tlsdesc.dd: Likewise
* ld-x86-64/tlsgdesc.dd: Likewise
* ld-x86-64/tlspic.dd: Likewise

opcodes/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4430
* i386-dis.c (print_displacement): New.
(OP_E): Call print_displacement instead of print_operand_value
to output displacement when either base or index exist.  Print
the explicit zero displacement in 16bit mode.

17 years agoWrite Mimi's name in ASCII.
amodra [Fri, 27 Apr 2007 03:37:42 +0000 (03:37 +0000)]
Write Mimi's name in ASCII.

17 years ago * emulparams/elf32_sparc.sh: Update comments.
amodra [Fri, 27 Apr 2007 00:09:31 +0000 (00:09 +0000)]
* emulparams/elf32_sparc.sh: Update comments.
* emulparams/elf32bmip.sh: Likewise.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/vxworks.sh: Likewise.

17 years agodaily update
amodra [Fri, 27 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 27 Apr 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Thu, 26 Apr 2007 19:23:37 +0000 (19:23 +0000)]
2007-04-26  Patrick Mansfield <patmans@us.ibm.com>

        * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
        overridden via machine/ieeefp.h.
        * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
        macros for isnan and related macros.
        * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
        overridden via machine/ieeefp.h.
        * libm/machine/spu/Makefile.am: Add new files.
        * libm/machine/spu/Makefile.in: Autogenerate with new files.
        * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
        * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
        * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
        * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
        * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
        * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
        * libm/machine/spu/sf_nan.c: Add SPU specific nanf.

17 years agogas/testsuite/
hjl [Thu, 26 Apr 2007 18:15:46 +0000 (18:15 +0000)]
gas/testsuite/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4429
* gas/i386/i386.exp: Run "x86-64-addr32-intel" and
"x86-64-rip-intel".

* gas/i386/intelok.d: Updated.

* gas/i386/x86-64-addr32-intel.d: New file.
* gas/i386/x86-64-rip-intel.d: Likewise.

opcodes/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4429
* i386-dis.c (print_insn): Also swap the order of op_riprel
when swapping op_index.  Break when the RIP relative address
is printed.
(OP_E): Properly handle RIP relative addressing and print the
explicit zero displacement for Intel mode.

17 years ago * config/tc-avr.c (mcu_types): Add support for atmega8hva and
denisc [Thu, 26 Apr 2007 17:18:23 +0000 (17:18 +0000)]
* config/tc-avr.c (mcu_types): Add support for atmega8hva and
atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
* doc/c-avr.texi: Document new devices.

17 years agobfd/
amodra [Thu, 26 Apr 2007 14:58:50 +0000 (14:58 +0000)]
bfd/
* sysdep.h: Include config.h first.
Many files: Include sysdep.h before bfd.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* bucumm.h: Split off host dependencies to..
* sysdep.h: ..here.
Many files: Include sysdep.h.  Remove duplicate headers and reorder.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
Many files: Include sysdep.h first.  Remove duplicate headers.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ns32k-dis.c: Include sysdep.h first.

17 years agobfd/
amodra [Thu, 26 Apr 2007 14:46:55 +0000 (14:46 +0000)]
bfd/
Many files: Include sysdep.h before bfd.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* bucumm.h: Split off host dependencies to..
* sysdep.h: ..here.
Many files: Include sysdep.h.  Remove duplicate headers and reorder.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
Many files: Include sysdep.h first.  Remove duplicate headers.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ns32k-dis.c: Include sysdep.h first.

17 years agoRevert the value change of DT_ENCODING from 2003-01-17. Luckily (and
jbeulich [Thu, 26 Apr 2007 06:59:55 +0000 (06:59 +0000)]
Revert the value change of DT_ENCODING from 2003-01-17. Luckily (and
surprisingly) the value isn't really being used anywhere, henc no other
changes are needed.

include/elf/
2007-04-26  Jan Beulich  <jbeulich@novell.com>

* common.h (DT_ENCODING): Correct value (back to spec mandated
value).

17 years agomerge from gcc
dj [Thu, 26 Apr 2007 03:13:46 +0000 (03:13 +0000)]
merge from gcc

17 years ago * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
uweigand [Thu, 26 Apr 2007 00:13:12 +0000 (00:13 +0000)]
* alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
and "regcache.h".
(alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
(alpha_linux_gregset, alpha_linux_fpregset): New variables.
(alpha_linux_regset_from_core_section): New function.
(alpha_linux_init_abi): Install it.
* alpha-linux-nat.c: Do not include "gdbcore.h".  Include
"alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
<sys/procfs.h>, and "gregset.h".
(ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
Move from config/alpha/nm-linux.h.
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
from alpha-nat.c.
(alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
* alpha-nat.c: Remove #ifdef __linux__ section.
(fetch_elf_core_registers, alpha_elf_core_fns): Remove.
(_initialize_core_alpha): Do not register alpha_elf_core_fns.
(ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
(ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
* config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
(NATDEPFILES): Remove alpha-nat.o.
* config/alpha/nm-linux.h: Delete file.
* config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
* Makefile.in (alpha-linux-nat.o): Update dependencies.
(alpha-linux-tdep.o): Likewise.

17 years agodaily update
amodra [Thu, 26 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 26 Apr 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 25 Apr 2007 22:28:19 +0000 (22:28 +0000)]
2007-04-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
        * libm/common/sf_fpclassify.c: ...here.  New file.
        * libm/common/Makefile.am: Add sf_fpclassify.c.
        * libm/common/Makefile.in: Regenerated.

17 years ago * mips-linux-nat.c: No longer include "gdbcore.h".
uweigand [Wed, 25 Apr 2007 22:22:11 +0000 (22:22 +0000)]
* mips-linux-nat.c: No longer include "gdbcore.h".
(mips_linux_register_addr): Move from mips-linux-tdep.c.
(mips64_linux_register_addr): Likewise.
(mips_linux_register_u_offset): Call mips_linux_register_addr or
mips64_linux_register_addr instead of register_addr.
* mips-linux-tdep.c (mips_linux_register_addr,
mips64_linux_register_addr): Move to mips-linux-nat.c.
(register_addr): Remove.
(register_addr_data, init_register_addr_data): Remove.
(_initialize_mips_linux_tdep): Do not initialize register_addr_data.
(set_mips_linux_register_addr): Remove.
(mips_linux_init_abi): Do not call set_mips_linux_register_addr.
* Makefile.in (mips-linux-nat.o): Update dependencies.

17 years ago * linux-nat.c (linux_register_u_offset): Remove.
uweigand [Wed, 25 Apr 2007 22:17:47 +0000 (22:17 +0000)]
* linux-nat.c (linux_register_u_offset): Remove.
(linux_target_install_ops): New function.
(linux_target): Use it.
(linux_trad_target): New function.
* linux-nat.h (linux_trad_target): Declare.

* alpha-linux-nat.c: Include "gdbcore.h".
(alpha_linux_register_u_offset): New function.
(_initialize_alpha_linux_nat): Use linux_trad_target.

* mips-linux-nat.c: Include "gdbcore.h".
(mips_linux_register_u_offset): New function.
(_initialize_mips_linux_nat): Use linux_trad_target.

* config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/arm/nm-linux.h: Delete file.

* config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
* config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.

* config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/ia64/nm-linux.h: Delete file.

* config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/m32r/nm-linux.h: Delete file.

* config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/m68k/nm-linux.h: Delete file.

* config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/pa/nm-linux.h: Delete file.

* config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
* config/powerpc/nm-linux.h: Delete file.

* config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
* config/s390/nm-linux.h: Delete file.

* config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/sparc/linux64.mh (NAT_FILE): Likewise.
* config/sparc/nm-linux.h: Delete file.

* Makefile.in (alpha-linux-nat.o): Update dependencies.
(mips-linux-nat.o): Likewise.

17 years ago * core-aout.c: Delete file.
uweigand [Wed, 25 Apr 2007 22:10:06 +0000 (22:10 +0000)]
* core-aout.c: Delete file.
* Makefile.in (ALLDEPFILES): Remove core-aout.c.
(core-aout.o): Delete rule.
* gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.

        * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.

        * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
        * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
        KERNEL_U_ADDR): Remove.

        * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
        (cannot_fetch_register, cannot_store_register): Remove.
        (fetch_register): Inline cannot_fetch_register and register_addr.
        (store_register): Inline cannot_store_register and register_addr.
        * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
        * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
        REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
        Remove.

        * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
        (fetch_register): Inline register_addr.
        (store_register): Inline register_addr.
        * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
        * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
        U_REGS_OFFSET, REGISTER_U_ADDR): Remove.

        * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
        * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
        REGISTER_U_ADDR): Remove.

        * hppa-linux-nat.c (register_addr): Rename to ...
        (hppa_linux_register_addr): ... this.  Make static.
        (fetch_register, store_register): Adapt callers.
        * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.

        * ppc-linux-nat.c (kernel_u_size): Remove.
        * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.

* vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
* config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
(NAT_FILE): Remove.
* config/vax/nm-vax.h: Delete file.

17 years ago2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 25 Apr 2007 20:45:39 +0000 (20:45 +0000)]
2007-04-25  Patrick Mansfield <patmans@us.ibm.com>

* libc/machine/spu/sys/errno.h: New file, so spu errno values match
ppu linux values. This file is a copy of the cris/sys/errno.h plus
a few changes (see spu errno.h comments).

17 years ago2007-04-25 Eric Blake <ebb9@byu.net>
jjohnstn [Wed, 25 Apr 2007 19:47:36 +0000 (19:47 +0000)]
2007-04-25  Eric Blake  <ebb9@byu.net>

        * libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
        that promote to int.

17 years ago2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 25 Apr 2007 17:36:32 +0000 (17:36 +0000)]
2007-04-25  Patrick Mansfield <patmans@us.ibm.com>

        * feholdexcept.h: Use *envp not env so we clear the proper bits in
        the fpscr, and don't set some random ones.

17 years ago * gdb.base/sigaltstack.exp: Use 'srcfile' in error
vprus [Wed, 25 Apr 2007 15:56:15 +0000 (15:56 +0000)]
* gdb.base/sigaltstack.exp: Use 'srcfile' in error
message, not the undefined 'module' variable.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp: Likewise.
* lib/gdbserver-support.exp (gdb_target_cmd): Quote
serialport.
* lib/mi-support.exp (mi_gdb_target_cmd): Likewise.

17 years ago * config/sim.exp (gdb_target_sim): Just return with -1 when setting
corinna [Wed, 25 Apr 2007 11:38:44 +0000 (11:38 +0000)]
* config/sim.exp (gdb_target_sim): Just return with -1 when setting
target sim fails.  Return 0 otherwise.
(gdb_load): Return prematurely if gdb_target_sim fails.