OSDN Git Service
corinna [Sun, 20 Aug 2006 12:18:11 +0000 (12:18 +0000)]
* fhandler_disk_file.cc (DIR_NUM_ENTRIES): Set to 100 to maximize
performance on remote shares.
(fhandler_disk_file::opendir): Move comment about Samba weirdness into
fhandler_disk_file::readdir. Don't disallow
FileIdBothDirectoryInformation on Samba.
(fhandler_disk_file::readdir): Workaround Samba problem with
FileIdBothDirectoryInformation by rereading already read entries
using FileBothDirectoryInformation. Change comment about Samba
weirdness explaining this change.
gdbadmin [Sun, 20 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 20 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Sat, 19 Aug 2006 21:44:58 +0000 (21:44 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::pread): Properly check for
non-error return from lseek.
cgf [Sat, 19 Aug 2006 16:13:23 +0000 (16:13 +0000)]
* sys/types.h: Correct syntax error caused by missing '\' on #ifdef line.
drow [Sat, 19 Aug 2006 15:15:17 +0000 (15:15 +0000)]
gdb/
* Makefile.in (amd64_linux_tdep_h): New.
(amd64-linux-nat.o, amd64-linux-tdep.o): Update.
* amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
ORIG_RAX.
(_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
* amd64-linux-tdep.c (amd64_linux_register_name)
(amd64_linux_register_type, amd64_linux_register_reggroup_p)
(amd64_linux_write_pc): New.
(amd64_linux_init_abi): Use them, and update num_regs.
* amd64-linux-tdep.h: New file.
* amd64-tdep.c (amd64_register_name, amd64_register_type): Make
public.
* amd64-tdep.h (amd64_register_name, amd64_register_type): New
prototypes.
* regformats/reg-x86-64-linux.dat: New file.
gdb/testsuite/
* Makefile.in (clean): Clean reg-x86-64-linux.c.
(reg-x86-64-linux.o, reg-x86-64-linux.c): New.
* configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o.
* linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX.
(x86_64_fill_gregset, x86_64_store_gregset): Skip floating
point registers.
drow [Sat, 19 Aug 2006 03:18:59 +0000 (03:18 +0000)]
* infrun.c (handle_inferior_event): Check the current frame ID
before unwinding to the previous frame.
amodra [Sat, 19 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 19 Aug 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
iant [Fri, 18 Aug 2006 22:29:20 +0000 (22:29 +0000)]
Another snapshot of the current state of the sources. Gets to the
point of symbol resolution and can now issue a multiple definition
error. Also added target selection infrastructure.
fnf [Fri, 18 Aug 2006 18:34:18 +0000 (18:34 +0000)]
Reviewed and approved by Daniel Jacobowitz <dan@codesourcery.com>
2006-08-18 Fred Fish <fnf@specifix.com>
* lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
'$' in front of skip_vmx_tests_saved when setting that.
pbrook [Fri, 18 Aug 2006 16:18:23 +0000 (16:18 +0000)]
Add comment missing from previous patch.
pbrook [Fri, 18 Aug 2006 15:00:17 +0000 (15:00 +0000)]
2006-08-18 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
(elf32_arm_link_hash_newfunc): Initialize export_glue.
(record_arm_to_thumb_glue): Return stub symbol.
(elf32_arm_create_thumb_stub): New function.
(elf32_arm_to_thumb_stub): Use it.
(elf32_arm_to_thumb_export_stub): New function.
(elf32_arm_begin_write_processing): New function.
(allocate_dynrelocs): Allocate Arm stubs.
(elf_backend_begin_write_processing): Define.
(elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
Call elf32_arm_begin_write_processing.
ld/
* emultempl/armelf.em (arm_elf_before_allocation): Call
gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so. Add
-use-blx to mixed-lib.so
* ld-arm/armthumb-lib.d: New file.
* ld-arm/armthumb-lib.sym: New file.
hjl [Fri, 18 Aug 2006 14:38:00 +0000 (14:38 +0000)]
2006-08-18 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3052
* ld-elf/loadaddr.s: New file.
* ld-elf/loadaddr1.d: Likewise.
* ld-elf/loadaddr1.t: Likewise.
* ld-elf/loadaddr2.d: Likewise.
* ld-elf/loadaddr2.t: Likewise.
drow [Fri, 18 Aug 2006 13:26:31 +0000 (13:26 +0000)]
* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
number in a comment.
kettenis [Fri, 18 Aug 2006 08:49:04 +0000 (08:49 +0000)]
* sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.
drow [Fri, 18 Aug 2006 04:10:30 +0000 (04:10 +0000)]
* dwarf2read.c (quirk_gcc_member_function_pointer): New.
(read_structure_type): Call it.
drow [Fri, 18 Aug 2006 04:10:21 +0000 (04:10 +0000)]
* dwarf2read.c (quirk_gcc_member_function_pointer): New.
(read_structure_type): Call it.
gdbadmin [Fri, 18 Aug 2006 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 18 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update
jimb [Thu, 17 Aug 2006 18:47:49 +0000 (18:47 +0000)]
* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'
responses.
cgf [Thu, 17 Aug 2006 17:02:12 +0000 (17:02 +0000)]
* pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
(generate_reloc): Revert to skipping sections without a SEC_LOAD flag, and to
not skipping .idata* sections.
jjohnstn [Thu, 17 Aug 2006 15:53:15 +0000 (15:53 +0000)]
2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
* libc/time/gmtime.c: Correct man page; clock is not a
local time and no conversion occurs.
corinna [Thu, 17 Aug 2006 14:51:48 +0000 (14:51 +0000)]
* fhandler_serial.cc (raw_read): Evaluate minchars taking the
vmin_ > ulen case into account. Simplify evaluating the bytes to read.
Don't use bytes in Queue value from ClearCommError call in case vtime_
is > 0. Reformat GetOverlappedResult call. Simplify call to ReadFile.
amodra [Thu, 17 Aug 2006 08:21:06 +0000 (08:21 +0000)]
bfd/
* elf64-ppc.c (create_linkage_sections): Align .glink to 8 bytes.
(ppc64_elf_build_stubs): Use new lazy linking stub.
ld/testsuite/
* ld-powerpc/tlsexe.d: Update for lazy link stub change.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlstocso.d: Likewise.
amodra [Thu, 17 Aug 2006 08:09:52 +0000 (08:09 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
hjl [Thu, 17 Aug 2006 02:04:52 +0000 (02:04 +0000)]
bfd/
2006-08-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3015
* elf.c (get_program_header_size): Add a PT_GNU_RELRO segment
only if there is a PT_DYNAMIC segment.
(_bfd_elf_map_sections_to_segments): Likewise.
(assign_file_positions_for_load_sections): Set PT_GNU_RELRO
segment alignment to 1.
ld/testsuite/
2006-08-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3015
* ld-elf/binutils.exp: Add tests for "-z relro".
gdbadmin [Thu, 17 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 17 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update
jjohnstn [Wed, 16 Aug 2006 21:51:13 +0000 (21:51 +0000)]
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* configure.host (newlib_cflags) [spu]: Add special compiler
options to reduce size.
jjohnstn [Wed, 16 Aug 2006 21:49:24 +0000 (21:49 +0000)]
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* spu/Makefile.in: Add special compiler
options to reduce size.
jjohnstn [Wed, 16 Aug 2006 21:45:53 +0000 (21:45 +0000)]
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* spu/jsre.h(JSRE_STAT): New define.
(syscall_stat_t): New type.
* spu/syscalls.c(stat): New syscall.
jjohnstn [Wed, 16 Aug 2006 21:39:43 +0000 (21:39 +0000)]
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* configure.host: Add spu support.
* libc/include/stdint.h: Ditto.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/include/sys/config.h: Ditto.
* libc/include/sys/types.h: Ditto.
* libc/machine/spu/Makefile.am: New file.
* libc/machine/spu/Makefile.in: Ditto.
* libc/machine/spu/aclocal.m4: Ditto.
* libc/machine/spu/configure: Ditto.
* libc/machine/spu/configure.in: Ditto.
* libc/machine/spu/memcpy.c: Ditto.
* libc/machine/spu/setjmp.S: Ditto.
jjohnstn [Wed, 16 Aug 2006 21:15:02 +0000 (21:15 +0000)]
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
* configure.in: Add spu support.
* configure: Regenerated.
* spu/Makefile.in: New file.
* spu/aclocal.m4: Ditto.
* spu/configure: Ditto.
* spu/configure.in: Ditto.
* spu/crt0.c: Ditto.
* spu/exit.c: Ditto.
* spu/init.c: Ditto.
* spu/jsre.h: Ditto.
* spu/sbrk.c: Ditto.
* spu/syscalls.c: Ditto.
drow [Wed, 16 Aug 2006 20:33:21 +0000 (20:33 +0000)]
* NEWS: Mention "set trust-readonly-sections" fix.
drow [Wed, 16 Aug 2006 18:31:03 +0000 (18:31 +0000)]
* remote.c, target.c: Strip trailing whitespace.
jules [Wed, 16 Aug 2006 10:33:50 +0000 (10:33 +0000)]
* config/tc-arm.c (md_assemble): Improve diagnostic when attempting
to use ARM instructions on non-ARM-supporting cores.
(autoselect_thumb_from_cpu_variant): New function. Switch on Thumb
mode automatically based on cpu variant.
(md_begin): Call above function.
jules [Wed, 16 Aug 2006 10:32:40 +0000 (10:32 +0000)]
* gas/arm/noarm.s: Add test for disabled ARM insns.
* gas/arm/noarm.d: Drive test for above.
* gas/arm/noarm.l: Expected error output.
jules [Wed, 16 Aug 2006 10:16:29 +0000 (10:16 +0000)]
* config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
recognized in non-unified syntax mode.
amodra [Wed, 16 Aug 2006 08:31:45 +0000 (08:31 +0000)]
ld/
PR 3052
* ldlang.h (lang_output_section_statement_type): Replace
"processed" field with "processed_vma" and "processed_lma".
* ldlang.c (lang_do_assignments_1): Move lma setting code..
(lang_size_sections_1): ..to here.
(lang_reset_memory_regions): Adjust for
lang_output_section_statement_type change.
* ldexp.c (fold_name): Likewise.
And this is something I forgot the check in from the previous patch.
ld/testsuite/
* ld-scripts/overlay-size-map.d: Adjust.
amodra [Wed, 16 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 16 Aug 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
drow [Tue, 15 Aug 2006 18:46:23 +0000 (18:46 +0000)]
PR remote/1966
* dcache.c (dcache_write_line): Use target_write.
(dcache_read_line): Use target_read.
* mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
* symfile.c (struct load_section_data): Add new per-section
members.
(load_progress): New function.
(load_section_callback): Pass load_progress to the new
target_write_with_progress.
* target.c (current_xfer_partial, memory_xfer_partial): New.
(target_xfer_partial): New prototype.
(target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
(do_xfer_memory, target_xfer_memory_partial)
(target_read_memory_partial, target_write_memory_partial): Delete.
(trust_readonly): Move higher in the file.
(update_current_target): Use current_xer_partial.
(target_xfer_partial): Use memory_xfer_partial. Handle
TARGET_OBJECT_RAW_MEMORY specially.
(target_read_memory): Use target_read.
(target_write_memory): Use target_write.
(default_xfer_partial): Call to_xfer_partial directly.
(target_write_with_progress): New function, based on target_write.
(target_write): Call it.
* target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
(target_write_with_progress): New prototype.
(do_xfer_memory, target_read_memory_partial)
(target_write_memory_partial): Delete prototypes.
ths [Tue, 15 Aug 2006 18:28:47 +0000 (18:28 +0000)]
* elf32-mips.c, elf64-mips.c, elfn32-mips.c
(elf_backend_merge_symbol_attribute): Define.
* elflink.c (elf_link_add_object_symbols): Merge only the ELF
visibility flags.
* elfxx-mips.c (_bfd_mips_elf_merge_symbol_attribute): New function.
ths [Tue, 15 Aug 2006 18:23:07 +0000 (18:23 +0000)]
[ ChangeLog ]
* config.sub: Add support for sde as alias of mipsisa32-sde-elf.
[ bfd/ChangeLog ]
* config.bfd: Add configurations for mips*el-sde-elf* and
mips*-sde-elf*.
[ binutils/testsuite/ChangeLog ]
* binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*.
[ gas/ChangeLog ]
* configure.tgt: Handle mips*-sde-elf*.
[ gas/testsuite/ChangeLog ]
* gas/mips/mips.exp: Handle mips*-sde-elf*.
drow [Tue, 15 Aug 2006 18:17:56 +0000 (18:17 +0000)]
* remote.c (remote_write_bytes): Take a const buffer argument.
Do the checks from remote_xfer_memory.
(remote_read_bytes): Do the checks from remote_xfer_memory.
(remote_xfer_memory): Remove checks pushed into lower level
functions.
(remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
directly.
* remote.h (remote_write_bytes): Update prototype.
nickc [Tue, 15 Aug 2006 12:01:43 +0000 (12:01 +0000)]
PR binutils/3039
* wrstabs.c (stab_tag_type): Initialize 'size'.
amodra [Tue, 15 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 15 Aug 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
meissner [Mon, 14 Aug 2006 23:45:58 +0000 (23:45 +0000)]
Fix bug 3000
dj [Mon, 14 Aug 2006 20:05:00 +0000 (20:05 +0000)]
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add value.
(elf32_mn10300_count_hash_table_entries): New.
(elf32_mn10300_list_hash_table_entries): New.
(sort_by_value): New.
(mn10300_elf_relax_section): Don't skip data sections; restrict
code-specific tests to code-specific areas so that potential
indirect calls can be detected. Check for multiple local symbols
at the same address and merge their flags.
(elf32_mn10300_link_hash_newfunc): Initialize value.
ths [Mon, 14 Aug 2006 12:19:20 +0000 (12:19 +0000)]
* elfxx-mips.c (_bfd_mips_elf_symbol_processing,
_bfd_mips_elf_add_symbol_hook): Don't try to place small common TLS
symbols in .scommon.
corinna [Mon, 14 Aug 2006 11:32:10 +0000 (11:32 +0000)]
* security.cc (subauth): Initialize user_token to NULL. Add comment.
amodra [Mon, 14 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 14 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 13 Aug 2006 00:22:16 +0000 (00:22 +0000)]
daily update
gdbadmin [Sun, 13 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ths [Sat, 12 Aug 2006 23:00:34 +0000 (23:00 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips16_ip): Fix argument register handling
for restore instruction.
[ gas/testsuite/ChangeLog ]
* gas/mips/mips16-save.d: Fix testcase.
amodra [Sat, 12 Aug 2006 00:00:30 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 12 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Fri, 11 Aug 2006 15:40:07 +0000 (15:40 +0000)]
* shared.cc (open_shared): Desperately try to get shared memory, only
when DEBUGGING enabled for now.
ths [Fri, 11 Aug 2006 14:05:12 +0000 (14:05 +0000)]
* ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
MIPS small commons.
ths [Fri, 11 Aug 2006 13:55:38 +0000 (13:55 +0000)]
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
sh_entsize only when sgot was already initialized.
ams [Fri, 11 Aug 2006 12:46:03 +0000 (12:46 +0000)]
2006-08-11 Andrew Stubbs <andrew.stubbs@st.com>
* NEWS: Add 'set trace-commands' command.
amodra [Fri, 11 Aug 2006 00:00:34 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 11 Aug 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Thu, 10 Aug 2006 21:06:01 +0000 (21:06 +0000)]
* lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here...
* lib/kernel32.def (WTSGetActiveConsoleSessionId). ...to here.
cgf [Thu, 10 Aug 2006 20:25:54 +0000 (20:25 +0000)]
* pinfo.cc (_onreturn::~onreturn): Don't attempt to close a NULL handle.
ams [Thu, 10 Aug 2006 16:06:24 +0000 (16:06 +0000)]
2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
gdb/
* cli/cli-script.c (execute_user_command): Update command_next_depth
on user-command call.
gdb/testsuite
* gdb.base/trace-commands.exp: New file.
cgf [Thu, 10 Aug 2006 14:16:24 +0000 (14:16 +0000)]
revert erroneous checkin
cgf [Thu, 10 Aug 2006 14:14:59 +0000 (14:14 +0000)]
* winsup.h: Turn on DEBUGGING by default for now.
amylaar [Thu, 10 Aug 2006 13:23:15 +0000 (13:23 +0000)]
PR binutils/3017
* doc/Makefile.am: Use single quotes inside backquotes for
date command while generating config.texi.
* doc/Makefile.in: Regenerate.
drow [Thu, 10 Aug 2006 13:05:18 +0000 (13:05 +0000)]
* gdb.base/step-bt.exp: Make hexadecimal address optional in
expected output of the backtrace commands.
corinna [Thu, 10 Aug 2006 08:44:43 +0000 (08:44 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Handle
ERROR_NOT_LOCKED returned from UnlockFileEx.
brobecke [Thu, 10 Aug 2006 05:27:19 +0000 (05:27 +0000)]
* gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
untested followed by return combination.
* gdb.arch/altivec-regs.exp: Likewise.
* gdb.arch/e500-abi.exp: Likewise.
* gdb.arch/e500-regs.exp: Likewise.
* gdb.arch/gdb1291.exp: Likewise.
* gdb.arch/gdb1431.exp: Likewise.
* gdb.arch/gdb1558.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
* gdb.asm/asm-source.exp: Likewise.
* gdb.base/a2-run.exp: Likewise.
* gdb.base/advance.exp: Likewise.
* gdb.base/all-bin.exp: Likewise.
* gdb.base/annota1.exp: Likewise.
* gdb.base/annota3.exp: Likewise.
* gdb.base/args.exp: Likewise.
* gdb.base/arithmet.exp: Likewise.
* gdb.base/assign.exp: Likewise.
* gdb.base/async.exp: Likewise.
* gdb.base/attach.exp: Likewise.
* gdb.base/bang.exp: Likewise.
* gdb.base/bigcore.exp: Likewise.
* gdb.base/bitfields.exp: Likewise.
* gdb.base/bitfields2.exp: Likewise.
* gdb.base/break.exp: Likewise.
* gdb.base/call-sc.exp: Likewise.
* gdb.base/call-strs.exp: Likewise.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/checkpoint.exp: Likewise.
* gdb.base/chng-syms.exp: Likewise.
* gdb.base/code-expr.exp: Likewise.
* gdb.base/commands.exp: Likewise.
* gdb.base/completion.exp: Likewise.
* gdb.base/cond-expr.exp: Likewise.
* gdb.base/condbreak.exp: Likewise.
* gdb.base/consecutive.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/corefile.exp: Likewise.
* gdb.base/cvexpr.exp: Likewise.
* gdb.base/dbx.exp: Likewise.
* gdb.base/define.exp: Likewise.
* gdb.base/detach.exp: Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/dump.exp: Likewise.
* gdb.base/ena-dis-br.exp: Likewise.
* gdb.base/ending-run.exp: Likewise.
* gdb.base/environ.exp: Likewise.
* gdb.base/eval-skip.exp: Likewise.
* gdb.base/exprs.exp: Likewise.
* gdb.base/fileio.exp: Likewise.
* gdb.base/finish.exp: Likewise.
* gdb.base/float.exp: Likewise.
* gdb.base/foll-exec.exp: Likewise.
* gdb.base/foll-fork.exp: Likewise.
* gdb.base/foll-vfork.exp: Likewise.
* gdb.base/freebpcmd.exp: Likewise.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/gcore.exp: Likewise.
* gdb.base/gdb1090.exp: Likewise.
* gdb.base/gdb1250.exp: Likewise.
* gdb.base/huge.exp: Likewise.
* gdb.base/info-proc.exp: Likewise.
* gdb.base/interrupt.exp: Likewise.
* gdb.base/jump.exp: Likewise.
* gdb.base/langs.exp: Likewise.
* gdb.base/lineinc.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/logical.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/macscp.exp: Likewise.
* gdb.base/maint.exp: Likewise.
* gdb.base/mips_pro.exp: Likewise.
* gdb.base/miscexprs.exp: Likewise.
* gdb.base/multi-forks.exp: Likewise.
* gdb.base/opaque.exp: Likewise.
* gdb.base/overlays.exp: Likewise.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/psymtab.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
* gdb.base/recurse.exp: Likewise.
* gdb.base/relational.exp: Likewise.
* gdb.base/relocate.exp: Likewise.
* gdb.base/remote.exp: Likewise.
* gdb.base/reread.exp: Likewise.
* gdb.base/restore.exp: Likewise.
* gdb.base/return.exp: Likewise.
* gdb.base/return2.exp: Likewise.
* gdb.base/scope.exp: Likewise.
* gdb.base/sect-cmd.exp: Likewise.
* gdb.base/sep.exp: Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/setshow.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/sigall.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
* gdb.base/signals.exp: Likewise.
* gdb.base/signull.exp: Likewise.
* gdb.base/sizeof.exp: Likewise.
* gdb.base/solib.exp: Likewise.
* gdb.base/step-line.exp: Likewise.
* gdb.base/step-test.exp: Likewise.
* gdb.base/structs.exp: Likewise.
* gdb.base/structs2.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.base/twice.exp: Likewise.
* gdb.base/until.exp: Likewise.
* gdb.base/varargs.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.base/whatis-exp.exp: Likewise.
* gdb.base/whatis.exp: Likewise.
* gdb.cp/ambiguous.exp: Likewise.
* gdb.cp/annota2.exp: Likewise.
* gdb.cp/annota3.exp: Likewise.
* gdb.cp/bool.exp: Likewise.
* gdb.cp/breakpoint.exp: Likewise.
* gdb.cp/casts.exp: Likewise.
* gdb.cp/class2.exp: Likewise.
* gdb.cp/classes.exp: Likewise.
* gdb.cp/cplusfuncs.exp: Likewise.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/gdb1355.exp: Likewise.
* gdb.cp/hang.exp: Likewise.
* gdb.cp/inherit.exp: Likewise.
* gdb.cp/local.exp: Likewise.
* gdb.cp/m-data.exp: Likewise.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/method.exp: Likewise.
* gdb.cp/misc.exp: Likewise.
* gdb.cp/namespace.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/ovldbreak.exp: Likewise.
* gdb.cp/pr-1023.exp: Likewise.
* gdb.cp/pr-1210.exp: Likewise.
* gdb.cp/pr-574.exp: Likewise.
* gdb.cp/printmethod.exp: Likewise.
* gdb.cp/psmang.exp: Likewise.
* gdb.cp/ref-params.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
* gdb.cp/templates.exp: Likewise.
* gdb.cp/try_catch.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
* gdb.disasm/am33.exp: Likewise.
* gdb.disasm/h8300s.exp: Likewise.
* gdb.disasm/mn10300.exp: Likewise.
* gdb.disasm/sh3.exp: Likewise.
* gdb.disasm/t01_mov.exp: Likewise.
* gdb.disasm/t02_mova.exp: Likewise.
* gdb.disasm/t03_add.exp: Likewise.
* gdb.disasm/t04_sub.exp: Likewise.
* gdb.disasm/t05_cmp.exp: Likewise.
* gdb.disasm/t06_ari2.exp: Likewise.
* gdb.disasm/t07_ari3.exp: Likewise.
* gdb.disasm/t08_or.exp: Likewise.
* gdb.disasm/t09_xor.exp: Likewise.
* gdb.disasm/t10_and.exp: Likewise.
* gdb.disasm/t11_logs.exp: Likewise.
* gdb.disasm/t12_bit.exp: Likewise.
* gdb.disasm/t13_otr.exp: Likewise.
* gdb.hp/gdb.aCC/optimize.exp: Likewise.
* gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
* gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
* gdb.hp/gdb.base-hp/dollar.exp: Likewise.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
* gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
* gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
* gdb.hp/gdb.base-hp/reg.exp: Likewise.
* gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
* gdb.hp/gdb.compat/xdb1.exp: Likewise.
* gdb.hp/gdb.compat/xdb3.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
* gdb.mi/gdb701.exp: Likewise.
* gdb.mi/gdb792.exp: Likewise.
* gdb.mi/mi-basics.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
* gdb.mi/mi-cli.exp: Likewise.
* gdb.mi/mi-console.exp: Likewise.
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise.
* gdb.mi/mi-read-memory.exp: Likewise.
* gdb.mi/mi-regs.exp: Likewise.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.
* gdb.mi/mi-syn-frame.exp: Likewise.
* gdb.mi/mi-until.exp: Likewise.
* gdb.mi/mi-var-block.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-basics.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise.
* gdb.mi/mi2-read-memory.exp: Likewise.
* gdb.mi/mi2-regs.exp: Likewise.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.
* gdb.mi/mi2-syn-frame.exp: Likewise.
* gdb.mi/mi2-until.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.mi/mi2-watch.exp: Likewise.
* gdb.stabs/exclfwd.exp: Likewise.
* gdb.stabs/weird.exp: Likewise.
* gdb.threads/gcore-thread.exp: Likewise.
* gdb.trace/actions.exp: Likewise.
* gdb.trace/backtrace.exp: Likewise.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/deltrace.exp: Likewise.
* gdb.trace/infotrace.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/packetlen.exp: Likewise.
* gdb.trace/passc-dyn.exp: Likewise.
* gdb.trace/passcount.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/save-trace.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/tracecmd.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
* gdb.trace/while-stepping.exp: Likewise.
amodra [Thu, 10 Aug 2006 01:14:24 +0000 (01:14 +0000)]
daily update
gdbadmin [Thu, 10 Aug 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Wed, 9 Aug 2006 16:50:04 +0000 (16:50 +0000)]
* NEWS: Add entry for new substitute-path commands.
cgf [Wed, 9 Aug 2006 16:13:56 +0000 (16:13 +0000)]
* overview2.sgml: Remove inaccurate "full support for windows pathnames"
clause.
corinna [Wed, 9 Aug 2006 15:33:46 +0000 (15:33 +0000)]
* path.h (SYMLINK_EA_NAME): Remove.
(SHORTCUT_HDR_SIZE): Ditto.
cgf [Wed, 9 Aug 2006 15:04:32 +0000 (15:04 +0000)]
* autoload.cc (GetHandleInformation): Declare new function.
(SetHandleInformation): Ditto.
* debug.cc (add_handle): Use SetHandleInformation to protect handle.
(close_handle): Use SetHandleInformation to unprotect handle.
* spawn.cc (spawn_guts): Move detached test outside of P_OVERLAY block.
vapier [Wed, 9 Aug 2006 00:52:31 +0000 (00:52 +0000)]
2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
* emulparams/armelf.sh (MAXPAGESIZE): Changed to
"CONSTANT (MAXPAGESIZE)".
amodra [Wed, 9 Aug 2006 00:27:48 +0000 (00:27 +0000)]
daily update
gdbadmin [Wed, 9 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Tue, 8 Aug 2006 22:18:22 +0000 (22:18 +0000)]
* gdb.texinfo (Source Path): Add documentation for new
substitute-path commands.
brobecke [Tue, 8 Aug 2006 22:06:06 +0000 (22:06 +0000)]
* source.c: #include gdb_assert.h.
(substitute_path_rule): New struct.
(substitute_path_rules): New static global variable.
(substitute_path_rule_matches): New function.
(get_substitute_path_rule): New function.
(rewrite_source_path): New function.
(find_and_open_source): Add source path rewriting support.
(strip_trailing_directory_separator): New function.
(find_substitute_path_rule): New function.
(add_substitute_path_rule): New function.
(delete_substitute_path_rule): New function.
(show_substitute_path_command): New function.
(unset_substitute_path_command): New function.
(set_substitute_path_command): New function.
(_initialize_source): Add new substitute-path commands.
* Makefile.in (source.o): Add dependency on gdb_assert.h.
brobecke [Tue, 8 Aug 2006 21:50:54 +0000 (21:50 +0000)]
* gdb.base/step-bt.c: New file.
* gdb.base/step-bt.exp: New testcase.
brobecke [Tue, 8 Aug 2006 21:36:46 +0000 (21:36 +0000)]
* i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read
instructions.
(i386_analyze_struct_return): Likewise.
(i386_skip_probe): Likewise.
(i386_match_insn): Likewise.
(i386_analyze_frame_setup): Likewise.
(i386_analyze_register_saves): Likewise.
(i386_skip_prologue): Likewise.
brobecke [Tue, 8 Aug 2006 21:32:48 +0000 (21:32 +0000)]
* gdbcore.h (read_memory_nobpt): New function name instead of
deprecated_read_memory_nobpt.
* breakpoint.c (read_memory_nobpt): New function name instead
of deprecated_read_memory_nobpt.
Adjust calls to old deprecated_read_memory_nobpt accordingly.
* alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
accordingly.
* alphanbsd-tdep.c: Likewise.
* frame.c: Likewise.
* frv-tdep.c: Likewise.
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Likewise.
* i386-linux-nat.c: Likewise.
* m68klinux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
* s390-tdep.c: Likewise.
brobecke [Tue, 8 Aug 2006 21:32:37 +0000 (21:32 +0000)]
* gdbcore.h (read_memory_nobpt): New function name instead of
deprecated_read_memory_nobpt.
* breakpoint.c (read_memory_nobpt): New function name instead
of deprecated_read_memory_nobpt.
Adjust calls to old deprecated_read_memory_nobpt accordingly.
* alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
accordingly.
* alphanbsd-tdep.c: Likewise.
* frame.c: Likewise.
* frv-tdep.c: Likewise.
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Likewise.
* i386-linux-nat.c: Likewise.
* m68klinux-tdep.c: Likewise.
* mips-tdep.c: Likewise.
* s390-tdep.c: Likewise.
drow [Tue, 8 Aug 2006 20:32:15 +0000 (20:32 +0000)]
Commit missed files from last patch.
drow [Tue, 8 Aug 2006 20:26:22 +0000 (20:26 +0000)]
gdb/
* configure.ac: Check for expat.
* acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
* Makefile.in (LIBEXPAT): New.
(CLIBS): Include $(LIBEXPAT).
* README: Mention expat.
* configure, config.in: Regenerated.
gdb/doc/
* gdb.texinfo (Installing GDB): Update menu. Move text to...
(Running Configure): ...here.
(Requirements): New node. Mention expat.
bwilson [Tue, 8 Aug 2006 19:09:33 +0000 (19:09 +0000)]
gas/ChangeLog:
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New.
(out_sleb128): New.
(out_fixed_inc_line_addr): New.
(process_entries): Use out_fixed_inc_line_addr when
DWARF2_USE_FIXED_ADVANCE_PC is set.
* config/tc-xtensa.h (DWARF2_USE_FIXED_ADVANCE_PC): Define.
gas/testsuite/ChangeLog:
* gas/lns/lns-common-1-alt.d: New file.
* gas/lns/lns.exp: Use lns-common-1-alt.d for xtensa targets.
drow [Tue, 8 Aug 2006 18:57:24 +0000 (18:57 +0000)]
gdb/
* config/sparc/embed.mt: New file.
* configure.tgt (sparc-*-rtems*): Use embed.mt.
sim/
* configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
* Makefile.in (FLAGS_TO_PASS): Include libdir.
* configure: Regenerated.
sim/erc32/
* Makefile.in (func.o, help.o): Correct dependencies.
* Makefile.in (install-sis): Honor DESTDIR.
drow [Tue, 8 Aug 2006 17:39:10 +0000 (17:39 +0000)]
* Makefile.in (objfiles.o, symfile.o): Update.
* objfiles.c: Include "expression.h" and "parser-defs.h".
(free_objfile): Clear global blocks.
* symfile.c: Include "parser-defs.h".
(clear_symtab_users): Clear global blocks.
dj [Tue, 8 Aug 2006 17:21:55 +0000 (17:21 +0000)]
* elf32-sh.c (sh_elf_relax_section): Allow for branches across
non-moving .align directives. Preserve any DIR32 offset when
converting bsr's to jsr's.
dj [Tue, 8 Aug 2006 17:21:04 +0000 (17:21 +0000)]
* config/tc-sh.c (sh_frob_section): Canonicalize pointers to local
vs full symbols so that we never have more than one pointer value
for any given symbol in our symbol table.
hjl [Tue, 8 Aug 2006 16:08:47 +0000 (16:08 +0000)]
2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3006
* ldlang.c (lang_section_bst_type): Moved to ...
* ldlang.h: Here.
* ldlang.h (lang_wild_statement_struct): Add a tree field.
* ldlang.c (wild_sort_fast): Use the tree field for BST.
(wild): Likeise.
(analyze_walk_wild_section_handler): Initialize the tree field.
ths [Tue, 8 Aug 2006 16:05:13 +0000 (16:05 +0000)]
* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
rsandifo [Tue, 8 Aug 2006 16:03:29 +0000 (16:03 +0000)]
gdb/gdbserver/
* server.c (terminal_fd): New variable.
(old_foreground_pgrp): Likewise.
(restore_old_foreground_pgrp): New function.
(start_inferior): Record the terminal file descriptor in terminal_fd
and its original foreground group in old_foreground_pgrp. Register
restore_old_foreground_pgrp with atexit().