OSDN Git Service
amodra [Fri, 4 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
thorpej [Fri, 4 Jan 2002 22:43:29 +0000 (22:43 +0000)]
* i386nbsd-nat.c: Update copyright years.
Include i386-tdep.h.
thorpej [Fri, 4 Jan 2002 22:41:21 +0000 (22:41 +0000)]
Write After Approval: Add myself.
ezannoni [Fri, 4 Jan 2002 19:55:08 +0000 (19:55 +0000)]
Mention PR number fixed.
ezannoni [Fri, 4 Jan 2002 19:43:08 +0000 (19:43 +0000)]
2002-01-04 Elena Zannoni <ezannoni@redhat.com>
* stabsread.c: Update copyright years.
From Debashis Mahata <debashis.mahata@wipro.com>:
(read_struct_fields): Deal with Sun C compiler erroneous stab
output for structs and unions.
drow [Fri, 4 Jan 2002 19:16:28 +0000 (19:16 +0000)]
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* p-valprint.c: Include "cp-abi.h" for baseclass_offset
prototype.
cgf [Fri, 4 Jan 2002 19:06:01 +0000 (19:06 +0000)]
* dir.cc (opendir): Don't attempt to call sub-opendir if ENOENT.
drow [Fri, 4 Jan 2002 18:20:19 +0000 (18:20 +0000)]
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* cp-abi.c: Fix whitespace.
(baseclass_offset): New wrapper function.
* cp-abi.h (baseclass_offset): Add prototype.
(struct cp_abi_ops): Add baseclass_offset pointer.
* valops.c (vb_match): Move to...
* gnu-v2-abi.c (vb_match): here.
* valops.c (baseclass_offset): Move to...
* gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
* gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
* gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
* gnu-v3-abi.c (init_gnuv3_ops): Likewise.
* hpacc-abi.c (init_hpacc_ops): Likewise.
drow [Fri, 4 Jan 2002 17:51:37 +0000 (17:51 +0000)]
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* valops.c (find_overload_match): Accept obj as a
reference parameter. Update it before returning.
* value.h (find_overload_match): Update prototype.
* eval.c (evaluate_subexp_standard): Pass object to
find_overload_match by reference.
jakub [Fri, 4 Jan 2002 17:02:29 +0000 (17:02 +0000)]
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
CIE at .eh_frame start is removed due to no FDEs referencing it.
corinna [Fri, 4 Jan 2002 16:56:53 +0000 (16:56 +0000)]
* net.cc: Replace usage of AF_UNIX by Posix compliant AF_LOCAL
throughout.
(socketpair): Explicitly allow SOCK_STREAM and SOCK_DGRAM socket types
in families AF_UNIX and AF_LOCAL. Explicitly allow PF_UNSPEC, PF_LOCAL
and PF_INET protocols. Return error otherwise. Implement datagram
socketpairs.
aj [Fri, 4 Jan 2002 14:49:01 +0000 (14:49 +0000)]
bfd:
* config.bfd (x86_64-*-netbsd*): New target.
* configure.in (x86_64-*-netbsd*): Set COREFILE
to netbsd-core.lo.
* configure: Regenerated.
gas:
* configure.in (i386-*-netbsdelf*): Collapse target into...
(i386-*-netbsd*): ...this. Add support for x86-64.
* configure: Regenerated.
ld:
* configure.tgt (x86_64-*-netbsd*): New target.
cagney [Fri, 4 Jan 2002 05:20:07 +0000 (05:20 +0000)]
s/value_ptr/struct value */
mrg [Fri, 4 Jan 2002 00:00:54 +0000 (00:00 +0000)]
* bits.c (LSMASKED64): New inline function.
(LSEXTRACTED64): Likewise.
* bits.h (_LSB_POS, _LSMASKn, LSMASK64): New macros from
sim/common/sim-bits.h
(LSMASKED64, LSEXTRACTED64): New functions definitions.
* Makefile.in (sim-bits.o): Remove target.
* main.c (zalloc): Fix typo in error message.
gdbadmin [Fri, 4 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
trix [Thu, 3 Jan 2002 22:06:38 +0000 (22:06 +0000)]
Fix xcoff linker's ordering of pad sections
hunt [Thu, 3 Jan 2002 21:42:31 +0000 (21:42 +0000)]
2002-01-03 Martin M. Hunt <hunt@redhat.com>
* library/session.tcl (SESSION_serialize_bps): Ignore
breakpoints set on internal_error and info_command because
these are set by .gdbinit and will be recreated by it.
This is a bit of a hack and should be fixed properly
someday.
nickc [Thu, 3 Jan 2002 21:32:35 +0000 (21:32 +0000)]
Remove use of ngettext()
hunt [Thu, 3 Jan 2002 21:27:31 +0000 (21:27 +0000)]
2002-01-03 Martin M. Hunt <hunt@redhat.com>
* library/debugwin.itb: Fix incorrect button names
so they will be enabled/disabled properly.
hunt [Thu, 3 Jan 2002 21:13:03 +0000 (21:13 +0000)]
2002-01-03 Martin M. Hunt <hunt@redhat.com>
* library/srctextwin.itb: Set focus on srcwin only
if another window doesn't have the focus.
msnyder [Thu, 3 Jan 2002 20:50:24 +0000 (20:50 +0000)]
2001-12-28 Michael Snyder <msnyder@redhat.com>
Abstract the functionality of iterating over mapped memory
regions into a general purpose iterator function.
* procfs.c (iterate_over_mappings): New function, general purpose
iterator for memory sections.
(proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
(solib_mappings_callback): New function, callback for above.
(info_proc_mappings): Reimpliment using iterate_over_mappings.
(info_mappings_callback): New function, callback for above.
* procfs.c (proc_set_watchpoint): Add cast to suppress warning.
brolley [Thu, 3 Jan 2002 18:30:25 +0000 (18:30 +0000)]
2002-01-03 Dave Brolley <brolley@redhat.com>
* decode.scm (-distinguishing-bit-population): Compute num-insns, the
number of insns in the list. Update the population count function to
identify and prioritize 3 catgories of useful bits.
(-population-top-few): Don't consider bits with a population count of
zero.
(-build-decode-table-entry): Don't call
filter-harmlessly-ambiguous-insns. Filter out non-specialized and
identical insns at the next tree level.
* insn.scm (filter-harmlessly-ambiguous-insns): Note in a comment that
this function is no longer used.
(filter-non-specialized-ambiguous-insns): New function.
(filter-identical-ambiguous-insns): New function.
(find-identical-insn): New function.
(filter-harmlessly-ambiguous-insns): Removed.
nickc [Thu, 3 Jan 2002 14:23:00 +0000 (14:23 +0000)]
Handle R_ARM_THM_PC11
cagney [Thu, 3 Jan 2002 06:02:41 +0000 (06:02 +0000)]
Roll ChangeLog files.
mrg [Thu, 3 Jan 2002 02:07:15 +0000 (02:07 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific.
(PPC_OPCODE_BOOKE64): Likewise.
bje [Thu, 3 Jan 2002 01:42:02 +0000 (01:42 +0000)]
* Remove mention of Cygnus from comments.
dj [Thu, 3 Jan 2002 00:25:57 +0000 (00:25 +0000)]
merge from gcc
kseitz [Thu, 3 Jan 2002 00:03:46 +0000 (00:03 +0000)]
Update copyright.
gdbadmin [Thu, 3 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
kseitz [Wed, 2 Jan 2002 23:49:41 +0000 (23:49 +0000)]
* library/interface.tcl (set_exe): Allow users to debug
executables with no debug information.
kseitz [Wed, 2 Jan 2002 23:42:49 +0000 (23:42 +0000)]
* library/console.ith (insert): Add tag parameter.
(einsert): Delete.
* library/console.itb: (insert): Add tag parameter.
(einsert): Delete.
* library/interface.tcl (gdbtk_tcl_fputs): Use Console::insert.
(gdbtk_tcl_fputs_error): Likewise.
(gdbtk_tcl_fputs_log): Likewise.
(gdbtk_tcl_fputs_target): Likewise.
(set_target): Likewise.
kseitz [Wed, 2 Jan 2002 23:36:55 +0000 (23:36 +0000)]
Move 2002 change to new ChangeLog and rename old changelog to ChangeLog-2001.
bje [Wed, 2 Jan 2002 22:26:33 +0000 (22:26 +0000)]
2002-01-03 Ben Elliston <bje@redhat.com>
* voice-pager.tcl: Update window title.
irox [Wed, 2 Jan 2002 22:08:59 +0000 (22:08 +0000)]
* library/managedwin.itb (ManagedWin::_create): When
making a modal window transient, use the source window
as the master and not ".".
bje [Wed, 2 Jan 2002 21:44:52 +0000 (21:44 +0000)]
* MAINTAINERS: Update URL for config.* scripts.
cgd [Wed, 2 Jan 2002 18:59:30 +0000 (18:59 +0000)]
2002-01-02 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/empic1-ln.d: New file to test basic linking of
R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
* ld-mips-elf/empic1-lp.d: Likewise.
* ld-mips-elf/empic1-mn.d: Likewise.
* ld-mips-elf/empic1-mp.d: Likewise.
* ld-mips-elf/empic1-sn.d: Likewise.
* ld-mips-elf/empic1-sp.d: Likewise.
* ld-mips-elf/empic1-ref.s: Likewise.
* ld-mips-elf/empic1-space.s: Likewise.
* ld-mips-elf/empic1-tgt.s: Likewise.
* ld-mips-elf/empic2-fwd-0.d: New file to test
R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
cases.
* ld-mips-elf/empic2-fwd-1.d: Likewise.
* ld-mips-elf/empic2-rev-0.d: Likewise.
* ld-mips-elf/empic2-rev-1.d: Likewise.
* ld-mips-elf/empic2-ref.s: Likewise.
* ld-mips-elf/empic2-space.s: Likewise.
* ld-mips-elf/empic2-fwd-tgt.s: Likewise.
* ld-mips-elf/empic2-rev-tgt.s: Likewise.
* ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
tests (including those above).
dj [Wed, 2 Jan 2002 18:01:37 +0000 (18:01 +0000)]
merge from gcc
nickc [Wed, 2 Jan 2002 17:19:05 +0000 (17:19 +0000)]
Test for a NULL frag link.
nickc [Wed, 2 Jan 2002 16:15:24 +0000 (16:15 +0000)]
Add japanese translation
nickc [Wed, 2 Jan 2002 15:55:47 +0000 (15:55 +0000)]
Fix spelling typo.
Reformat messages to ease translation into other languages.
nickc [Wed, 2 Jan 2002 15:36:26 +0000 (15:36 +0000)]
Reformat error messages to ease translation into other languages.
eliz [Wed, 2 Jan 2002 06:15:46 +0000 (06:15 +0000)]
(Free Software): Fix wording of the new section.
cgf [Wed, 2 Jan 2002 00:06:35 +0000 (00:06 +0000)]
* speclib: Remove temp files automatically.
gdbadmin [Wed, 2 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Tue, 1 Jan 2002 20:28:29 +0000 (20:28 +0000)]
* Makefile.in: Duh. Actually use bzip2 to create the tarball. Don't just
change the name.
dj [Tue, 1 Jan 2002 17:46:09 +0000 (17:46 +0000)]
merge from gcc
cgf [Tue, 1 Jan 2002 17:10:13 +0000 (17:10 +0000)]
* Makefile.in: Make .bz2 tarball.
cgf [Tue, 1 Jan 2002 16:49:52 +0000 (16:49 +0000)]
restore missing entry
kettenis [Tue, 1 Jan 2002 16:29:42 +0000 (16:29 +0000)]
* i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
* i386-tdep.c: Include "elf-bfd.h".
(process_note_abi_tag_sections): New function.
(i386_gdbarch_init): Add code to recognize various OS/ABI
combinations.
corinna [Tue, 1 Jan 2002 16:25:31 +0000 (16:25 +0000)]
* fhandler.h (fhandler_socket::sun_path): New private member.
(fhandler_socket::set_sun_path): New method.
(fhandler_socket::get_sun_path): Ditto.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
sun_path to NULL.
(fhandler_socket::~fhandler_socket): Free sun_path if needed.
(fhandler_socket::set_sun_path): New method.
* net.cc (cygwin_bind): Set sun_path to path of local socket file.
(cygwin_getsockname): Add code to return correct sockaddr for unix
domain sockets.
kettenis [Tue, 1 Jan 2002 15:17:37 +0000 (15:17 +0000)]
* maint.c (_initialize_maint_cmds): Add missing in
string-literal.
rth [Tue, 1 Jan 2002 01:18:16 +0000 (01:18 +0000)]
* config/tc-ia64.c (has_suffix_p): New.
(note_register_values): Use it instead of strstr.
rth [Tue, 1 Jan 2002 01:16:43 +0000 (01:16 +0000)]
* config/tc-ia64.c (errata_nop_necessary_p): Prototype.
(make_unw_section_name): Constify local variables.
dj [Tue, 1 Jan 2002 01:03:22 +0000 (01:03 +0000)]
merge from gcc
gdbadmin [Tue, 1 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
law [Mon, 31 Dec 2001 23:47:00 +0000 (23:47 +0000)]
* config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,
'X', 'M', and 'A'.
law [Mon, 31 Dec 2001 23:44:08 +0000 (23:44 +0000)]
* hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
'X', 'M', and 'A'. No longer emit a space after 'x' or 's'.
Always emit a space after 'H'.
law [Mon, 31 Dec 2001 23:43:03 +0000 (23:43 +0000)]
* hppa.h (call, ret): Move to end of table.
(addb, addib): PA2.0 variants should have been PA2.0W.
(ldw, ldh, ldb, stw, sth, stb, stwa): Reorder to keep disassembler
happy.
(fldw, fldd, fstw, fstd, bb): Likewise.
(short loads/stores): Tweak format specifier slightly to keep
disassembler happy.
(indexed loads/stores): Likewise.
(absolute loads/stores): Likewise.
cgf [Mon, 31 Dec 2001 23:24:10 +0000 (23:24 +0000)]
Nuke
eliz [Mon, 31 Dec 2001 19:33:46 +0000 (19:33 +0000)]
Fix a typo in the last change.
eliz [Mon, 31 Dec 2001 19:17:30 +0000 (19:17 +0000)]
Fix last change.
eliz [Mon, 31 Dec 2001 19:06:38 +0000 (19:06 +0000)]
* gdb.texinfo (Free Software): New section ``Free Software Needs
Free Documentation''.
jakub [Mon, 31 Dec 2001 11:49:08 +0000 (11:49 +0000)]
* elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
before looking for .eh_frame_hdr section.
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): If
.eh_frame_hdr section is being stripped from output, don't do
anything.
cgf [Mon, 31 Dec 2001 06:24:15 +0000 (06:24 +0000)]
Strip path when installing library.
trix [Mon, 31 Dec 2001 04:08:20 +0000 (04:08 +0000)]
Fix for xcoff <bigaf> big archive format support.
trix [Mon, 31 Dec 2001 04:06:14 +0000 (04:06 +0000)]
Fix for xcoff <bigaf> big archive support.
cgf [Mon, 31 Dec 2001 04:00:05 +0000 (04:00 +0000)]
* include/getopt.h: Fix define.
cgf [Mon, 31 Dec 2001 03:19:28 +0000 (03:19 +0000)]
* speclib: New file.
* Makefile.in: Create library versions of automode.o, textmode.o, and binmode.o
for easier use on command line. Create libpthread.a, libm.a, and libc.a with
subsets of exports found in libcygwin.a.
gdbadmin [Mon, 31 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sun, 30 Dec 2001 18:52:19 +0000 (18:52 +0000)]
* cygmagic: Eliminate unneeded use of 'tr' and 'bc'.
corinna [Sun, 30 Dec 2001 17:38:23 +0000 (17:38 +0000)]
* security.cc (open_local_policy): Use POLICY_EXECUTE instead of
enumerating user rights.
msnyder [Sun, 30 Dec 2001 17:00:42 +0000 (17:00 +0000)]
2001-12-30 Michael Snyder <msnyder@redhat.com>
* sparc-tdep.c (sparc-store-return-value): Whitespace fix-up.
eliz [Sun, 30 Dec 2001 06:25:14 +0000 (06:25 +0000)]
Fix the application of GFDL in the Copyright notice.
msnyder [Sun, 30 Dec 2001 03:52:20 +0000 (03:52 +0000)]
2001-12-29 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (maint info sections): Fix typo.
ezannoni [Sun, 30 Dec 2001 00:14:49 +0000 (00:14 +0000)]
2001-12-29 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (rs6000-tdep.o): Add dependency on parser-defs.h.
* rs6000-tdep.c: Include parser-defs.h.
(rs6000_register_virtual_type): Rewrite, including handling of
AltiVec regs type.
(altivec_register_p): New function.
(rs6000_do_altivec_registers): New function.
(rs6000_altivec_registers_info): New function.
(rs6000_do_registers_info): New function.
(R16): Define.
(PPC_ALTIVEC_REGS): Define.
(registers_powerpc): Add AltiVec registers.
(registers_7400): Define.
(variants): Add 7400 machine.
(rs6000_gdbarch_init): Set the numbers of AltiVec registers.
Initialize gdbarch_do)_registers_info.
(rs6000_info_power_command): New function.
(info_power_cmdlist): New static variable.
(_initialize_rs6000_tdep): Add new 'info powerpc altivec' command.
* ppc-tdep.h (struct gdbarch_tdep): Add altivec regnum fields.
(altivec_register_p): Export.
gdbadmin [Sun, 30 Dec 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Sat, 29 Dec 2001 22:03:32 +0000 (22:03 +0000)]
* security.cc (open_local_policy): Initialize lsa handle to NULL.
Request only needed access rights in call to LsaOpenPolicy().
(create_token): Check for NULL lsa pointer.
kettenis [Sat, 29 Dec 2001 20:15:46 +0000 (20:15 +0000)]
* i386bsd-nat.c (reg_offset): Fix typo.
kettenis [Sat, 29 Dec 2001 19:38:15 +0000 (19:38 +0000)]
* i386-tdep.c (i386_push_dummy_frame): Don't write back the
modified frame pointer until the old frame pointer has been saved.
cagney [Sat, 29 Dec 2001 19:25:57 +0000 (19:25 +0000)]
* arch-utils.c (initialize_current_architecture): Test byte_order
against BFD_ENDIAN_UNKNOWN.
(gdbarch_info_init): Initialize byte_order to BFD_ENDIAN_UNKNOWN.
* gdbarch.sh: Update comments on default value of byte_order.
(verify_gdbarch, gdbarch_update_p): Test byte_order against
BFD_ENDIAN_UNKNOWN.
* gdbarch.h, gdbarch.c: Re-generate.
gdbadmin [Sat, 29 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
fche [Fri, 28 Dec 2001 21:16:48 +0000 (21:16 +0000)]
* --trace-counter extensions
[bsp]
2001-12-27 Frank Ch. Eigler <fche@redhat.com>
* configrun-sid.in: Make cpu<->sched pin connections for time queries.
[component/cgen-cpu]
2001-12-27 Frank Ch. Eigler <fche@redhat.com>
* cgen-cpu.h (cgen_bi_endian_cpu): Make trace_count a host_int_8.
* compCGEN.cxx (cgen_read_memory): Don't distort memory latency
[include]
2001-12-27 Frank Ch. Eigler <fche@redhat.com>
* sidcpuutil.h (basic_cpu): Add scheduler_time_query member.
Add flush_icache(PC) virtual function.
[bsp/pregen]
2001-12-27 Frank Ch. Eigler <fche@redhat.com>
* ALL.conf: Regenerated with cpu/sched etc. changes.
fche [Fri, 28 Dec 2001 20:58:39 +0000 (20:58 +0000)]
2001-12-27 Frank Ch. Eigler <fche@redhat.com>
* cache.cxx (CacheListTypes, CacheCreate): Support hw-cache-buffer-8
component type.
* hw-cache.xml, hw-cache.txt: Modified accordingly.
msnyder [Fri, 28 Dec 2001 19:47:08 +0000 (19:47 +0000)]
2001-12-21 Michael Snyder <msnyder@redhat.com>
* procfs.c (info_proc_cmd): Add the 'mappings' sub-command that
was dropped a few years ago, when procfs.c was rewritten.
(info_proc_mappings): New function, implement 'info proc mappings'.
(mappingflags): New function.
(_initialize_procfs): Document new option to 'info proc' command.
corinna [Fri, 28 Dec 2001 15:53:26 +0000 (15:53 +0000)]
* cygwin.din: Add symbols for endutent(), getutent(), getutid(),
getutline(), setutent() and utmpname().
* syscalls.cc (setutent): New function.
(endutent): Ditto.
(utmpname): Ditto.
(getutent): Ditto.
(getutid): Ditto.
(getutline): Ditto.
* include/cygwin/version.h: Bump API minor version.
corinna [Fri, 28 Dec 2001 15:43:23 +0000 (15:43 +0000)]
* libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
gdbadmin [Fri, 28 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Thu, 27 Dec 2001 19:52:30 +0000 (19:52 +0000)]
2001-12-27 Michael Snyder <msnyder@redhat.com>
* i386-linux-nat.c: Include i386-tdep.h.
msnyder [Thu, 27 Dec 2001 19:37:12 +0000 (19:37 +0000)]
2001-12-26 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (maint info sections): Document.
msnyder [Thu, 27 Dec 2001 19:33:04 +0000 (19:33 +0000)]
2001-12-27 Michael Snyder <msnyder@redhat.com>
* maint.c (match_substring): GNU coding standards fixes.
(print_bfd_section_info): Ditto.
(print_objfile_section_info): Ditto.
msnyder [Thu, 27 Dec 2001 18:41:40 +0000 (18:41 +0000)]
2001-12-26 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (info proc): Comment out documentation for
'info proc' sub-options that are currently not implemented.
fche [Thu, 27 Dec 2001 16:16:39 +0000 (16:16 +0000)]
2001-12-27 Frank Ch. Eigler <fche@redhat.com>
* cache.cxx (cache_sizes): Add "1" and "2" kb support.
* hw-cache.xml, hw-cache.txt: Modified accordingly.
kettenis [Thu, 27 Dec 2001 15:37:35 +0000 (15:37 +0000)]
* maint.c (match_substring): Make parameters `string' and `substr'
const. Make local variable `tok' const.
kettenis [Thu, 27 Dec 2001 15:22:27 +0000 (15:22 +0000)]
* config/i386/tm-i386.h (FP7_REGNUM, FIRST_FPU_CTRL_REGNUM,
FCTRL_REGNUM, FPC_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM,
FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM,
LAST_FPU_CTRL_REGNUM, XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM,
IS_FP_REGNUM, IS_SSE_REGNUM): Removed.
(FP0_REGNUM): Define conditionally depending on HAVE_I387_REGS.
(SIZEOF_FPU_CTRL_REGS): Hardcode value.
* i386-tdep.h (struct gdbarch_tdep): Change such that it contains
a single member `num_xmm_regs'.
(FPC_REGNUM): New macro.
(FIRST_FPU_REGNUM, LAST_FPU_REGNUM, FISRT_XMM_REGNUM,
LAST_XMM_REGNUM, MXCSR_REGNUM, FIRST_FPU_CTRL_REGNUM,
LAST_FPU_CTRL_REGNUM): Removed.
(FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FOP_REGNUM, XMM0_REGNUM,
MXCSR_REGNUM): Define unconditionally. Change macros to match the
comment describing the register layout.
(FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM): New macros.
(FP_REGNUM_P, FPC_REGNUM_P, SSE_REGNUM_P): New macros.
(IS_FP_REGNUM, IS_FPU_CTRL_REGNUM, IS_SSE_REGNUM): Make obsolete,
unconditionally define in terms of FP_REGNUM_P, FPC_REGNUM_P and
SSE_REGNUM_P).
(FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM): Make
obsolete, unconditionally define in terms of FISEG_REGNUM,
FIOFF_REGNUM, FOSEG_REGNUM, FOOFF_REGNUM.
* i386-tdep.c (i386_gdbarch_init): Initialize `num_xmm_regs'
member of `struct gdbarch_tdep'.
* x86-64-tdep.c (i386_gdbarch_init): Change initialization of
`struct gdbarch_tdep'.
* i387-nat.c (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM):
Replace with FISEG_REGNUM, FIOFF_REGNUM, FOSEG_REGNUM and
FOOFF_REGNUM. Use FPC_REGNUM instead of FIRST_FPU_CTRL_REGNUM.
Use XMM0_REGNUM instead of LAST_FPU_CTRL_REGNUM.
gdbadmin [Thu, 27 Dec 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Wed, 26 Dec 2001 21:35:16 +0000 (21:35 +0000)]
* cygmagic: Add define name to warning.
* dcrt0.cc (_dll_crt0): Check for changes in child_info size.
(multiple_cygwin_problem): Avoid "proc" errors when testing. Just assume new
cygwin proc.
* shared_info.h (mount_info): Add 'cb' element for sanity checks.
(shared_info): Ditto.
* child_info.h (child_info): Add fhandler_union_size element for sanity
checking.
* shared.cc (open_shared): Detect shared region size mismatch between parent
and child.
(shared_info::initialize): Detect shared region size mismatch with expectation.
(memory_Init): Ditto.
* sigproc.cc (init_child_info): Correctly set cb in passed structure.
* shared.cc (open_shared):
cgf [Wed, 26 Dec 2001 17:48:44 +0000 (17:48 +0000)]
* include/getopt.h: Protect a declaratin.
cgf [Wed, 26 Dec 2001 17:46:11 +0000 (17:46 +0000)]
* cygpath.cc (doit): Detect and warn about an empty path. Detect and warn
about errors converting a path.
(main): Set prog_name correctly -- don't leave an extra slash or backslash at
the beginning of it.
rbcollins [Wed, 26 Dec 2001 12:48:12 +0000 (12:48 +0000)]
Remove accenidentally left >>> marker
rbcollins [Wed, 26 Dec 2001 12:46:26 +0000 (12:46 +0000)]
2001-12-26 Robert Collins <rbtcollins@hotmail.com>
* thread.cc (pthread_cond::Signal): Use a separate flag for signal detection
and broadcast semantics.
(__pthread_cond_dowait): Ditto.
* thread.h (pthread_cond): New flag for testing when a waiter has woken.