OSDN Git Service
corinna [Fri, 7 Nov 2003 18:30:35 +0000 (18:30 +0000)]
* cygpath.cc (main): Allow multiple pathnames on command line.
cgf [Fri, 7 Nov 2003 18:22:26 +0000 (18:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Reorganize to handle
freeing of memory on error condition.
cgf [Fri, 7 Nov 2003 18:21:05 +0000 (18:21 +0000)]
* cygthread.cc (cygthread::freerange): Set inuse count. Avoid setting ev from
h as h would be NULL at this point.
(cygthread::operator new): Issue debugging info when overflowing the thread
pool.
(cygthread::cygthread): Set ev from h here after h has been initialized.
kettenis [Fri, 7 Nov 2003 16:30:26 +0000 (16:30 +0000)]
* fbsd-proc.c (read_mapping): Use sscanf and fgets instead of
fscanf.
jjohnstn [Fri, 7 Nov 2003 16:01:16 +0000 (16:01 +0000)]
2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
referring to _NO_LONGLONG macro.
kettenis [Fri, 7 Nov 2003 15:57:21 +0000 (15:57 +0000)]
* fbsd-proc.c: Fix formatting.
ezannoni [Fri, 7 Nov 2003 15:46:33 +0000 (15:46 +0000)]
2003-11-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
nickc [Fri, 7 Nov 2003 12:19:33 +0000 (12:19 +0000)]
Use consistent error messages for missing files.
Detect directories where an ordinary file is expected.
kevinb [Fri, 7 Nov 2003 06:00:07 +0000 (06:00 +0000)]
Fix typo in previous patch.
kevinb [Fri, 7 Nov 2003 05:54:50 +0000 (05:54 +0000)]
Handle iacc0 as a pseudo-register.
gdbadmin [Fri, 7 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 6 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update
jjohnstn [Thu, 6 Nov 2003 22:58:52 +0000 (22:58 +0000)]
2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/linuxthreads/td_init.c: Replace function name
in LOG() macro so this will compile on gcc 3.4 and up.
* libc/sys/linux/linuxthreads/td_log.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
* libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
* libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
cagney [Thu, 6 Nov 2003 22:54:00 +0000 (22:54 +0000)]
2003-11-06 Andrew Cagney <cagney@redhat.com>
* valops.c (destructor_name_p): Replace STREQN with strncmp.
* top.c (command_line_input): Ditto.
* objc-exp.y (yylex): Ditto.
* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
* jv-exp.y (yylex): Ditto.
* f-exp.y (yylex): Ditto.
* event-top.c (command_line_handler): Ditto.
* environ.c (get_in_environ): Ditto.
(set_in_environ): Ditto.
* dwarfread.c (handle_producer): Ditto.
* dbxread.c (process_one_symbol): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* c-exp.y (yylex): Ditto.
2003-11-06 Andrew Cagney <cagney@redhat.com>
* mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with
strncmp.
corinna [Thu, 6 Nov 2003 21:36:17 +0000 (21:36 +0000)]
* Missing patch to cygwin.din.
corinna [Thu, 6 Nov 2003 21:31:23 +0000 (21:31 +0000)]
* bsdlib.cc (_vwarnx): New function.
(vwarn): Ditto.
(vwarnx): Ditto.
(warn): Ditto.
(warnx): Ditto.
(verr): Ditto.
(verrx): Ditto.
(err): Ditto.
(errx): Ditto.
* cygwin.din: Export above functions.
* include/err.h: New file.
* include/cygwin/version.h: Bump API minor number.
ezannoni [Thu, 6 Nov 2003 20:50:46 +0000 (20:50 +0000)]
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
Reported by Jim Ingham <jingham@apple.com>:
* gdb.base/annota1.exp: Match at least one occurrence of the
signal handler annotation.
ezannoni [Thu, 6 Nov 2003 20:39:46 +0000 (20:39 +0000)]
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
cagney [Thu, 6 Nov 2003 19:56:25 +0000 (19:56 +0000)]
2003-11-06 Andrew Cagney <cagney@redhat.com>
Jeff Johnston <jjohnstn@redhat.com>
* target.c (add_target): Only set "to_xfer_partial" when NULL.
(init_dummy_target): Set "to_xfer_partial".
cagney [Thu, 6 Nov 2003 19:09:45 +0000 (19:09 +0000)]
2003-11-06 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not
REGISTER_CONVENTION.
drow [Thu, 6 Nov 2003 18:35:05 +0000 (18:35 +0000)]
* breakpoint.c (insert_bp_location, allocate_bp_location): Make
static.
drow [Thu, 6 Nov 2003 18:28:33 +0000 (18:28 +0000)]
* breakpoint.c (remove_breakpoint): Take an bp_location
instead of a breakpoint argument. Check the bp_location's type.
Fix a reversed condition for hardware breakpoints.
(insert_bp_location): Update call to remove_breakpoint.
(remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS.
(remove_hw_watchpoints): Likewise.
(reattach_breakpoints): Likewise.
(detach_breakpoints): Likewise.
(delete_breakpoint): Likewise.
drow [Thu, 6 Nov 2003 18:27:33 +0000 (18:27 +0000)]
* breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.
(beakpoint_init_inferior): Likewise.
(breakpoint_here_p): Likewise. Only check addresses for software
or hardware breakpoints.
(breakpoint_inserted_here_p): Likewise.
(breakpoint_thread_match): Likewise. Correct comment.
(bpstat_have_active_hw_watchpoints): Likewise.
(check_duplicates): Likewise.
drow [Thu, 6 Nov 2003 18:26:17 +0000 (18:26 +0000)]
* breakpoints.c (insert_bp_location): New function, broken out
from insert_breakpoints. Work on an bp_location instead of a
breakpoint.
(insert_breakpoints): Use it.
drow [Thu, 6 Nov 2003 18:24:55 +0000 (18:24 +0000)]
* breakpoint.h (struct bp_location): Add section.
(struct breakpoint): Remove section.
* breakpoint.c (insert_breakpoints, remove_breakpoint)
(breakpoint_here_p, breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint)
(describe_other_breakpoints, check_duplicates, set_raw_breakpoint)
(clear_command, delete_breakpoint, breakpoint_re_set_one): Access
section through loc.
drow [Thu, 6 Nov 2003 18:22:44 +0000 (18:22 +0000)]
* breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONS
instead of ALL_BREAKPOINTS. Check for software breakpoints only.
drow [Thu, 6 Nov 2003 18:20:52 +0000 (18:20 +0000)]
* breakpoint.c (allocate_bp_location): Take bpt and bp_type
arguments. Initialize owner and type for the new breakpoint
location item.
(set_raw_breakpoint): Update call to allocate_bp_location.
drow [Thu, 6 Nov 2003 17:57:32 +0000 (17:57 +0000)]
Correct typo in previous entry
drow [Thu, 6 Nov 2003 17:26:16 +0000 (17:26 +0000)]
* breakpoint.h (struct bp_location): Add a chain pointer.
* breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New
macros.
(bp_location_chain): New variable.
(allocate_bp_location): New function.
(set_raw_breakpoint): Use it.
(delete_breakpoint): Remove ->loc from the bp_location_chain.
drow [Thu, 6 Nov 2003 17:24:37 +0000 (17:24 +0000)]
* breakpoint.h (enum bp_loc_type, struct bp_location): New.
(struct breakpoint): Remove address, shadow_contents, inserted,
and duplicate. Add a struct bp_location.
* breakpoint.c (condition_command, read_memory_nobpt)
(insert_breakpoints, remove_breakpoints, remove_hw_watchpoints)
(reattach_breakpoints, update_breakpoints_after_exec)
(detach_breakpoints, remove_breakpoint, mark_breakpoints_out)
(breakpoint_init_inferior, breakpoint_here_p)
(breakpoint_inserted_here_p, deprecated_frame_in_dummy)
(breakpoint_thread_match, bpstat_stop_status)
(bpstat_have_active_hw_watchpoints, print_one_breakpoint)
(describe_other_breakpoints, check_duplicates)
(make_breakpoint_permanent, create_thread_event_breakpoint)
(disable_breakpoints_in_shlibs, re_enable_berakpoints_in_shlibs)
(set_longjmp_resume_breakpoint, mention, create_breakpoints)
(watch_command_1, print_one_exception_catchpoint)
(clear_command, breakpoint_re_set_one): Adjust member accesses to
use the breakpoint's ->loc.
(set_raw_breakpoint): Likewise. Initialize ->loc.
(delete_breakpoint): Likewise. Free ->loc.
nickc [Thu, 6 Nov 2003 15:30:03 +0000 (15:30 +0000)]
* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.
(rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table,
dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table,
mav_mvax_table, mav_dspc_table): Initialise new field.
(insert_reg_alias): Initialise new field.
(md_pseudo_table): Add "unreq" entry.
(s_unreq): New function: Undo the effects of a previous .req.
* doc/c-arm.texi: Document new pseudo op.
* NEWS: Mention new feature.
* testsuite/gas/arm/req.s: New test file. Check .req and .unreq psuedo ops.
* testsuite/gas/arm/req.l: Expected error output from req.s test.
* testsuite/gas/arm/copro.d: Set target architecture for objdump so that the
test will work on architectures which cannot encode higher arm architecture
types in their file headers.
* testsuite/gas/arm/arm.exp: Run new req.s test.
Skip thumb instruction test for PE targets which do not support
thumb relocations.
* testsuite/gas/elf/elf.exp: Skip special handling of section2 test for XScale
targets - it is no longer needed.
corinna [Thu, 6 Nov 2003 14:33:15 +0000 (14:33 +0000)]
* syscalls.cc (getshmlba): New function.
* external.cc (cygwin_internal): Add CW_GET_SHMLBA handling.
* mmap.cc (mmap64): Call getshmlba to evaluate granularity.
* winsup.h (getshmlba): Add declaration.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_SHMLBA.
amodra [Thu, 6 Nov 2003 14:30:11 +0000 (14:30 +0000)]
* elf32-ppc.c (ppc_elf_install_value): Delete.
(shared_stub_entry, stub_entry): Make them arrays of ints.
Remove initial branch.
(ppc_elf_relax_section): Write one branch around all trampolines
instead. Correct bogus R_PPC_PLTREL24 handling. Correct
branch range check. Only use shared_stub_entry when shared.
Test that branches can reach stubs. Write trampolines out at
end so that just one realloc is used. Handle little-endian
mode. Move relevant code from ppc_elf_install_value to here.
(ppc_elf_relocate_section): Move code handling RELAX32 from
ppc_elf_install_value to here.
cgf [Thu, 6 Nov 2003 13:58:45 +0000 (13:58 +0000)]
* winsup.h: Declare access_worker.
nickc [Thu, 6 Nov 2003 11:58:57 +0000 (11:58 +0000)]
Fix 'the the' typo
corinna [Thu, 6 Nov 2003 10:46:48 +0000 (10:46 +0000)]
* include/cygwin/types.h: Fix preprocessor guards for vm_offset_t and
vm_size_t. Add typedef for vm_object_t.
hjl [Thu, 6 Nov 2003 04:32:07 +0000 (04:32 +0000)]
2003-11-05 H.J. Lu <hongjiu.lu@intel.com>
* m68k-opc.c (m68k_opcodes): Reorder "fmovel".
cagney [Thu, 6 Nov 2003 03:29:48 +0000 (03:29 +0000)]
2003-11-05 Andrew Cagney <cagney@redhat.com>
* config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete
macro.
* config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro.
* config/i386/tm-cygwin.h
(LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro.
* config/powerpc/tm-linux.h
(AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro.
(at_subroutine_call_instruction_target): Delete declaration.
* config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro.
* config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro.
* config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro.
amodra [Thu, 6 Nov 2003 02:58:39 +0000 (02:58 +0000)]
* elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.
(ppc_elf_install_value): Handle R_PPC_RELAX32PC. Merge duplicate
cases.
(shared_stub_entry): Correct opcode.
(ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs.
(ppc_elf_relocate_section): Handle them.
amodra [Thu, 6 Nov 2003 02:57:08 +0000 (02:57 +0000)]
* ppc.h (R_PPC_RELAX32PC): Define.
cagney [Thu, 6 Nov 2003 02:52:26 +0000 (02:52 +0000)]
2003-11-05 Andrew Cagney <cagney@redhat.com>
* xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with
"struct bfd_section" and "struct bfd".
* target.h (struct section_table): Ditto.
* rs6000-nat.c (xcoff_relocate_core): Ditto.
* solib-svr4.c (elf_locate_base): Ditto.
* pa64solib.c (dld_cache_t): Ditto.
* objfiles.h (struct obj_section): Ditto.
* objfiles.c (add_to_objfile_sections): Ditto.
* exec.c (bfdsec_to_vmap): Ditto.
(add_to_section_table): Ditto.
(build_section_table): Ditto.
* corelow.c (get_core_register_section): Ditto.
* coffread.c (find_linenos): Ditto.
* elfread.c (elf_interpreter): Delete #if0'd function.
* mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS.
* config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro.
* config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro.
* config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro.
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.
* wince.c (_initialize_wince): Fix multi-line string.
* ia64-tdep.c (floatformat_valid): Convert to ISO C.
chastain [Thu, 6 Nov 2003 02:08:08 +0000 (02:08 +0000)]
2003-11-05 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c (routine): Handle early return from sleep.
jjohnstn [Thu, 6 Nov 2003 00:50:57 +0000 (00:50 +0000)]
2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
Artem B. Bityuckiy <mail_lists@mail.ru>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
%ls, %S, %lc, and %C format specifiers.
(get_arg): Ditto.
* libc/stdio/sprintf.c: Add documentation regarding new
format specifiers added in vfprintf.c.
jjohnstn [Thu, 6 Nov 2003 00:46:59 +0000 (00:46 +0000)]
2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
to make code work as specified in standard.
gdbadmin [Thu, 6 Nov 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
ezannoni [Wed, 5 Nov 2003 23:50:12 +0000 (23:50 +0000)]
2003-11-05 Elena Zannoni <ezannoni@redhat.com>
* top.c (execute_command): Fix broken logic for command execution
while inferior is running in async mode.
kettenis [Wed, 5 Nov 2003 23:32:17 +0000 (23:32 +0000)]
* dwarf2-frame.c (execute_cfa_program): Mark register as
REG_SAVED_REG for DW_CFA_register opcode.
amodra [Wed, 5 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
kettenis [Wed, 5 Nov 2003 22:54:45 +0000 (22:54 +0000)]
* amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of
%rsp, %rip and %eflags to match ABI-change.
jjohnstn [Wed, 5 Nov 2003 20:32:42 +0000 (20:32 +0000)]
2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (struct gdbarch_tdep): Remove os_ident field.
(ia64_gdbarch_init): Don't bother calculating the os.
Instead use the gdbarch_info struct and look at the osabi field.
Also use gdbarch_list_lookup_by_info() to look for a
candidate gdbarch.
cgf [Wed, 5 Nov 2003 16:53:55 +0000 (16:53 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Detect attempt to open a
directory which lacks read privileges.
kevinb [Wed, 5 Nov 2003 16:44:12 +0000 (16:44 +0000)]
* frv-tdep.c (frv_register_byte): Delete.
(frv_extract_return_value, frv_store_return_value)
(frv_extract_struct_value_address): Don't call frv_register_byte().
Convert to non-deprecated form.
(frv_gdbarch_init): Don't call set_gdbarch_deprecated_register_byte().
Convert calls to set_gdbarch_deprecated_extract_return_value(),
set_gdbarch_deprecated_store_return_value(), and
set_gdbarch_deprecated_extract_struct_value_address() into
non-deprecated forms.
cagney [Wed, 5 Nov 2003 16:42:33 +0000 (16:42 +0000)]
2003-11-05 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_dump_tdep): Do not print
PRINT_EXTRA_FRAME_INFO.
* config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO):
Rename PRINT_EXTRA_FRAME_INFO.
* mips-tdep.c (mips_print_extra_frame_info): Delete function.
* config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro.
(mips_print_extra_frame_info): Delete declaration.
* stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO.
ezannoni [Wed, 5 Nov 2003 15:30:35 +0000 (15:30 +0000)]
2003-11-05 Elena Zannoni <ezannoni@redhat.com>
* coffread.c (coff_symtab_read): Remove passing of info parameter
to prim_record_minimal_symbol_and_info.
ezannoni [Wed, 5 Nov 2003 15:27:31 +0000 (15:27 +0000)]
2003-11-05 Elena Zannoni <ezannoni@redhat.com>
* coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use.
(decode_base_type): Delete ifdeffed out code.
amodra [Wed, 5 Nov 2003 13:17:08 +0000 (13:17 +0000)]
* elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return
updated section in case of merged section.
* elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration.
* elf-hppa.h (elf_hppa_relocate_section): Adjust call.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section) Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol
section for reloc output.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything
for R_PPC_RELAX32 reloc. Don't bother checking ppc_elf_install_value
return value.
* elf64-ppc.c (ppc64_elf_relocate_section <R_PPC64_TOC>): Sanity check
sec->id.
amodra [Wed, 5 Nov 2003 01:23:54 +0000 (01:23 +0000)]
* elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.
(elf32_d10v_relocate_section): Use them to handle -r reloc
adjustments, and in place of _bfd_elf_rela_local_sym.
hjl [Wed, 5 Nov 2003 01:14:25 +0000 (01:14 +0000)]
2003-11-04 H.J. Lu <hongjiu.lu@intel.com>
* gas/m68k/mcf-mov3q.d: Support 64bit BFD.
gdbadmin [Wed, 5 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 4 Nov 2003 23:58:06 +0000 (23:58 +0000)]
* cpu-iq2000.c (arch_info_struct): Warning fix.
amodra [Tue, 4 Nov 2003 23:52:57 +0000 (23:52 +0000)]
* elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
(elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on
weakdefs.
(elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS.
(elf32_hppa_adjust_dynamic_symbol): Likewise. Copy weakdef
NON_GOT_REF.
(allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and
SYMBOL_CALLS_LOCAL. Discard relocs for undef weak syms with
non-default visibility.
(elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and
SYMBOL_CALLS_LOCAL.
amodra [Tue, 4 Nov 2003 23:36:20 +0000 (23:36 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
(pr_sym): Move inside #ifdef DLL_SUPPORT.
amodra [Tue, 4 Nov 2003 23:35:54 +0000 (23:35 +0000)]
* config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
amodra [Tue, 4 Nov 2003 23:11:22 +0000 (23:11 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
unused variable.
amodra [Tue, 4 Nov 2003 23:08:02 +0000 (23:08 +0000)]
* emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
amodra [Tue, 4 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update
cagney [Tue, 4 Nov 2003 22:22:30 +0000 (22:22 +0000)]
2003-11-04 Andrew Cagney <cagney@redhat.com>
* symtab.c (find_active_alias): Delete function.
(lookup_block_symbol): Delete alias code.
* stabsread.c (resolve_live_range): Delete function.
(add_live_range): Delete function.
(resolve_symbol_reference): Delete function.
(define_symbol): Delete live range and alias code.
(scan_file_globals): Delete alias code.
* symtab.h (SYMBOL_RANGES): Delete macro.
(struct range_list): Delete structure.
(struct symbol): Delete field "ranges".
(SYMBOL_ALIASES): Delete macro.
(struct alias_list): Delete structure.
(struct symbol): Delete field "aliases".
davidsb [Tue, 4 Nov 2003 22:05:31 +0000 (22:05 +0000)]
Entry "Where is the su command?" -> "Why doesn't su work?"
msnyder [Tue, 4 Nov 2003 20:01:16 +0000 (20:01 +0000)]
2003-11-04 Michael Snyder <msnyder@redhat.com>
* MAINTAINERS: Remove myself as owner of breakpoints and
of sparc/solaris.
corinna [Tue, 4 Nov 2003 15:48:18 +0000 (15:48 +0000)]
* external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTE
handling.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add
CW_GET_POSIX_SECURITY_ATTRIBUTE.
* exceptions.cc (init_global_security): Move from here...
* sec_helper.cc (init_global_security): ...to here.
cgf [Tue, 4 Nov 2003 13:15:47 +0000 (13:15 +0000)]
* net.cc (dup_ent): Use IsBadStringPtr for alignment checks. Don't use a known
bad pointer.
amodra [Tue, 4 Nov 2003 11:30:53 +0000 (11:30 +0000)]
* aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.
* coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto.
* coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto.
* cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto.
* cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto.
* gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto.
* nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto.
corinna [Tue, 4 Nov 2003 10:54:47 +0000 (10:54 +0000)]
* passwd.c (PrintPW): Turn around meaning printed for "Password not
required" option to be in line with Windows meaning.
(main): Use more appropriate 1008 option when calling
NetUserSetInfo to change flag values.
amodra [Tue, 4 Nov 2003 10:45:53 +0000 (10:45 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix
"dereferencing type-punned pointer" warnings.
amodra [Tue, 4 Nov 2003 10:41:48 +0000 (10:41 +0000)]
* aout-adobe.c (aout_adobe_set_section_contents): Constify location.
* aoutx.h (NAME(aout,set_section_contents)): Ditto.
* bfd-in2.h: Regenerate.
* binary.c (binary_set_section_contents): Ditto.
* bout.c (b_out_set_section_contents): Ditto.
* coff-tic54x.c (tic54x_set_section_contents): Ditto.
* coffcode.h (coff_set_section_contents): Ditto.
* ecoff.c (_bfd_ecoff_set_section_contents): Ditto.
* elf-bfd.h (_bfd_elf_set_section_contents): Ditto.
* elf.c (_bfd_elf_set_section_contents): Ditto.
* elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto.
* elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto.
* i386msdos.c (msdos_set_section_contents): Ditto.
* ieee.c (ieee_set_section_contents): Ditto.
* ihex.c (ihex_set_section_contents): Ditto.
* libaout.h (NAME(aout,set_section_contents)): Ditto.
* libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto.
(_bfd_generic_set_section_contents): Ditto.
* libbfd.h: Regenerate.
* libbfd.c (_bfd_generic_set_section_contents): Ditto.
* libecoff.h (_bfd_ecoff_set_section_contents): Ditto.
* libnlm.h (nlmNAME(set_section_contents)): Ditto.
(struct nlm_backend_data <nlm_mangle_relocs>): Ditto.
* mmo.c (mmo_set_section_contents): Ditto.
* nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto.
* nlm32-i386.c (nlm_i386_mangle_relocs): Ditto.
* nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto.
* nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto.
* nlmcode.h (nlm_set_section_contents): Ditto.
* oasys.c (oasys_set_section_contents): Ditto.
* pdp11.c (NAME(aout,set_section_contents)): Ditto.
* ppcboot.c (ppcboot_set_section_contents): Ditto.
* srec.c (srec_set_section_contents): Ditto.
* targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto.
* tekhex.c (tekhex_set_section_contents): Ditto.
(move_section_contents): Ditto.
* versados.c (versados_set_section_contents): Ditto.
* vms-misc.c (_bfd_save_vms_section): Ditto.
* vms.c (vms_set_section_contents): Ditto.
* vms.h (_bfd_save_vms_section): Ditto.
corinna [Tue, 4 Nov 2003 10:30:35 +0000 (10:30 +0000)]
* passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).
(version): Bump version number to 1.5.
(longopts): Add -c, -C, -e, -E, -p, -P options.
(opts): Ditto.
(PrintPW): Print values of UF_PASSWD_CANT_CHANGE and
UF_DONT_EXPIRE_PASSWD flags. Slightly reformat output. Don't suppress
correct system password settings just because the account has admin
privileges.
(usage): Define as "noreturn" function. Restructure and rephrase
output. Accomodate new options.
(print_version): Fix copyright dates.
(main): Accomodate new options for setting UF_PASSWD_CANT_CHANGE,
UF_DONT_EXPIRE_PASSWD and UF_PASSWD_NOTREQD settings.
amodra [Tue, 4 Nov 2003 08:51:35 +0000 (08:51 +0000)]
* elf64-ppc.c (ppc_size_one_stub): Size relbrlt. Accept info arg
rather than htab.
(ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal. Zero
relbrlt size.
(ppc64_elf_build_stubs): Allocate space for relbrlt.
amodra [Tue, 4 Nov 2003 06:16:32 +0000 (06:16 +0000)]
* bfd-in.h (_bfd_elf_tls_setup): Declare.
* bfd-in2.h: Regenerate.
* elf-bfd.h (struct elf_link_tls_segment): Delete.
(struct elf_link_hash_table): Add tls_sec and tls_size.
* elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size.
* elflink.c (_bfd_elf_tls_setup): New function.
* elflink.h (struct elf_final_link_info): Remove first_tls_sec.
(elf_bfd_final_link): Don't set first_tls_sec here. Update code
saving tls segment info, round segment size up.
(elf_link_output_extsym): Adjust code using tls segment info.
(elf_link_input_bfd): Likewise.
* elf32-i386.c (dtpoff_base, tpoff): Likewise.
* elf32-s390.c (dtpoff_base, tpoff): Likewise.
* elf32-sh.c (dtpoff_base, tpoff): Likewise.
* elf32-sparc.c (dtpoff_base, tpoff): Likewise.
* elf64-s390.c (dtpoff_base, tpoff): Likewise.
* elf64-x86-64.c (dtpoff_base, tpoff): Likewise.
* elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise.
(elfNN_ia64_dtprel_base): Likewise.
* elf64-alpha.c (alpha_get_dtprel_base): Likewise.
(alpha_get_tprel_base): Likewise.
(struct alpha_relax_info): Remove tls_segment.
(elf64_alpha_relax_got_load): Adjust invocation of
alpha_get_dtprel_base and alpha_get_tprel_base.
(elf64_alpha_relax_tls_get_addr): Likewise.
(elf64_alpha_relax_section): Likewise.
(elf64_alpha_relocate_section): Likewise.
(elf64_alpha_relax_find_tls_segment): Delete.
* elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec.
(ppc_elf_tls_setup): Call _bfd_elf_tls_setup. Return section.
(ppc_elf_relocate_section): Adjust to use elf.tls_sec.
* elf32-ppc.h (ppc_elf_tls_setup): Update.
* elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec.
(ppc64_elf_tls_setup): Call _bfd_elf_tls_setup. Return section.
(ppc64_elf_tls_optimize): Adjust to use elf.tls_sec.
(ppc64_elf_relocate_section): Likewise.
* elf64-ppc.h (ppc64_elf_tls_setup): Update.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
_bfd_elf_tls_setup.
gdbadmin [Tue, 4 Nov 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 3 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
corinna [Mon, 3 Nov 2003 21:43:32 +0000 (21:43 +0000)]
* net.cc (dup_ent): Move Win 95 misalignment recogition before
trying to evaluate string length.
brolley [Mon, 3 Nov 2003 18:29:57 +0000 (18:29 +0000)]
2003-11-03 Dave Brolley <brolley@redhat.com>
* cache.c (address_interference): Check for higher priority requests
in the same pipeline.
kewarken [Mon, 3 Nov 2003 17:42:52 +0000 (17:42 +0000)]
Added new SH4 testcases
corinna [Mon, 3 Nov 2003 17:08:21 +0000 (17:08 +0000)]
* sh-tdep.c (sh_sh4_nofpu_register_name): New function.
(sh_sh4al_dsp_register_name): Ditto.
(sh4_nofpu_show_regs): Ditto.
(sh_gdbarch_init): Add cases for bfd_mach_sh4al_dsp, bfd_mach_sh4a,
bfd_mach_sh4_nofpu and bfd_mach_sh4a_nofpu.
cagney [Mon, 3 Nov 2003 17:03:09 +0000 (17:03 +0000)]
* bcache.c: Include "gdb_assert.h".
(struct bcache): Add fields "expand_count" and
"expand_hash_count".
(expand_hash_table): Update the expand counts.
(print_bcache_statistics): Use XCALLOC, not alloca. Print stats
on object sizes and hashes.
* Makefile.in (bcache.o): Update dependencies.
drow [Mon, 3 Nov 2003 15:17:37 +0000 (15:17 +0000)]
* elf-bfd.h (struct elf_backend_data): Remove plt_header_size.
* elf-m10300.c (elf_backend_plt_header_size): Don't define.
* elf32-arm.h (elf_backend_plt_header_size): Don't define.
* elf32-cris.c (elf_backend_plt_header_size): Don't define.
* elf32-i386.c (elf_backend_plt_header_size): Don't define.
* elf32-mips.c (elf_backend_plt_header_size): Don't define.
* elf32-ppc.c (elf_backend_plt_header_size): Don't define.
* elf32-s390.c (elf_backend_plt_header_size): Don't define.
* elf32-sh.c (elf_backend_plt_header_size): Don't define.
* elf32-sparc.c (elf_backend_plt_header_size): Don't define.
* elf64-alpha.c (elf_backend_plt_header_size): Don't define.
* elf64-hppa.c (elf_backend_plt_header_size): Don't define.
* elf64-mips.c (elf_backend_plt_header_size): Don't define.
* elf64-ppc.c (elf_backend_plt_header_size): Don't define.
* elf64-s390.c (elf_backend_plt_header_size): Don't define.
* elf64-sh64.c (elf_backend_plt_header_size): Don't define.
* elf64-sparc.c (elf_backend_plt_header_size): Don't define.
* elf64-x86-64.c (elf_backend_plt_header_size): Don't define.
* elfn32-mips.c (elf_backend_plt_header_size): Don't define.
* elfxx-ia64.c (elf_backend_plt_header_size): Don't define.
* elfxx-target.h (elf_backend_plt_header_size): Don't define
or include in target initializer.
drow [Mon, 3 Nov 2003 14:47:36 +0000 (14:47 +0000)]
* gas/arm/arm7t.d: Replace '-#' with '#-'.
* gas/arm/copro.d: Likewise.
* gas/arm/fpa-mem.d: Likewise.
* gas/arm/maverick.c: Likewise.
* gas/arm/maverick.d: Likewise.
* gas/arm/vfp1.d: Likewise.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/xscale.d: Likewise.
drow [Mon, 3 Nov 2003 14:47:22 +0000 (14:47 +0000)]
* arm-dis.c (print_arm_insn): Print "-" after "#".
cagney [Mon, 3 Nov 2003 14:44:03 +0000 (14:44 +0000)]
2003-11-03 Andrew Cagney <cagney@redhat.com>
* section.c (bfd_set_section_contents): Make the "location" buffer
constant.
* bfd-in2.h: Re-generate.
Index: gdb/ChangeLog
2003-11-03 Andrew Cagney <cagney@redhat.com>
* exec.c (xfer_memory): Eliminate xfer_fn.
amylaar [Mon, 3 Nov 2003 14:14:15 +0000 (14:14 +0000)]
* interp.c (fsca_s, fsrra_s): New functions.
* gencode.c (tab): Add entries for fsca and fsrra.
(expand_opcode): Allow variable length n / m fields.
gdbadmin [Mon, 3 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 2 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 2 Nov 2003 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 1 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
kevinb [Sat, 1 Nov 2003 01:42:47 +0000 (01:42 +0000)]
* frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h)
(opcodes/frv-desc.h): Include.
(iacc0h_regnum, iacc0l_regnum): Define.
(last_spr_regnum, frv_num_regs): Update.
(new_variant): Don't supply default names for holes in the SPRs.
Supply names for iacc0h_regnum and iacc0l_regnum.
(frv_register_type): Use symbolic constants first_fpr_regnum and
last_fpr_regnum instead of hardcoded constants 64 and 127. Use
builtin_type_int instead of builtin_type_int32.
(frv_register_sim_regno): New function.
(frv_gdbarch_init): Call set_gdbarch_register_sim_regno().
* Makefile.in (gdb_sim_frv_h): Define.
(frv-tdep.o): Update dependencies.
kevinb [Sat, 1 Nov 2003 01:33:25 +0000 (01:33 +0000)]
* sim-frv.h: New file.
gdbadmin [Sat, 1 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Fri, 31 Oct 2003 23:47:16 +0000 (23:47 +0000)]
2003-10-31 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c (avr_frame_this_id): Do not call
deprecated_inside_entry_file.
* m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
* m32r-tdep.c (m32r_frame_this_id): Ditto.
* d10v-tdep.c (d10v_frame_this_id): Ditto.
* arm-tdep.c (arm_prologue_this_id): Ditto.
* alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto.
amodra [Fri, 31 Oct 2003 23:00:05 +0000 (23:00 +0000)]
daily update
jimb [Fri, 31 Oct 2003 22:47:48 +0000 (22:47 +0000)]
* elfread.c (elf_symtab_read): Allocate correct number of tail
elements to sectinfo structure. (Fix from Woody LaRue.)