OSDN Git Service
cgf [Fri, 18 Nov 2005 15:57:16 +0000 (15:57 +0000)]
* times.cc (timezone): Put back (void).
* include/cygwin/time.h: Add more cygwin stuff from newlib.
cgf [Fri, 18 Nov 2005 15:45:54 +0000 (15:45 +0000)]
* include/time.h: Move cygwin declarations to cygwin-specific header.
* include/sys/time.h: Rename cygwin include to "sys_time.h".
cgf [Fri, 18 Nov 2005 15:45:51 +0000 (15:45 +0000)]
* include/cygwin/sys_time.h: Rename from include/cygwin/time.h.
* include/cygwin/time.h: New file.
jiez [Fri, 18 Nov 2005 14:21:29 +0000 (14:21 +0000)]
* config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
* config/bfin-parse.y (asm_1): Check register type for load immediate
instruction.
nickrob [Fri, 18 Nov 2005 06:37:38 +0000 (06:37 +0000)]
(gdb-source-file-list): Declare.
(gdbmi): Bind new functions.
(gdbmi-var-list-children-handler, gdbmi-var-list-children-regexp):
Handle string expressions properly. Move "type" field into regexp.
(gdbmi-var-update-regexp, gdbmi-var-update-handler): Handle string
expressions properly. Update speedbar.
(gdbmi-breakpoints-buffer, gdb-stack-buffer, gdb-locals-buffer)
(gdb-registers-buffer): Use def-gdb-auto-update-trigger instead of
def-gdb-auto-updated-buffer as handlers is defined explicitly.
(gdb-stack-list-locals-handler): Handle string expressions properly.
(gdb-data-list-register-values-handler)
(gdb-data-list-register-values-custom): Fontify buffer.
nickrob [Fri, 18 Nov 2005 06:37:11 +0000 (06:37 +0000)]
*** empty log message ***
nickrob [Fri, 18 Nov 2005 06:35:02 +0000 (06:35 +0000)]
*** empty log message ***
amodra [Fri, 18 Nov 2005 04:52:57 +0000 (04:52 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
on branches to same section.
amodra [Fri, 18 Nov 2005 04:41:30 +0000 (04:41 +0000)]
* ld-powerpc/symtocbase.d: Adjust for alignment change.
amodra [Fri, 18 Nov 2005 04:26:28 +0000 (04:26 +0000)]
* emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
(.got, .toc1, .opd): Likewise.
amodra [Fri, 18 Nov 2005 04:12:27 +0000 (04:12 +0000)]
* ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
changes to section alignment.
* ldmisc.c (vfinfo): Handle %ld and %lu.
danglin [Fri, 18 Nov 2005 00:48:50 +0000 (00:48 +0000)]
* elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under
hppa64-hp-hpux11.11.
(elf64_hppa_section_from_phdr): New function.
(elf_backend_section_from_phdr): Define.
dannysmith [Fri, 18 Nov 2005 00:44:22 +0000 (00:44 +0000)]
2005=11-18 Brian Gunlogson <gmb300@users.sourceforge.net>
* include/winuser.h (GetClassLongPtr{AW}): Add prototypes.
(SetClassLongPtr{AW}): Likewise.
(GCLP_*): Add GetClassLongPtr defines.
* lib/user32.def (GetClassLongPtr{AW}): Add stubs.
(SetClassLongPtr{AW}): Likewise.
dannysmith [Fri, 18 Nov 2005 00:30:27 +0000 (00:30 +0000)]
2005=11-18 Brian Gunlogson <gmb300@users.sourceforge.net>
* include/winuser.h (GetClassLongPtr{AW}): Add prototypes.
(SetClassLongPtr{AW}): Likewise.
(GCLP_*): Add GetClassLongPtr defines.
* lib/user32.def (GetClassLongPtr{AW}): Add stubs.
(SetClassLongPtr{AW}): Likewise.
gdbadmin [Fri, 18 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 17 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
jjohnstn [Thu, 17 Nov 2005 21:51:21 +0000 (21:51 +0000)]
2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
in libc/sys/linux/include.
* libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
* libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
* libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
in libc/sys/linux/dl.
kevinb [Thu, 17 Nov 2005 19:12:26 +0000 (19:12 +0000)]
Fix ChangeLog typo from previous commit.
kevinb [Thu, 17 Nov 2005 19:08:38 +0000 (19:08 +0000)]
* gdb.texinfo (Remote Configuration): Fix typo in description of
"set remotebreak" command.
jjohnstn [Thu, 17 Nov 2005 18:56:41 +0000 (18:56 +0000)]
2005-11-17 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
the IsTTY SWI that _isatty calls.
aph [Thu, 17 Nov 2005 16:58:27 +0000 (16:58 +0000)]
2005-11-17 Andrew Haley <aph@redhat.com>
* cxxfilt.c (main): Flush ouput at newline.
cgf [Thu, 17 Nov 2005 16:36:00 +0000 (16:36 +0000)]
* fork.cc (fork): Move top-of-stack calculation later.
* pinfo.cc (_pinfo::set_ctty): Use __ctty to print current console in debugging
output.
corinna [Thu, 17 Nov 2005 16:17:15 +0000 (16:17 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Don't expect that
service applications have no window station attached.
hp [Thu, 17 Nov 2005 16:14:53 +0000 (16:14 +0000)]
* cris/sim-main.h (struct _sim_cpu): New members last_syscall,
last_open_fd, last_open_flags.
* cris/traps.c: Don't include targ-vals.h.
(TARGET_O_ACCMODE): Define.
(cris_break_13_handler): Set new _sim_cpu members.
<case TARGET_SYS_fcntl>: Support special case of F_GETFL.
Rearrange code as switch. Emit "unimplemented" abort for
unimplemented fcntl calls.
hp [Thu, 17 Nov 2005 15:51:24 +0000 (15:51 +0000)]
* cris/traps.c (TARGET_SYS_stat): Define.
(syscall_stat32_map): Add entry for TARGET_SYS_stat.
(cris_break_13_handler) <case TARGET_SYS_stat>: New case.
aoliva [Thu, 17 Nov 2005 13:32:26 +0000 (13:32 +0000)]
* config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
dotname.
* write.c (write_object_file): Do not remove used weakrefd.
hp [Thu, 17 Nov 2005 12:01:44 +0000 (12:01 +0000)]
* cris/linunistd.h: Don't redefine errno as extern int.
jbeulich [Thu, 17 Nov 2005 08:33:36 +0000 (08:33 +0000)]
gas/
2005-11-17 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (dot_cfi): Put argument parsing for cases
DW_CFA_restore and DW_CFA_undefined in a loop.
jbeulich [Thu, 17 Nov 2005 07:29:27 +0000 (07:29 +0000)]
gas/
2005-11-17 Jan Beulich <jbeulich@novell.com>
* symbols.h (S_CLEAR_VOLATILE): Declare.
* symbols.c (colon): Also accept redefinable symbols for
redefinition. Clone them before modifying.
(S_CLEAR_VOLATILE): Define.
* cond.c (s_ifdef): Also test for equated symbols.
* read.c (s_comm_internal): Also exclude non-redefinable
equated symbols. Clone redefinable ones before modifying.
(s_weakref): Clone redefinable symbols before modifying.
* doc/internals.texi: Document sy_volatile, sy_forward_ref,
S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
S_IS_FORWARD_REF, and S_SET_FORWARD_REF.
gas/testsuite/
2005-11-17 Jan Beulich <jbeulich@novell.com>
* gas/all/cond.s: Also check ifdef works on equates and
commons.
* gas/all/cond.l: Adjust.
* gas/all/redef2.s: Also test redefining equate to label.
* gas/all/redef2.d: Adjust.
* gas/all/redef3.[sd]: New.
* gas/all/redef4.s: New.
* gas/all/redef5.s: New.
* gas/elf/redef.s: New, copied from original gas/all/redef2.s.
* gas/elf/redef.d: Remove #source.
* gas/all/gas.exp: Remove exclusion of iq2000-*-* from and
adjust xfails for redefinition tests. Run new tests. Exclude
alpha*-*-*, mips*-*-*, *c54x*-*-* from weakref tests.
drow [Thu, 17 Nov 2005 04:23:03 +0000 (04:23 +0000)]
2005-11-16 Shaun Jackman <sjackman@gmail.com>
* sim/arm/armos.c: Include limits.h
(unlink): Remove this macro. It is unused in this file and
conflicts with sim_callback->unlink.
(PATH_MAX): Define as 1024 if not already defined.
(ReadFileName): New function.
(SWIopen): Fix a potential buffer overflow.
(SWIremove): New function.
(SWIrename): Ditto.
(ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
SWI_Remove, and SWI_Rename, as well as the RDI calls
AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
AngelSWI_Reason_Rename.
drow [Thu, 17 Nov 2005 04:05:34 +0000 (04:05 +0000)]
* version.in: Update to 6.4.50.
hp [Thu, 17 Nov 2005 02:01:14 +0000 (02:01 +0000)]
* ld-mmix/sec-1.d: Adjust section order for recent ELF section
rearrangement.
hp [Thu, 17 Nov 2005 01:59:57 +0000 (01:59 +0000)]
* ld-mmix/sec-1.d: Adjust section order for recent ELF section
rearrangement.
mmitchel [Thu, 17 Nov 2005 01:01:03 +0000 (01:01 +0000)]
* doc/binutils.texi: Include config.texi and @file documentation
for manual pages.
* Makefile.am (gprof.info, gprof.1): Depend on config.texi.
(config.texi): New file.
* Makefile.in: Regenerated.
* Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
* Makefile.in: Regenerated.
* ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
Add @file documentation.
amodra [Thu, 17 Nov 2005 00:10:05 +0000 (00:10 +0000)]
* ldlang.h (lang_input_section_type): Remove "ifile" field.
(lang_insert_orphan, lang_add_section): Update prototypes.
* ldlang.c (lang_insert_orphan): Remove "file" param.
(lang_add_section): Likewise. Update all callers.
(wild_sort): Get an input section's bfd via "section->owner".
(size_input_section): Access just_syms_flag via bfd usrdata.
(lang_place_orphans): Update ldemul_place_orphan call.
* ldemul.h (ldemul_place_orphan): Remove input_statement param.
(struct ld_emulation_xfer_struct <place_orphan>): Likewise.
* ldemul.c (ldemul_place_orphan): Likewise.
* ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata.
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
* emultempl/beos.em (sort_by_file_name): Access bfd by section->owner.
(sort_sections): Likewise.
(place_orphan): Remove "file" param. Adjust lang_add_section call.
* emultempl/elf32.em (place_orphan): Remove "file" param. Adjust
lang_add_section and lang_insert_orphan calls.
* emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust
lang_add_section call.
(build_section_lists): Access just_syms_flag via bfd usrdata.
* emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust
lang_add_section call.
* emultempl/mmo.em (mmo_place_orphan): Remove "file" param. Adjust
lang_add_section and lang_insert_orphan calls.
* emultempl/pe.em (place_orphan): Likewise. Access bfd via section
owner.
* emultempl/ppc64elf.em (ppc_add_stub_section): Adjust
lang_add_section call.
(build_toc_list): Access just_syms_flag via bfd usrdata.
(build_section_lists): Likewise.
* emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file"
param. Adjust place_orphan call.
(ld_build_required_section_dependence): Access bfd via section owner.
gdbadmin [Thu, 17 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 16 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
rth [Wed, 16 Nov 2005 22:00:31 +0000 (22:00 +0000)]
* gas/all/weakref1.s: Use "=" instead of ".set" for equivalence.
ams [Wed, 16 Nov 2005 12:49:17 +0000 (12:49 +0000)]
2005-11-16 Andrew Stubbs <andrew.stubbs@st.com>
* NEWS (6.4): Mention $argc.
jimb [Wed, 16 Nov 2005 10:34:33 +0000 (10:34 +0000)]
gdb/doc/ChangeLog:
2005-11-16 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Packets, Stop Reply Packets)
(General Query Packets): Various formatting cleanups.
- Use @samp for packet contents.
- Drop summaries from packet @item lines; the same information appears
immediately below in the description.
- Delete paragraph breaks after packet @item commands, so that the
description appears directly to the right of the packet prototype
in the printed manual, if it fits.
- Place spaces in packet prototypes between @vars and non-@var
letters, and explain that they're just for formatting.
- Use @dots{} instead of '...'.
- Fix uses of @code where @var was needed.
- Replace "deprecated" markers with English text spelling out the
packet's status and the preferred alternatives.
- Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear
what this ever meant.
- Remove "(draft)" markers on 'i' packets; nobody has commented on
this for a long time.
- Remove "(draft)" markers on 'z' and 'Z' packets; these have been
implemented several times, and have been in use for years.
amodra [Wed, 16 Nov 2005 08:32:54 +0000 (08:32 +0000)]
* ldlang.h (lang_output_section_statement_type): Add prev.
* ldlang.c (new_afile): Always init header.type.
(output_statement_newfunc): Set os.prev.
(output_prev_sec_find): Use os.prev.
(lang_enter_output_section_statement): Formatting.
(lang_final, lang_add_target, lang_add_fill): Likewise.
(lang_add_data, lang_add_reloc): Likewise.
(lang_add_attribute): Only alloc the header.
amodra [Wed, 16 Nov 2005 08:00:31 +0000 (08:00 +0000)]
* config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
amodra [Wed, 16 Nov 2005 07:17:19 +0000 (07:17 +0000)]
* ld.texinfo (Forced Output Alignment): Specify that this is an
alignment increase, not an override.
* ldlang.c (init_os): Set output section alignment here..
(lang_add_section): ..rather than here.
(lang_size_sections_1): Consolidate alignment code. Warn if section
alignment affects start address when explicit address given.
jimb [Wed, 16 Nov 2005 06:24:52 +0000 (06:24 +0000)]
2005-11-15 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (Packets): Add index entries for 'm' packet
disclaimers.
cgf [Wed, 16 Nov 2005 05:12:11 +0000 (05:12 +0000)]
* times.cc (hires_ms::prime): Don't escalate the priority.
hp [Wed, 16 Nov 2005 04:50:56 +0000 (04:50 +0000)]
* cris/cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
low 32 bits are used after an unsigned long cast.
amodra [Wed, 16 Nov 2005 03:44:10 +0000 (03:44 +0000)]
* configure.tgt (i386-*-gnu*): Set em=gnu.
* config/te-gnu.h: New file.
* config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
amodra [Wed, 16 Nov 2005 01:49:48 +0000 (01:49 +0000)]
* config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.
* config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove
redundant check.
* read.c (s_lsym): Remove non-BFD assembler sym handling.
gdbadmin [Wed, 16 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 15 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
amodra [Tue, 15 Nov 2005 22:58:38 +0000 (22:58 +0000)]
* read.c (s_comm_internal): Set bfd_com_section segment.
(s_mri_common): Likewise.
* write.c (write_object_file): Remove non-BFD assembler common
sym handling.
amodra [Tue, 15 Nov 2005 21:33:04 +0000 (21:33 +0000)]
* ppc-opc.c (powerpc_opcodes): Add frin,friz,frip,frim. Correct
frsqrtes.
jimb [Tue, 15 Nov 2005 19:58:30 +0000 (19:58 +0000)]
* gdb.texinfo (Packets): Clarify lack of restrictions on behavior
of stub when processing an 'm' packet.
jimb [Tue, 15 Nov 2005 18:00:28 +0000 (18:00 +0000)]
* gdb.texinfo (Packets): Mention that packets beginning with
letters are reserved once, at the top, instead of actually listing
them all and saying "reserved".
drow [Tue, 15 Nov 2005 14:29:58 +0000 (14:29 +0000)]
gas/
* config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra
opcode if r4-r15 are not saved.
gas/testsuite/
* gas/arm/unwind.s, gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Add
a test for saving only the low registers.
ams [Tue, 15 Nov 2005 12:38:43 +0000 (12:38 +0000)]
2005-11-15 Andrew Stubbs <andrew.stubbs@st.com>
* NEWS: Add --batch-silent, --return-child-result, and --eval-command
options to the 6.4 section.
ams [Tue, 15 Nov 2005 12:03:07 +0000 (12:03 +0000)]
2005-11-15 Andrew Stubbs <andrew.stubbs@st.com>
* cli/cli-script.c: Include gdb_assert.h.
(locate_arg): Detect $argc.
(insert_args): Substitute $argc.
* Makefile.in (cli-script.o): Add dependency on gdb_assert.h.
doc/
* gdb.texinfo (User-defined commands): Add $argc. Add missing 'end'.
Change @var{$arg0 to @code{$arg0.
jbeulich [Tue, 15 Nov 2005 08:33:38 +0000 (08:33 +0000)]
binutils/
2005-11-15 Jan Beulich <jbeulich@novell.com>
* objcopy.c (keep_file_symbols): New.
(enum command_line_switch): Add OPTION_KEEP_FILE_SYMBOLS.
(strip_options): Add --keep-file-symbols.
(copy_options): Likewise.
(copy_usage): Likewise.
(strip_usage): Likewise.
(filter_symbols): Act upon keep_file_symbols.
(strip_main): Handle OPTION_KEEP_FILE_SYMBOLS.
(copy_main): Likewise.
* doc/binutils.texi: Document --keep-file-symbols for objcopy
and strip.
jbeulich [Tue, 15 Nov 2005 08:32:01 +0000 (08:32 +0000)]
binutils/testsuite/
2005-11-15 Jan Beulich <jbeulich@novell.com>
* config/default.exp (link_or_copy): New. Use it for setting
up assembler and linker for the compiler to use.
ld/testsuite/
2005-11-15 Jan Beulich <jbeulich@novell.com>
* ld-bootstrap/bootstrap.exp: Delete ld-partial.o and ld[123]*
after test.
* ld-elf/elf.exp: Delete preinit, init, and fini after test.
* ld-elf/sec64k.exp: Use macro and repeat in generated source
files. Delete object files after test.
gdbadmin [Tue, 15 Nov 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 14 Nov 2005 23:11:30 +0000 (23:11 +0000)]
* symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.
amodra [Mon, 14 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update
wilson [Mon, 14 Nov 2005 22:25:16 +0000 (22:25 +0000)]
Fix gcc bug 24490, location list query failed due to out-of-range address.
PR 2024
* dwarf2loc.c (dwarf_expr_frame_base): Use get_frame_address_in_block
instead of get_frame_pc.
(loclist_read_variable): Likewise.
cgf [Mon, 14 Nov 2005 20:34:32 +0000 (20:34 +0000)]
* include/sys/elf64.h: Fix types to reflect linux usage.
brolley [Mon, 14 Nov 2005 20:05:16 +0000 (20:05 +0000)]
2005-11-14 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (basic_cpu::pin_factory): Parse, recognize and add
watchable register and virtual pin for names representing hardware
watchpoints.
(read_data_memory_*): Make accessible as virtual methods from basic_cpu.
(read_watchpoint_memory): New method of basic_cpu.
brolley [Mon, 14 Nov 2005 20:04:53 +0000 (20:04 +0000)]
2005-11-14 Dave Brolley <brolley@redhat.com>
* gdb.h (hw_watchpoints_t): New typedef in gdb.
(hw_watchpoints): New member of gdb.
(remove_all_hw_watchpoints, remove_hw_watchpoint): New methods
of gdb.
(add_hw_watchpoint): New method of gdb.
* gdb.cxx (remove_breakpoint): Handle GDBSERV_TARGET_BP_WRITE.
(set_breakpoint): Likewise.
(remove_all_hw_watchpoints, remove_hw_watchpoint): New methods
of gdb.
(add_hw_watchpoint): New method of gdb.
(process_detach): Call remove_all_hw_watchpoints.
ams [Mon, 14 Nov 2005 19:07:15 +0000 (19:07 +0000)]
2005-11-14 Andrew Stubbs <andrew.stubbs@st.com>
* MAINTAINERS (Write After Approval): Add myself to the list.
ams [Mon, 14 Nov 2005 17:03:25 +0000 (17:03 +0000)]
2005-11-14 Andrew Stubbs <andrew.stubbs@st.com>
* thread.c (_initialize_thread): Correct the 'thread apply' help
message.
drow [Mon, 14 Nov 2005 15:00:30 +0000 (15:00 +0000)]
* readelf.c (struct dump_list_entry, request_dump_byname)
(initialise_dumps_byname): New.
(parse_args): Call request_dump_byname.
(process_section_contents): Call initialise_dumps_byname.
* doc/binutils.texi (readelf): Mention -x NAME.
* NEWS: Likewise.
cgf [Mon, 14 Nov 2005 14:15:50 +0000 (14:15 +0000)]
* fhandler.h (fhandler_console::fixup_after_fork_exec): Define with additional
bool parameter.
(fhandler_console::fixup_after_exec): Accommodate fixup_after_fork_exec's
parameter.
(fhandler_console::fixup_after_fork): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_fork_exec): Avoid opening
new console only when close_on_exec AND execing.
ths [Mon, 14 Nov 2005 11:03:15 +0000 (11:03 +0000)]
* gas/testsuite/gas/mips/mips16e-jrc.d: Tighten file format
check, relax whitespace checking.
jbeulich [Mon, 14 Nov 2005 08:38:37 +0000 (08:38 +0000)]
gas/
2005-11-14 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
(ar): Use AR_* instead of literals.
(CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
CR_PMV, CR_CMCV): Define.
(cr): Use CR_* instead of literals.
jbeulich [Mon, 14 Nov 2005 08:37:11 +0000 (08:37 +0000)]
gas/
2005-11-14 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (md): Rename regsym to indregsym and move
it to the end of the structure.
(ar): Field regnum is unsigned.
(cr): Likewise:
(indirect_reg): Likewise.
(declare_register_set): Parameter regnum is unsigned.
(declare_register): Parameter numregs and base_regnum are
unsigned. So is the local loop variable.
(md_begin): Restrict scope of local variable regnum, which
also is unsigned. Replace loops with function calls where
possible. Re-order things so that register groups are kept
together. Remove all uses of regsym except for indirect
registers. Replace use of regsym by indregsym for indirect
registers.
(ia64_optimize_expr): Replace use of regsym by indregsym for
indirect registers, with appropriate bias.
cgf [Mon, 14 Nov 2005 05:36:16 +0000 (05:36 +0000)]
* fhandler.h (fhandler_console::fixup_after_fork_exec): Declare new function.
(fhandler_console::fixup_after_fork): Use fixup_after_fork_exec.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_fork): Delete definition.
(fhandler_console::fixup_after_fork_exec): Rename from fixup_after_exec.
* pinfo.cc (_pinfo::set_ctty): Don't play with console count here.
* syscalls.cc (close_all_files): Don't close cygheap ctty if hExeced since the
child will be copying information from us.
(setsid): Use myctty() rather than raw ctty #.
cgf [Mon, 14 Nov 2005 04:28:44 +0000 (04:28 +0000)]
* cygheap.h (init_cygheap::manage_console_count): Declare new function.
(init_cygheap::console_count): Renamed from open_fhs. Make private.
* cygheap.cc (init_cygheap::manage_console_count): Define new function.
* dtable.cc (dtable::fixup_after_exec): Always call fixup_after_exec on
elements of fd even when they are about to be closed.
* fhandler.h (report_tty_counts): Remove open_fhs from debugging output.
* fhandler_console.cc (fhandler_console::open): Use manage_console_count rather
than manipulating count directly.
(fhandler_console::close): Ditto.
(fhandler_console::fixup_after_fork): Ditto.
(fhandler_console::fixup_after_exec): Ditto. Don't close handles if
close_on_exec.
* fhandler_tty.cc (fhandler_tty_slave::open): Use manage_console_count() rather
than manipulating count directly. Reflect change in arguments to
report_tty_counts().
(fhandler_tty_slave::close): Ditto for both.
(fhandler_tty_slave::dup): Ditto for both.
(fhandler_tty_slave::ioctl): Use myctty() rather than raw ctty #.
(fhandler_tty_slave::fixup_after_fork): Reflect change in arguments to
report_tty_counts().
(fhandler_tty_master::init_console): Use manage_console_count() rather than
manipulating count directly.
* fhandler_clipboard.cc (fhandler_dev_clipboard::fixup_after_exec): Don't
perform any operations if close_on_exec.
* fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_exec): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fixup_after_exec): Ditto.
* fhandler_serial.cc (fhandler_serial::fixup_after_exec): Ditto.
* pinfo.h (_pinfo::_ctty): Declare new function.
(myctty): Declare new macro.
(__ctty): Declare new macro.
* pinfo.cc (_pinfo::_ctty): Define new function.
(_pinfo::set_ctty): Use manage_console_count() rather than manipulating count
directly.
* signal.cc (kill_pgrp): Use myctty() and __ctty() macros rather than raw ctty
#.
* syscalls.cc (setsid): Ditto. Use manage_console_count() rather than
manipulating count directly.
woodzltc [Mon, 14 Nov 2005 03:27:22 +0000 (03:27 +0000)]
* gdb.texinfo: Correct a merge error introduced by -r 1.286.
woodzltc [Mon, 14 Nov 2005 02:34:43 +0000 (02:34 +0000)]
* gdb.texinfo (Fortran): Add some words about Fortran debugging.
ths [Mon, 14 Nov 2005 02:25:39 +0000 (02:25 +0000)]
* mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
instructions. Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for
save/restore encoding of the args field.
* mips16-opc.c: Add MIPS16e save/restore opcodes.
* mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M'
codes for save/restore.
* config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
for the MIPS16e save/restore instructions.
* gas/mips/mips.exp: Run new save/restore tests.
* gas/testsuite/gas/mips/mips16e-save.s: New test for generating
different styles of save/restore instructions.
* gas/testsuite/gas/mips/mips16e-save.d: New.
gdbadmin [Mon, 14 Nov 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 13 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update
drow [Sun, 13 Nov 2005 18:56:34 +0000 (18:56 +0000)]
* elfread.c (elf_symtab_read): Remove if (1) and reindent.
drow [Sun, 13 Nov 2005 18:04:14 +0000 (18:04 +0000)]
* arm-linux-tdep.c (eabi_linux_arm_le_breakpoint)
(eabi_linux_arm_be_breakpoint): New variables.
(arm_linux_init_abi): Use them.
drow [Sun, 13 Nov 2005 18:04:03 +0000 (18:04 +0000)]
* linux-arm-low.c (arm_eabi_breakpoint): New variable.
(arm_breakpoint_at): Recognize both breakpoints.
(the_low_target): Use the correct breakpoint instruction.
corinna [Sun, 13 Nov 2005 16:24:40 +0000 (16:24 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Just return 0 (EOF)
in case of WSAESHUTDOWN.
(fhandler_socket::recvmsg): Ditto.
* poll.cc (poll): Set revents to POLLIN instead of POLLHUP. Add comment.
gdbadmin [Sun, 13 Nov 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jimb [Sat, 12 Nov 2005 23:09:46 +0000 (23:09 +0000)]
2005-11-12 Jim Blandy <jimb@redhat.com>
* gdb.texinfo (General Query Packets): Put packets in alphabetical
order. Remove extraneous 'z'.
amodra [Sat, 12 Nov 2005 23:00:05 +0000 (23:00 +0000)]
daily update
dannysmith [Sat, 12 Nov 2005 09:49:00 +0000 (09:49 +0000)]
* include/commdlg.h (OPENFILENAMEW): Add members for
_WIN32_WINNT >= 0x0500.
(OPENFILENAMEA): Modify whitespace. Ansify comment.
dannysmith [Sat, 12 Nov 2005 01:10:12 +0000 (01:10 +0000)]
* include/wingdi.h (GetICMProfile{AW}): Correct prototype.
Thanks to: Paul J Lucas
gdbadmin [Sat, 12 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 11 Nov 2005 23:00:04 +0000 (23:00 +0000)]
daily update
msnyder [Fri, 11 Nov 2005 22:30:19 +0000 (22:30 +0000)]
2005-11-11 Michael Snyder <msnyder@redhat.com>
* inftarg.c (child_wait): Delete unused local variable.
drow [Fri, 11 Nov 2005 21:45:22 +0000 (21:45 +0000)]
* Makefile.def: Remove gdb dependencies for gdbtk.
* Makefile.tpl (CONFIGURE_GDB_TK, INSTALL_GDB_TK): New variables.
(configure-gdb, install-gdb): New rules.
* configure.in: Set CONFIGURE_GDB_TK and INSTALL_GDB_TK.
* Makefile.in, configure: Regenerated.
kevinb [Fri, 11 Nov 2005 20:29:57 +0000 (20:29 +0000)]
Don't allow more than one LWP to have `do_step' flag set at a time.
ciceron [Fri, 11 Nov 2005 19:55:49 +0000 (19:55 +0000)]
PR tui/1995
* tui/tui-command.c (tui_dispatch_ctrl_char): Handle CTRL-L even if the
focus is on the command window.
ciceron [Fri, 11 Nov 2005 18:07:08 +0000 (18:07 +0000)]
* tui/tui-win.c (tui_update_gdb_sizes): Use tui_term_width() and
tui_term_height() to restore the terminal size when leaving the
TUI mode.
kseitz [Fri, 11 Nov 2005 17:19:06 +0000 (17:19 +0000)]
From Spencer Oliver <spencer.oliver@anglia.com>:
* library/targetselection.itb (build_win): Only pack the xterm checkbutton
on unix platforms.
cgf [Fri, 11 Nov 2005 16:42:15 +0000 (16:42 +0000)]
* cygheap.h (init_cygheap::_gtod): Remove.
* cygwin.din: Export clock_getres and clock_setres.
* hires.h (hires_ms::minperiod): Delete declaration.
(hires_ms::began_period): Ditto.
(hires_ms::prime): Make void.
(hires_ms::resolution): Just define here.
(hires_ms::usecs): Remove unneeded argument.
(gtod): Redeclare as a variable.
* timer.cc (timer_thread): Eliminate argument to gtod.usecs().
(timer_tracker::gettime): Ditto.
(timer_tracker::settime): Ditto.
* times.cc (gettimeofday): Ditto.
(hires_ms::began_period): Delete declaration.
(hires_us::prime): Remove debugging.
(hires_ms::prime): Make void. Eliminate period stuff.
(hires_ms::usecs): Eliminate argument to gtod.usecs().
(hires_ms::resolution): New function.
(clock_getres): Ditto.
(clock_setres): Ditto.
* version.h: Bump API version to 143.
* include/cygwin/time.h: New file.
cgf [Fri, 11 Nov 2005 16:23:36 +0000 (16:23 +0000)]
* libc/include/sys/time.h: For cygwin, use general header rather than specific
"sys/select.h".
ciceron [Fri, 11 Nov 2005 11:18:53 +0000 (11:18 +0000)]
* gdb.asm/m68hc11.inc: Setup the data section.
* gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
script for this test.
(m6812-*-*): Likewise.