OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years agogdb/:
macro [Tue, 22 May 2007 10:57:09 +0000 (10:57 +0000)]
gdb/:
* ser-unix.c (show_serial_hwflow): New function.
(hardwire_raw): Add hardware flow control support.
(_initialize_ser_hardwire): Add "set/show remoteflow".
* Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
* NEWS: Document the new command.

gdb/doc/:
* gdb.texinfo (Remote Configuration): Document "set/show
remoteflow".

17 years agoUse @copying around copyright notices
nickc [Tue, 22 May 2007 09:16:35 +0000 (09:16 +0000)]
Use @copying around copyright notices

17 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Don't invalidate
corinna [Tue, 22 May 2007 07:16:18 +0000 (07:16 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Don't invalidate
devbuf if new position is within buffered range.

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

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

17 years ago* bfdint.texi: Add GNU Free Documentation License notice.
nickc [Mon, 21 May 2007 16:39:51 +0000 (16:39 +0000)]
* bfdint.texi: Add GNU Free Documentation License notice.

17 years agoMove entry for modification to dwarf2.h (for adding ability to report
ctice [Mon, 21 May 2007 16:36:40 +0000 (16:36 +0000)]
Move entry for modification to dwarf2.h (for adding ability to report
when a variable's value is uninitialized) to the correct ChangeLog file.

17 years agoMove entry for modification to dwarf2.h (for adding ability to report
ctice [Mon, 21 May 2007 16:35:11 +0000 (16:35 +0000)]
Move entry for modification to dwarf2.h (for adding ability to report
when a variable's value is uninitialized) to the correct ChangeLog file.

17 years agomoved to the attic to please handling of src-support module
bonzini [Mon, 21 May 2007 16:07:45 +0000 (16:07 +0000)]
moved to the attic to please handling of src-support module

17 years agoadd this momentarily, will move them to the attic soon
bonzini [Mon, 21 May 2007 16:05:57 +0000 (16:05 +0000)]
add this momentarily, will move them to the attic soon

17 years ago * include/search.h (hsearch_r): Provide declaration.
corinna [Mon, 21 May 2007 13:34:11 +0000 (13:34 +0000)]
* include/search.h (hsearch_r): Provide declaration.

17 years ago * config/i386/tm-linux.h (sys_quotactl): Do not define.
uweigand [Mon, 21 May 2007 13:20:53 +0000 (13:20 +0000)]
* config/i386/tm-linux.h (sys_quotactl): Do not define.
* configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
define for i[[3456]]86-*-linux* native configurations.
* config.in, configure: Regenerate.

17 years ago * config/i386/tm-linux.h (sys_quotactl): Do not define.
uweigand [Mon, 21 May 2007 13:20:42 +0000 (13:20 +0000)]
* config/i386/tm-linux.h (sys_quotactl): Do not define.
* configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
define for i[[3456]]86-*-linux* native configurations.
* config.in, configure: Regenerate.

17 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Set buf size to
corinna [Mon, 21 May 2007 09:11:22 +0000 (09:11 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Set buf size to
sector size.  Simplify non-sector aligned case.  Handle errors from
raw_read.

17 years agobinutils/
rsandifo [Mon, 21 May 2007 06:35:58 +0000 (06:35 +0000)]
binutils/
* objdump.c (disassemble_bytes): Ignore disassembler_needs_relocs
for executables and shared libraries.

ld/testsuite/
* ld-arm/emit-relocs1.d, ld-arm/emit-relocs1.s,
* ld-arm/emit-relocs1-vxworks.d: New tests.
* ld-arm/arm-elf.exp: Run them.
* ld-arm/vxworks1.dd: Expect proper branch targets.

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

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

17 years ago*** empty log message ***
gdbadmin [Sun, 20 May 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

17 years ago2007-05-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sat, 19 May 2007 23:52:44 +0000 (23:52 +0000)]
2007-05-19  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shellapi.h (NIN_POPUPOPEN, NIN_POPUPCLOSE): Define.

17 years ago * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
brobecke [Sat, 19 May 2007 23:50:04 +0000 (23:50 +0000)]
    * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
        a core file. Add comment in the function description.

17 years agodaily update
amodra [Sat, 19 May 2007 00:00:13 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 19 May 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoAccidentally left this out of previous commit; part of adding ability
ctice [Fri, 18 May 2007 19:45:19 +0000 (19:45 +0000)]
Accidentally left this out of previous commit; part of adding ability
to report when a variable's value is uninitialized.

17 years agoAdd ability to report when a variable's value is uninitialized,
ctice [Fri, 18 May 2007 19:42:36 +0000 (19:42 +0000)]
Add ability to report when a variable's value is uninitialized,
based on information provided by the compiler.  Also add new
DWARF OP, DW_OP_GNU_uninit, for this purpose.

17 years agoAdd self to 'Write After Approval' list.
ctice [Fri, 18 May 2007 19:23:12 +0000 (19:23 +0000)]
Add self to 'Write After Approval' list.

17 years ago * ld-elf/group.ld: Discard .reginfo.
jsm28 [Fri, 18 May 2007 19:04:49 +0000 (19:04 +0000)]
* ld-elf/group.ld: Discard .reginfo.

17 years ago * config/tc-mips.c (s_mipsset): Use generic s_set for directives
jsm28 [Fri, 18 May 2007 19:03:52 +0000 (19:03 +0000)]
* config/tc-mips.c (s_mipsset): Use generic s_set for directives
containing a comma.

17 years ago* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
ericb [Fri, 18 May 2007 14:33:28 +0000 (14:33 +0000)]
* libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
compilers.
* libc/stdio/vfscanf.c: Likewise.

17 years agold/
rsandifo [Fri, 18 May 2007 09:18:18 +0000 (09:18 +0000)]
ld/
* emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
(OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.

17 years ago * objcopy.c (strip_main): Detect identical input and output file
nathan [Fri, 18 May 2007 06:36:08 +0000 (06:36 +0000)]
* objcopy.c (strip_main): Detect identical input and output file
names.
(copy_main): Refactor tempname detection and use.

17 years ago * ppc-dis.c (print_insn_powerpc): Don't skip all operands
amodra [Fri, 18 May 2007 01:32:56 +0000 (01:32 +0000)]
* ppc-dis.c (print_insn_powerpc): Don't skip all operands
after setting skip_optional.

17 years ago2007-05-18 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 18 May 2007 00:25:03 +0000 (00:25 +0000)]
2007-05-18  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define.
(a2t1v5_ldr_insn, a2t1v5_ldr_insn): New.
(record_arm_to_thumb_glue): Add v5t non-pic glue.
(elf32_arm_create_thumb_stub): Ditto.

ld/testsuite/
* ld-arm/arm-call.d: Update expected output.

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

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

17 years ago2007-05-17 Cary R. <cygcary <at> yahoo.com>
jjohnstn [Thu, 17 May 2007 21:52:11 +0000 (21:52 +0000)]
2007-05-17  Cary R.  <cygcary <at> yahoo.com>

        * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
        (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
        * libm/math/wf_atan2.c: Ditto.

17 years ago * gdbtypes.c (make_reference_type): Preserve the type chain
brobecke [Thu, 17 May 2007 20:15:36 +0000 (20:15 +0000)]
    * gdbtypes.c (make_reference_type): Preserve the type chain
        and set the length of all the variants of the pointer type.

17 years ago2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
jjohnstn [Thu, 17 May 2007 18:50:56 +0000 (18:50 +0000)]
2007-05-17  Yaakov Selkowitz  <yselkowitz <at> users.sourceforge.net>

        * libm/common/Makefile.am: Add support for exp10, exp10f,
        pow10, and pow10f functions.
        * libm/common/Makefile.in: Regenerated.
        * libm/common/s_pow10.c: New file.
        * libm/common/sf_pow10.c: Ditto.
        * libm/common/s_exp10.c: Ditto.
        * libm/common/sf_exp10.c: Ditto.
        * libc/include/math.h [!pow10]: New pow10 prototype.
        [!pow10f]: New pow10f prototype.
        [!exp10]: New exp10 prototype.
        [!exp10f]: New exp10f prototype.

17 years agoMove testsuite entries to testsuite/ChangeLog.
hjl [Thu, 17 May 2007 17:31:21 +0000 (17:31 +0000)]
Move testsuite entries to testsuite/ChangeLog.

17 years ago2007-05-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 17 May 2007 17:27:25 +0000 (17:27 +0000)]
2007-05-17  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/4517
2003-06-05  Michal Ludvig  <mludvig@suse.cz>
* as.texinfo: Document new directives: .cfi_restore,
.cfi_undefined, .cfi_same_value, .cfi_return_column,
.cfi_remember_state and .cfi_restore_state.

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

2003-06-05  Michal Ludvig  <mludvig@suse.cz>
* testsuite/gas/cfi/cfi-x86_64.s: Test new directives
and different writings of registers and numbers.
* testsuite/gas/cfi/cfi-x86_64.d: Updated pattern to
match the above change.

17 years ago2007-05-17 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 17 May 2007 16:54:38 +0000 (16:54 +0000)]
2007-05-17  Paul Brook  <paul@codesourcery.com>

ld/testsuite/
* ld-elf/multibss1.s: Use %nobits instead of @nobits.

17 years ago * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
brobecke [Thu, 17 May 2007 16:38:25 +0000 (16:38 +0000)]
    * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
        and set the length of all the variants of the pointer type.

17 years ago* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
macro [Thu, 17 May 2007 13:28:48 +0000 (13:28 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
comment.
(mips_o64_push_dummy_call): Reformat a comment.

17 years ago * ld-m68k/merge-error-1a.d: Mismatch is an error.
nathan [Thu, 17 May 2007 13:11:41 +0000 (13:11 +0000)]
* ld-m68k/merge-error-1a.d: Mismatch is an error.
* ld-m68k/merge-error-1b.d: Likewise.
* ld-m68k/merge-error-1c.d: Likewise.
* ld-m68k/merge-error-1d.d: Likewise.
* ld-m68k/merge-error-1e.d: Likewise.

17 years ago * config/tc-m68k.c (md_apply_fix): Show value of out of range
nathan [Thu, 17 May 2007 13:10:41 +0000 (13:10 +0000)]
* config/tc-m68k.c (md_apply_fix): Show value of out of range
fixups in error message.
(md_conver_frag_1): Propagate the fix source location and use
as_bad_where rather than fatal, for better error messages.

17 years ago* stdio/tmpfile.c: Include <sys/stat.h>.
ericb [Thu, 17 May 2007 12:10:28 +0000 (12:10 +0000)]
* stdio/tmpfile.c: Include <sys/stat.h>.
* stdio64/tmpfile64.c: Ditto.

17 years ago* gdb.base/sigbpt.exp: Preset segv_addr.
macro [Thu, 17 May 2007 12:09:31 +0000 (12:09 +0000)]
* gdb.base/sigbpt.exp: Preset segv_addr.

17 years ago* objdump.c (load_debug_section): Select bias for DWARF debug addresses based on...
nickc [Thu, 17 May 2007 08:39:18 +0000 (08:39 +0000)]
* objdump.c (load_debug_section): Select bias for DWARF debug addresses based on the flavour of the bfd.

17 years ago2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
qinwei [Thu, 17 May 2007 03:15:42 +0000 (03:15 +0000)]
2007-05-17  Qinwei  <qinwei@sunnorth.com.cn>

* score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
(score_prologue_frame_base_address): Return fp to keep gdb print
local variables correctly when debugging information is stabs.

(score_analyze_prologue): For software watchpoint, fetch all the
instructions from range [startaddr, pc] once and identify them locally
to reduce memory access.
(score_malloc_and_get_memblock, score_free_memblock)
(score_adjust_memblock_ptr): New functions.
(score_fetch_inst): Fetch single instruction or mutiple instructions.

(score_target_can_use_watch, score_stopped_by_watch)
(score_target_insert_watchpoint, score_target_remove_watchpoint)
(score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
New functions for remote & local hw-watchpoint and hw-breakpoint.

17 years ago2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
qinwei [Thu, 17 May 2007 03:14:56 +0000 (03:14 +0000)]
2007-05-17  Qinwei  <qinwei@sunnorth.com.cn>

        * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
        (score_prologue_frame_base_address): Return fp to keep gdb print
        local variables correctly when debugging information is stabs.

        (score_analyze_prologue): For software watchpoint, fetch all the
        instructions from range [startaddr, pc] once and identify them locally
        to reduce memory access.
        (score_malloc_and_get_memblock, score_free_memblock)
        (score_adjust_memblock_ptr): New functions.
        (score_fetch_inst): Fetch single instruction or mutiple instructions.

        (score_target_can_use_watch, score_stopped_by_watch)
        (score_target_insert_watchpoint, score_target_remove_watchpoint)
        (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
        New functions for remote & local hw-watchpoint and hw-breakpoint.

17 years ago * ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
bergner [Thu, 17 May 2007 00:52:14 +0000 (00:52 +0000)]
* ppc-dis.c (operand_value_powerpc, skip_optional_operands): New.
(print_insn_powerpc): Use the new operand_value_powerpc and
skip_optional_operands functions to omit or print all optional
operands as a group.
* ppc-opc.c (BFF, W, XFL_L, XWRA_MASK): New.
(XFL_MASK): Delete L and W bits from the mask.
(mtfsfi, mtfsfi.): Replace use of BF with BFF.  Relpace use of XRA_MASK
with XWRA_MASK.  Use W.
(mtfsf, mtfsf.): Use XFL_L and W.

17 years ago * binutils-all/strip-3.d: Strip .pdr section.
jsm28 [Thu, 17 May 2007 00:06:22 +0000 (00:06 +0000)]
* binutils-all/strip-3.d: Strip .pdr section.

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

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

17 years ago2007-05-16 Paul Brook <paul@codesourcery.com>
pbrook [Wed, 16 May 2007 21:06:53 +0000 (21:06 +0000)]
2007-05-16  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.

17 years agoFix typo.
palves [Wed, 16 May 2007 20:17:01 +0000 (20:17 +0000)]
Fix typo.

17 years agoClose security hole in tmpfile.
ericb [Wed, 16 May 2007 20:06:07 +0000 (20:06 +0000)]
Close security hole in tmpfile.
* libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
generation and opening the fd.
* libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.

17 years ago * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
ericb [Wed, 16 May 2007 19:59:36 +0000 (19:59 +0000)]
* libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
(MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
required by POSIX.
* libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
avoid clash with <math.h>.

17 years ago* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
ericb [Wed, 16 May 2007 19:31:04 +0000 (19:31 +0000)]
* libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
* libc/search/hash.c (__hash_open): Likewise.

17 years agoAdd support for SHF_MERGE sections.
iant [Wed, 16 May 2007 17:42:48 +0000 (17:42 +0000)]
Add support for SHF_MERGE sections.

17 years ago * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
amszmidt [Wed, 16 May 2007 17:39:46 +0000 (17:39 +0000)]
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
declarations as well.

17 years ago * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' declarations as well.
amszmidt [Wed, 16 May 2007 17:37:02 +0000 (17:37 +0000)]
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t' declarations as well.

17 years ago * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
uweigand [Wed, 16 May 2007 15:31:11 +0000 (15:31 +0000)]
* config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
* config/arm/tm-embed.h: Delete file.

* arm-tdep.h (arm_software_single_step): Declare.
* arm-tdep.c (arm_software_single_step): Make global.
(arm_gdbarch_init): Move set_gdbarch_software_single_step call
from here to ...
* arm-linux-tdep.c (arm_linux_init_abi): ... here ...
* armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
* armobsd-tdep.c (armobsd_init_abi): ... here ...
* arm-wince-tdep.c (arm_wince_init_abi): ... and here.

* arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
allow defines to be overriden by TM file.
(THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise.  Also,
change default to {0xbe,0xbe}.
* armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
arm_obsd_thumb_be_breakpoint): New global variables.
(armobsd_init_abi): Override tdep->thumb_breakpoint and
tdep->thumb_breakpoint_size.
* arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
(arm_wince_init_abi): Override tdep->thumb_breakpoint and
tdep->thumb_breakpoint_size.

* arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.

17 years ago2007-05-16 Markus Deuling <deuling@de.ibm.com>
uweigand [Wed, 16 May 2007 15:26:35 +0000 (15:26 +0000)]
2007-05-16  Markus Deuling  <deuling@de.ibm.com>

* server.c (handle_query): Add reply for qC packet.

17 years ago * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
drow [Wed, 16 May 2007 14:21:47 +0000 (14:21 +0000)]
* lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
(gdb_compile_shlib): Likewise.
(skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
(default_gdb_init): Clear cleanfiles.
(gdb_finish): Delete recorded cleanfiles.
* lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.

* gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
Do not use isnative.
* gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
gdb.base/so-impl-ld.exp: Likewise.
* gdb.base/solib-weak.exp: Likewise.  Skip for DLL targets.
* gdb.base/unload.exp: Likewise.  Do not pass empty option to
gdb_compile.

17 years ago * NEWS: Mention removed "set mips stack-arg-size" and "set mips
drow [Wed, 16 May 2007 14:16:30 +0000 (14:16 +0000)]
* NEWS: Mention removed "set mips stack-arg-size" and "set mips
saved-gpreg-size".

* mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
(size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
(mips_stack_argsize_string, mips_stack_argsize): Delete.
(mips_abi_regsize): Simplify.
(mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_n32n64_return_value, mips_o32_push_dummy_call)
(mips_o32_return_value, mips_o64_push_dummy_call)
(mips_o64_return_value): Propogate constant register sizes.  Use the
ABI register size instead of mips_stack_argsize.
(mips_dump_tdep): Don't print mips_stack_argsize.
(_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
settings.

* gdb.texinfo (MIPS): Remove documentation for set mips saved-gpreg-size,
show mips saved-gpreg-size, and set mips stack-arg-size.

17 years agoCommit file missed in last commit.
drow [Wed, 16 May 2007 14:09:22 +0000 (14:09 +0000)]
Commit file missed in last commit.

17 years ago * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
drow [Wed, 16 May 2007 14:07:50 +0000 (14:07 +0000)]
* config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
* config/mips/tm-linux.h: Delete.
* mips-linux-tdep.c (mips_svr4_so_ops): New.
(mips_linux_in_dynsym_resolve_code): Make static.  Use
svr4_in_dynsym_resolve_code.
(mips_linux_init_abi): Initialize mips_svr4_so_ops.  Call
set_solib_ops.
* solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
global.
* solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
* Makefile.in (mips-linux-tdep.o): Update.
* solib.c (set_solib_ops): New.
(current_target_so_ops): Update comment.
* solib.h (set_solib_ops): New prototype.

17 years ago* printcmd.c (do_examine): Fix typos in a comment.
macro [Wed, 16 May 2007 13:48:22 +0000 (13:48 +0000)]
* printcmd.c (do_examine): Fix typos in a comment.

17 years ago2007-05-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 16 May 2007 12:52:02 +0000 (12:52 +0000)]
2007-05-16  H.J. Lu  <hongjiu.lu@intel.com>
    Alan Modra  <amodra@bigpond.net.au>

* elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss
section to the minimum alignment.

17 years ago2007-05-16 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 16 May 2007 09:03:12 +0000 (09:03 +0000)]
2007-05-16  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (bootstrap_stage): Replace stage_make_flags with
stage_cflags.
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS, POSTSTAGE1_FLAGS_TO_PASS):
Remove CFLAGS/LIBCFLAGS.
(configure-stage[+id+]-[+prefix+][+module+],
all-stage[+id+]-[+prefix+][+module+]): Pass it from [+stage_cflags+].
* Makefile.in: Regenerate.

17 years agogdb/
rsandifo [Wed, 16 May 2007 07:24:02 +0000 (07:24 +0000)]
gdb/
* configure.ac: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.

17 years agogdb/
rsandifo [Wed, 16 May 2007 07:23:48 +0000 (07:23 +0000)]
gdb/
* configure.ac: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.

17 years agold/
rsandifo [Wed, 16 May 2007 07:19:43 +0000 (07:19 +0000)]
ld/
* configure.in: Allow sysroots to be relocated under $prefix as
well as $exec_prefix.
* configure: Regenerate.

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

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

17 years ago * config/unknown.exp: Remove.
vprus [Tue, 15 May 2007 17:06:41 +0000 (17:06 +0000)]
    * config/unknown.exp: Remove.

17 years ago * fhandler_socket.cc (adjust_socket_file_mode): New inline function.
corinna [Tue, 15 May 2007 16:33:20 +0000 (16:33 +0000)]
* fhandler_socket.cc (adjust_socket_file_mode): New inline function.
(fhandler_socket::fchmod): Squeeze mode through adjust_socket_file_mode
before using it.
(fhandler_socket::bind): Ditto.

17 years ago2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 15 May 2007 13:57:03 +0000 (13:57 +0000)]
2007-05-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4504
* ld-elf/data1.c: New file.
* ld-elf/data1.h: Likewise.
* ld-elf/dynbss1.c: Likewise.
* ld-elf/pass.out: Likewise.

* ld-elf/shared.exp (build_tests): Add "Build libdata1.so".
(run_tests): Add "Run with libdata1.so".

17 years ago2007-05-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 15 May 2007 13:55:52 +0000 (13:55 +0000)]
2007-05-15  H.J. Lu  <hongjiu.lu@intel.com>
    Alan Modra  <amodra@bigpond.net.au>

PR ld/4504
* elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New.
* elflink.c (_bfd_elf_adjust_dynamic_copy): New.

* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call
_bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic
bss section.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.

17 years ago2007-05-15 Markus Deuling <deuling@de.ibm.com>
uweigand [Tue, 15 May 2007 13:18:09 +0000 (13:18 +0000)]
2007-05-15  Markus Deuling  <deuling@de.ibm.com>

        * gdb.base/info-proc.exp: Check is_remote.

17 years agold/testsuite/
rsandifo [Tue, 15 May 2007 12:22:33 +0000 (12:22 +0000)]
ld/testsuite/
* ld-arm/vxworks1.ld: Swap .bss and .data.
* ld-arm/vxworks1-lib.rd: Update accordingly.
* ld-arm/vxworks1-lib.td: New test.
* ld-arm/arm-elf.exp: Run it.

* ld-i386/vxworks1.ld: Swap .bss and .data.
* ld-i386/vxworks1-lib.rd: Update accordingly.
* ld-i386/vxworks1-lib.td: New test.
* ld-i386/i386.exp: Run it.

* ld-mips-elf/vxworks1.ld: Swap .bss and .data.
* ld-mips-elf/vxworks1-lib.rd: Update accordingly.
* ld-mips-elf/vxworks1.rd: Likewise.

* ld-powerpc/vxworks1.ld: Swap .bss and .data.
* ld-powerpc/vxworks1-lib.rd: Update accordingly.
* ld-powerpc/vxworks1-lib.td: New test.
* ld-powerpc/powerpc.exp: Run it.

* ld-sh/vxworks1.ld: Swap .bss and .data.
* ld-sh/vxworks1-lib.rd: Update accordingly.
* ld-sh/vxworks1-lib.td: New test.
* ld-sh/sh-vxworks.exp: Run it.

* ld-sparc/vxworks1.ld: Swap .bss and .data.
* ld-sparc/vxworks1-lib.rd: Update accordingly.
* ld-sparc/vxworks1-lib.td: New test.
* ld-sparc/sparc.exp: Run it.

17 years ago * mips3264r2.igen (DSHD): Fix compile warning.
ths [Tue, 15 May 2007 12:20:32 +0000 (12:20 +0000)]
* mips3264r2.igen (DSHD): Fix compile warning.

17 years agobfd/
rsandifo [Tue, 15 May 2007 12:18:52 +0000 (12:18 +0000)]
bfd/
* elfxx-mips.c (mips_elf_create_local_got_entry): Remove
input_section argument.  Create .rela.dyn relocations against
symbol 0 rather than the section symbol.
(mips_elf_local_got_index): Remove input_section argument.
Update call to mips_elf_create_local_got_entry.
(mips_elf_got_page, mips_elf_got16_entry): Likewise.
(mips_elf_calculate_relocation): Update calls to
mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page.

ld/testsuite/
* ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be
against symbol 0.

17 years ago gas/
shinwell [Tue, 15 May 2007 10:06:03 +0000 (10:06 +0000)]
gas/
* app.c (do_scrub_chars): Don't damage \@ pseudo-variables.

gas/testsuite/
* gas/arm/backslash-at.d: New.
* gas/arm/backslash-at.s: New.

17 years ago bfd/
shinwell [Tue, 15 May 2007 09:54:03 +0000 (09:54 +0000)]
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Correctly
handle the Thumb-2 JUMP19 relocation.

ld/testsuite/
* ld-arm/arm-elf.exp: Add jump19 testcase.
* ld-arm/jump19.d: New.
* ld-arm/jump19.s: New.

17 years ago PR gas/3041
nickc [Tue, 15 May 2007 09:21:22 +0000 (09:21 +0000)]
PR gas/3041
* config/tc-m68k.c (relaxable_symbol): Make sure that the correct addend is stored for relocs against weak symbols.
    (md_apply_fix): So not loose track of addend for relocs against weak symbols.
* testsuite/gas/m68k/p3041.s: New test case.
* testsuite/gas/m68k/p3041.d: New expected disassembly.
* testsuite/gas/m68k/all.exp: Run new test for m68k-*-netbsd toolchains.
    Only run arch-cpu-1 test for ELF based toolchains.

    Tidy ups for m68k-netbsd gas toolchain:
* testsuite/gas/m68k/cpu32.d: Allow for extra text after expected disassembly.
* testsuite/gas/m68k/mcf-trap.d: Allow for alternative trap mnemonics.
* testsuite/gas/m68k/br-isab.d: Fix name of test.
* testsuite/gas/m68k/br-isac.d: Fix name of test.

17 years ago PR 4479
amodra [Tue, 15 May 2007 08:39:57 +0000 (08:39 +0000)]
PR 4479
* elf.c (elf_fake_sections): Don't allow backend to change
SHT_NOBITS if called for strip/objcopy --only-keep-debug.
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar
fix from here.

17 years ago * binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.
amodra [Tue, 15 May 2007 04:23:49 +0000 (04:23 +0000)]
* binutils-all/objcopy.exp: Only run needed-by-reloc test for ELF.

17 years ago* path.cc (fs_info::update): Set and use is_cdrom.
cgf [Tue, 15 May 2007 01:27:30 +0000 (01:27 +0000)]
* path.cc (fs_info::update): Set and use is_cdrom.
* path.cc (fillout_mntent): Set ret.mnt_type to something more Linux-like,
based on data from fs_info.  Move "system" and "user" strings from mnt_type to
mnt_opts.
* path.h (struct fs_info): Add is_cdrom field.
* path.h (fs_info::clear): Initialize is_cdrom.
* path.h (struct fs_info): Add IMPLEMENT_STATUS_FLAG(bool,is_cdrom).
* path.h (class path_conv): Add fs_is_cdrom method.  Add missing fs_is_netapp
method.

17 years ago* cygwin.din (asnprintf, dprint, _Exit, vasnprintf, vdprintf): Export.
cgf [Tue, 15 May 2007 01:23:28 +0000 (01:23 +0000)]
* cygwin.din (asnprintf, dprint, _Exit, vasnprintf, vdprintf): Export.
* include/cygwin/version.h: Bump API minor number.

17 years agogas/testsuite/
hjl [Tue, 15 May 2007 01:05:54 +0000 (01:05 +0000)]
gas/testsuite/

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

PR binutils/4502
* gas/i386/amd.d: Replace "pfmulhrw" with "pmulhrw".

opcodes/

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

PR binutils/4502
* i386-dis.c (Suffix3DNow): Replace "pfmulhrw" with "pmulhrw".

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

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

17 years ago2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 14 May 2007 23:16:45 +0000 (23:16 +0000)]
2007-05-14  H.J. Lu  <hongjiu.lu@intel.com>

* hist.c (scale_and_align_entries): Avoid C99 feature.

17 years ago * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
uweigand [Mon, 14 May 2007 21:35:21 +0000 (21:35 +0000)]
* hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
(offsetof): Do not define.
(find_stub_with_shl_get): Use numerical value 3 instead of
symbolic value TYPE_PROCEDURE.

17 years ago2007-05-14 Markus Deuling <deuling@de.ibm.com>
uweigand [Mon, 14 May 2007 21:04:15 +0000 (21:04 +0000)]
2007-05-14  Markus Deuling  <deuling@de.ibm.com>

* gdb.base/gcore.exp: Initialize variable core_supported.

17 years agoReduce stack size of *printf.
ericb [Mon, 14 May 2007 19:42:47 +0000 (19:42 +0000)]
Reduce stack size of *printf.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
in %f.  Avoid malloc when possible for %S.
(BUF): Improve stack locality by using smaller size.
(MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
(exponent): Use smaller stack size.

17 years ago * all-cfg.texi (GDBTUI): New.
bwilson [Mon, 14 May 2007 17:53:07 +0000 (17:53 +0000)]
* all-cfg.texi (GDBTUI): New.
* gdb.texinfo (Mode Options): Use GDBTUI variable.
(TUI, TUI Overview, TUI Keys, TUI Single Key Mode, TUI Commands)
(TUI Configuration): Edit to improve clarity and fix problems of
both style and content.

17 years ago * gdb_proc_service.h (paddr_t): Delete typedef.
drow [Mon, 14 May 2007 17:33:33 +0000 (17:33 +0000)]
* gdb_proc_service.h (paddr_t): Delete typedef.
* proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
(ps_xfer_memory): Take a psaddr_t.  Use ps_addr_to_core_addr.
(ps_pglobal_lookup): Take a psaddr_t *.  Use core_addr_to_ps_addr.
(ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
* sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
* Makefile.in (proc-service.o): Update.