OSDN Git Service
msnyder [Fri, 1 Feb 2002 02:05:11 +0000 (02:05 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (break_at_finish_command): Export.
(break_at_finish_at_depth_command): Export.
(tbreak_at_finish_command): Export.
(_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
* hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
"tbreak" commands, which are HPPA specific.
msnyder [Fri, 1 Feb 2002 01:49:52 +0000 (01:49 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* printcmd.c (disassemble_command): Remove an ancient
artifact of an old merge.
dj [Fri, 1 Feb 2002 01:34:09 +0000 (01:34 +0000)]
merge from gcc
bje [Fri, 1 Feb 2002 01:19:43 +0000 (01:19 +0000)]
2002-01-31 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDSIQI): New.
(SUBWORDSIHI): Ditto.
(SUBWORDSFSI): Ditto.
(SUBWORDSISF): Ditto.
(SUBWORDDIDF): Ditto.
(SUBWORDDFSI): Ditto.
(SUBWORDSIUQI): Ditto.
amodra [Fri, 1 Feb 2002 01:18:06 +0000 (01:18 +0000)]
* basic_blocks.c: Replace bool with boolean, TRUE with true and
FALSE with false throughout.
* basic_blocks.h: Likewise.
* cg_arcs.c: Likewise.
* cg_dfn.c: Likewise.
* cg_print.c: Likewise.
* corefile.c: Likewise.
* gmon_io.c: Likewise.
* gprof.c: Likewise.
* hist.c: Likewise.
* mips.c: Likewise.
* source.c: Likewise.
* source.h: Likewise.
* sym_ids.c: Likewise.
* sym_ids.h: Likewise.
* symtab.h: Likewise.
* tahoe.c: Likewise.
* vax.c: Likewise.
* gprof.h: Likewise.
(TRUE): Don't define.
(FALSE): Don't define.
msnyder [Fri, 1 Feb 2002 01:14:19 +0000 (01:14 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* symfile.h (enum overlay_debugging_state):
Define enum constant values for overlay mode.
* symfile.c (overlay_debugging): Use enums instead of literals.
(overlay_is_mapped, overlay_auto_command,
overlay_manual_command): Ditto.
msnyder [Fri, 1 Feb 2002 01:08:04 +0000 (01:08 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (insert_breakpoints, remove_breakpoint,
breakpoint_here_p, breakpoint_inserted_here_p,
breakpoint_thread_match, bpstat_stop_status,
describe_other_breakpoints, check_duplicates, clear_command):
Coding standard fixes.
amodra [Fri, 1 Feb 2002 01:04:36 +0000 (01:04 +0000)]
Move doc/ entries to correct changelog
msnyder [Fri, 1 Feb 2002 01:01:20 +0000 (01:01 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* target.c (target_xfer_memory): Add spaces, coding standard.
msnyder [Fri, 1 Feb 2002 00:49:52 +0000 (00:49 +0000)]
2002-01-31 Michael Snyder <msnyder@redhat.com>
* target.c (do_xfer_memory): Add missing line to trust-readonly
code: check bfd SEC_READONLY flag for section.
gdbadmin [Fri, 1 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
bje [Thu, 31 Jan 2002 23:03:53 +0000 (23:03 +0000)]
2002-01-25 Ben Elliston <bje@redhat.com>
* libgloss.h (libgloss::SYS_argc): New enumerator.
(libgloss::SYS_argnlen, libgloss::SYS_argn): Likewise.
(libgloss::SYS_unsupported): Raise its value.
* gloss.cxx (gloss32::gloss32): Virtualise "command-line".
(gloss32::get_command_line): New method.
(gloss32::set_command_line): Likewise.
(gloss32::set_string [string&]): Call char* version.
(gloss32::set_string [char*]): Implement.
(gloss32::syscall_trap): Handle SYS_argc, SYS_argn, SYS_argnlen.
(gloss32::do_sys_argc): New method.
(gloss32::do_sys_argn): Likewise.
(gloss32::do_sys_argnlen): Likewise.
* gloss.h (gloss32::set_string): New method which has a length
parameter for binary data and null-terminated strings.
(gloss32::do_sys_argc): Declare.
(gloss32::do_sys_argn): Likewise.
(gloss32::do_sys_argnlen): Likewise.
(gloss32::command_line): Change type to vector<string>.
(gloss32::get_command_line): New virtual attribute callback.
(gloss32::set_command_line): Likewise.
amodra [Thu, 31 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
cagney [Thu, 31 Jan 2002 20:45:16 +0000 (20:45 +0000)]
Fix tipo.
thorpej [Thu, 31 Jan 2002 19:21:54 +0000 (19:21 +0000)]
Deal with target architecture that have a pointer size that is different from
the host architectures pointer size.
(Nick missed this file when he committed the patch.)
dj [Thu, 31 Jan 2002 19:01:07 +0000 (19:01 +0000)]
merge from gcc
obrien [Thu, 31 Jan 2002 19:00:53 +0000 (19:00 +0000)]
2002-01-31 David O'Brien <obrien@FreeBSD>
* configure.in: Recognize the differences in core files from FreeBSD
4.{0,1} and later versions of 4.x. This treats 4.2+ the same as
5-CURRENT.
* configure: Regenerate.
Approved by: Nick Clifton <nickc@cambridge.redhat.com>
<m3k7tyuzzd.fsf@north-pole.nickc.cambridge.redhat.com>
nickc [Thu, 31 Jan 2002 18:37:56 +0000 (18:37 +0000)]
Deal with target architecture that have a pointer size that is different from
the host architectures pointer size.
hp [Thu, 31 Jan 2002 17:55:16 +0000 (17:55 +0000)]
* cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
New functions.
nickc [Thu, 31 Jan 2002 17:32:54 +0000 (17:32 +0000)]
Add support for OpenRISC 32-bit embedded processor
amodra [Thu, 31 Jan 2002 12:56:06 +0000 (12:56 +0000)]
* alpha.c (alpha_Instruction): Don't use.
(alpha_find_call): Avoid use of bitfields and casts between
pointers and integers of different sizes. Avoid endian problems
when cross-compiling.
* vax.c (vax_find_call): Likewise.
(struct modebyte): Don't use.
(vax_operandmode): Pass in an unsigned char *.
(vax_operandlength): Likewise.
(vax_reladdr): Rename to vax_offset and return relative offset
rather than address.
* i386.c (i386_find_call): Avoid casts between pointers and
integers of different sizes.
* sparc.c (sparc_find_call): Likewise. Avoid endian problems.
* tahoe.c (tahoe_find_call): Likewise.
(tahoe_reladdr): Rename to tahoe_offset and return relative offset
rather than address.
* basic_blocks.h: Don't include headers here.
* call_graph.h: Likewise.
* cg_arcs.h: Likewise.
* cg_print.h: Likewise.
* corefile.h: Likewise.
* gmon_io.h: Likewise.
* gmon_out.h: Likewise.
* hertz.h: Likewise.
* hist.h: Likewise.
* source.h: Likewise.
* sym_ids.h: Likewise.
* symtab.h: Likewise.
* gprof.h: Don't include ansidecl.h, do include bfd.h.
(bool): Don't typedef.
* alpha.c: Adjust #include's for above header changes.
* basic_blocks.c: Likewise.
* call_graph.c: Likewise.
* cg_arcs.c: Likewise.
* cg_dfn.c: Likewise.
* cg_print.c: Likewise.
* corefile.c: Likewise.
* gmon_io.c: Likewise.
* gprof.c: Likewise.
* hertz.c: Likewise.
* hist.c: Likewise.
* i386.c: Likewise.
* mips.c: Likewise.
* sparc.c: Likewise.
* sym_ids.c: Likewise.
* symtab.c: Likewise.
* tahoe.c: Likewise.
* utils.c: Likewise.
* vax.c: Likewise.
* po/POTFILES.in: Regenerate.
corinna [Thu, 31 Jan 2002 12:43:29 +0000 (12:43 +0000)]
* mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
isn't given.
nickc [Thu, 31 Jan 2002 11:17:20 +0000 (11:17 +0000)]
Replace 'return false' with a return of a bfd_reloc_ error code.
hp [Thu, 31 Jan 2002 10:46:20 +0000 (10:46 +0000)]
* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
unexport unreferenced symbols when --export-dynamic. Call
_bfd_elf_strtab_delref when unexporting.
hp [Thu, 31 Jan 2002 10:42:14 +0000 (10:42 +0000)]
* ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s,
ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests.
* ld-cris/cris.exp: Split run_dump_tests in two parts, executing
tests named *dso-*.d first and copying their tmpdir/dump to files
named as the .d-file.
nickc [Thu, 31 Jan 2002 09:24:16 +0000 (09:24 +0000)]
oops - omitted from previous delta
amodra [Thu, 31 Jan 2002 06:23:17 +0000 (06:23 +0000)]
* chew.c (courierize): Don't modify @command params.
drow [Thu, 31 Jan 2002 05:08:39 +0000 (05:08 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
Allow a start function above main.
* gdb.threads/linux-dp.exp: Fix copyright date.
drow [Thu, 31 Jan 2002 05:05:28 +0000 (05:05 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
(check_philosopher_stack): Check for manager thread before checking
for a just-starting thread.
drow [Thu, 31 Jan 2002 05:03:30 +0000 (05:03 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
data symbols, since we search based on textlow and texthigh.
(find_pc_sect_symtab): Likewise.
drow [Thu, 31 Jan 2002 04:42:30 +0000 (04:42 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* bfd-in.h: Include <stdbool.h> if it is available.
* bfd-in2.h: Regenerated.
amodra [Thu, 31 Jan 2002 04:13:13 +0000 (04:13 +0000)]
* elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should
not go via the plt.
cagney [Thu, 31 Jan 2002 04:10:50 +0000 (04:10 +0000)]
* defs.h (vwarning): Declare.
(warning_begin): Delete declaration.
* utils.c (vwarning): New function.
(warning): Call vwarning.
(warning_begin): Delete function.
* rs6000-nat.c (vmap_ldinfo): Use the function warning to print
the warning message.
* d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
warning_begin.
amodra [Thu, 31 Jan 2002 03:57:48 +0000 (03:57 +0000)]
* ld-scripts/crossref.exp: Allow foo to have a leading dot.
* ld-scripts/cross1.t: Add .opd.
* ld-undefined/undefined.exp: Allow leading dot on sym names.
* lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
msnyder [Thu, 31 Jan 2002 03:57:42 +0000 (03:57 +0000)]
2002-01-30 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention "set trust-readonly-sections" command.
msnyder [Thu, 31 Jan 2002 02:33:20 +0000 (02:33 +0000)]
2002-01-30 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention generate-core-file command.
msnyder [Thu, 31 Jan 2002 02:31:05 +0000 (02:31 +0000)]
2002-01-15 Michael Snyder <msnyder@redhat.com>
* target.c: New command, "set trust-readonly-sections on".
(do_xfer_memory): Honor the suggestion to trust readonly sections
by reading them from the object file instead of from the target.
(initialize_targets): Register command "set trust-readonly-sections".
dj [Thu, 31 Jan 2002 02:21:24 +0000 (02:21 +0000)]
merge from gcc
cagney [Thu, 31 Jan 2002 02:13:56 +0000 (02:13 +0000)]
* parse.c (target_map_name_to_register): Simplify, search regs and
pseudo-regs using a single loop.
cagney [Thu, 31 Jan 2002 01:31:53 +0000 (01:31 +0000)]
Mention i386 FP problem.
gdbadmin [Thu, 31 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 30 Jan 2002 23:00:06 +0000 (23:00 +0000)]
daily update
drow [Wed, 30 Jan 2002 22:38:56 +0000 (22:38 +0000)]
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
From Neil Booth <neil@daikokuya.demon.co.uk>:
* gdb.base/bitfields.c: Correct assignments to bitfields to avoid
warnings.
kettenis [Wed, 30 Jan 2002 22:32:34 +0000 (22:32 +0000)]
* config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
* config/i386/i386v42mp.mh: Add i387-nat.o .
* i386v4-nat.c: Include i387-nat.h.
(supply_fpregset): Use i387_supply_fsave.
(fill_fpregset): Use i387_fill_fsave.
rsandifo [Wed, 30 Jan 2002 18:25:29 +0000 (18:25 +0000)]
* config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
and mod.
nickc [Wed, 30 Jan 2002 18:12:15 +0000 (18:12 +0000)]
Tidy up formatting in bfd-in2.h
dannysmith [Wed, 30 Jan 2002 17:33:26 +0000 (17:33 +0000)]
* include/mapi.h: New file.
* lib/mapi.def: Add missing function stubs.
* lib/test.c: Include mapi.h.
rearnsha [Wed, 30 Jan 2002 16:35:50 +0000 (16:35 +0000)]
* arm-tdep.c (arm_call_dummy_words): Define.
* arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
* config/arm/tm-arm.h (CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(arm_call_dummy_words): Declare.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
(arm_linux_call_dummy_words): Declare.
nickc [Wed, 30 Jan 2002 16:07:27 +0000 (16:07 +0000)]
Fixes for better translation into other languages
pthomas [Wed, 30 Jan 2002 14:51:36 +0000 (14:51 +0000)]
Unify messages in coff-arm.c and elf32-arm.h.
schwab [Wed, 30 Jan 2002 13:57:33 +0000 (13:57 +0000)]
* m68klinux-nat.c: Fix last change to use regcache_collect
instead of referencing registers[] directly.
corinna [Wed, 30 Jan 2002 11:57:15 +0000 (11:57 +0000)]
* passwd.cc (ChangePW): Add parameter to differ between called for
checking old password and called for changing password. If called
for checking old password, return non-zero only if password is surely
incorrect.
(main): Call ChangePW() with additional parameter.
nickc [Wed, 30 Jan 2002 10:49:01 +0000 (10:49 +0000)]
Updated Swedish translation
nickc [Wed, 30 Jan 2002 10:31:27 +0000 (10:31 +0000)]
Don't translate debugging message.
nickc [Wed, 30 Jan 2002 10:28:46 +0000 (10:28 +0000)]
Use full section name in error messages.
drow [Wed, 30 Jan 2002 05:00:07 +0000 (05:00 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* nm.c (print_value): Mark abfd unused.
amodra [Wed, 30 Jan 2002 03:47:36 +0000 (03:47 +0000)]
* elf64-ppc.c (func_desc_adjust): Only provide missing function
descriptor symbols for undefined function code syms. Clear
ELF_LINK_NON_ELF so that they can stay weak.
cgf [Wed, 30 Jan 2002 02:44:21 +0000 (02:44 +0000)]
add more words
cgd [Wed, 30 Jan 2002 02:22:13 +0000 (02:22 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
Mitch Lichtenberg <mpl@broadcom.com>
* emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
* emultempl/mipself.em: New file to handle MIPS ELF embedded
reloc creation (ld --embedded-relocs).
cgd [Wed, 30 Jan 2002 02:20:12 +0000 (02:20 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
* ld-mips-elf/emrelocs-el.d: Likewise.
* ld-mips-elf/emrelocs1.s: Likewise.
* ld-mips-elf/emrelocs2.s: Likewise.
* ld-mips-elf/emrelocs.ld: Likewise.
* ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
cgd [Wed, 30 Jan 2002 02:19:19 +0000 (02:19 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
Mitch Lichtenberg <mpl@broadcom.com>
* bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function
to handle 32-bit ELF embedded reloc (ld --embedded-relocs)
generation.
* bfd-in2.h: Regenerate.
cgd [Wed, 30 Jan 2002 02:14:18 +0000 (02:14 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (tc_gen_reloc): Arrange for
BFD_RELOC_PCREL_HI16_S relocations to be output relative to
their LO16 parts, even for ELF.
cgd [Wed, 30 Jan 2002 02:13:19 +0000 (02:13 +0000)]
2002-01-29 Chris Demetriou <cgd@broadcom.com>
* elf32-mips.c: Add additional comments about HI16 relocation
processing.
(_bfd_mips_elf_hi16_reloc): Don't subtract address here for
pc-relative relocations. (Reverts change made on 2001-10-31.)
(_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here
for pc-relative relocations.
(mips_elf_calculate_relocation): Add a comment about a kludge
in the R_MIPS_GNU_REL_HI16 handling.
(_bfd_mips_elf_relocate_section): Implement that kludge;
adjust pc-relative HI16 relocation for difference in HI16 and
LO16 addresses, since it can't easily be done in
mips_elf_calculate_relocation.
fitzsim [Wed, 30 Jan 2002 00:56:09 +0000 (00:56 +0000)]
* CATALOG: Add hw-input-keyboard.
cagney [Wed, 30 Jan 2002 00:18:14 +0000 (00:18 +0000)]
Delete REGISTER_NAME_ALIAS_HOOK.
gdbadmin [Wed, 30 Jan 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 29 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
hp [Tue, 29 Jan 2002 22:51:52 +0000 (22:51 +0000)]
* doc/rtl.texi: Fix typo: define-attr, not define-attribute.
(Enumerated constants): Mention that an ifield must not specify a
multi-ifield.
(Instruction operands): Ditto for index.
(Expressions) <parallel>: Remove misplaced mention of local
variables.
<if>: Mention that mode must be specified and non-VOID when the
result is used.
cagney [Tue, 29 Jan 2002 21:37:15 +0000 (21:37 +0000)]
Zap >>>>
msnyder [Tue, 29 Jan 2002 20:24:26 +0000 (20:24 +0000)]
2002-01-28 Michael Snyder <msnyder@redhat.com>
* regcache.c (legacy_read_register_gen): Need to be able to
read pseudo-register as well as real register.
(legacy_write_register_gen): Ditto.
fitzsim [Tue, 29 Jan 2002 19:47:27 +0000 (19:47 +0000)]
* Makefile.am (SUBDIRLIST): Add keyboard.
(SUBLIBLIST): Add keyboard/libkeyboard.la.
(INCLUDES): Add keyboard directory.
* bochs.h [BX_SUPPORT_SID] (BX_SET_ENABLE_A20): Change expansion
to nil.
[BX_SUPPORT_SID] (BX_GET_ENABLE_A20): Change expansion to 0.
Make declaration of bx_dbg unconditional.
Include keyboard/keyboard.h.
* components.cxx: Add type hw-input-keyboard.
* config.h.in (BX_SUPPORT_PAGING): Set to 1.
(BX_USE_TLB): Likewise.
(BX_USE_KEY_SMF): Set to 0.
* configure.in: Add keyboard/Makefile to AC_OUTPUT.
* cpu/exception.cc: Remove BX_DEBUGGER ifdefs from around bx_dbg
references.
* cpu/proc_ctrl.cc: Likewise.
* cpu/protect_ctrl_pro.cc: Likewise.
* gui/x-gui.h: Add generate_scancode_pin output_pin.
* gui/x-gui.cc: Add ascii_to_key_event array.
(x_gui): Add generate-scancode pin.
(handle_events): Add checks for KeyPress and KeyRelease events.
(xkeypress): New function.
* keyboard/Makefile.am: New file.
* keyboard/Makefile.in: Likewise.
* keyboard/keyboard.cc: Likewise.
* keyboard/keyboard.h: Likewise.
* keyboard/keysymbols.h: Likewise.
* keyboard/sid-keyboard-wrapper.cc: Likewise.
* keyboard/sid-keyboard-wrapper.h: Likewise.
* keyboard/tests: Likewise.
* keyboard/tests/kbd-test.c: Likewise.
* vga/sid-vga-wrapper.cc (vga): Change port pin names.
* vga/sid-vga-wrapper.h: Change VGA_SID_WRAPPER_DEF_H to SID_VGA_WRAPPER_DEF_H.
cgf [Tue, 29 Jan 2002 18:37:00 +0000 (18:37 +0000)]
* dump_setup.cc (parse_filename): Don't consider '_' part of the version.
drow [Tue, 29 Jan 2002 17:07:55 +0000 (17:07 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* config/tc-i386.c: Protect definitions of true and false
from redefinition.
drow [Tue, 29 Jan 2002 16:54:04 +0000 (16:54 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* unwind-ia64.c (unw_decoder): Change second argument
to unsigned int, to match function prototypes.
drow [Tue, 29 Jan 2002 16:46:36 +0000 (16:46 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* objdump.c: Include "getopt.h" after "bucomm.h" so that
__GNU_LIBRARY__ will be defined.
* size.c: Likewise.
cagney [Tue, 29 Jan 2002 16:32:02 +0000 (16:32 +0000)]
Revise and update ``Releasing GDB''.
amodra [Tue, 29 Jan 2002 14:52:10 +0000 (14:52 +0000)]
Arrgh! Revert last change.
amodra [Tue, 29 Jan 2002 14:04:03 +0000 (14:04 +0000)]
* elf64-ppc.c (func_desc_adjust): Don't supply missing function
descriptor symbols.
corinna [Tue, 29 Jan 2002 13:39:41 +0000 (13:39 +0000)]
* net.cc (getdomainname): Fix registry key for 9x systems, too.
corinna [Tue, 29 Jan 2002 13:23:09 +0000 (13:23 +0000)]
* net.cc (getdomainname): Fix registry key for NT systems.
sky [Tue, 29 Jan 2002 11:14:34 +0000 (11:14 +0000)]
* elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
relocations with PC32 relocations for undefined or weak symbols.
* elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise.
* elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise.
cagney [Tue, 29 Jan 2002 04:42:33 +0000 (04:42 +0000)]
Eliminate TARGET_BYTE_ORDER.
cagney [Tue, 29 Jan 2002 03:51:09 +0000 (03:51 +0000)]
* arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
information from BFD.
* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
* config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
* config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
Update doco.
cgf [Tue, 29 Jan 2002 03:08:42 +0000 (03:08 +0000)]
* cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in sys/cygwin.h
instead.
* getfacl.c: Add include to remove warning.
* mkgroup.c (main): Assign variables outside of parameter passing. This seems
to eliminate some compiler warnings.
cagney [Tue, 29 Jan 2002 03:08:22 +0000 (03:08 +0000)]
* config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
* vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
* rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
#ifdef INVALID_FLOAT.
* infcmd.c (do_registers_info): Ditto.
* values.c (unpack_double): Ditto. Add comment.
* config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
already commented out.
cgf [Tue, 29 Jan 2002 02:28:44 +0000 (02:28 +0000)]
* cygcheck.cc: Use specific cygwin includes, as required.
cgf [Tue, 29 Jan 2002 02:03:32 +0000 (02:03 +0000)]
* Makefile.in (MINGW_INCLUDES): Change cygwin include.
* strace.cc: Use specific cygwin includes, as required.
(load_cygwin): New function. Loads cygwin DLL, if necessary.
(attach_process): Attaches strace to a running process.
(dostrace): Accept pid argument. Attach to pid if supplied.
(usage): Describe -p option. Correct system description.
(longopts): Alphabetize.
(opts): Ditto.
(main): Ditto. Handle -p option.
* Makefile.in (CXXFLAGS): Ensure that important settings are preserved even
when overriden by command line.
cgf [Tue, 29 Jan 2002 02:02:00 +0000 (02:02 +0000)]
* external.cc (cygwin_internal): Initialize various internal settings if
required to allow use of some things from user loaded DLL.
(CW_STRACE_ON): Add new feature.
(CW_CYGWIN_PID_TO_WINPID): Ditto.
* pinfo.cc (set_myself): Call "strace.hello" to initiate possible strace
session.
(pinfo::init): Guard against dereferencing uninitialized myself.
* sigproc.cc (wait_sig): Call strace.hello() when __SIGTRACE "signal" received.
* strace.cc (strace::hello): New method.
* wincap.cc (wincapc::init): Avoid initializing if already initialized.
* wincap.h (wincapc::wincapc): New method.
* include/sys/cygwin.h: Add new CW_ enums. Kludge typedefs of {g,u}id_t if
required.
* strace.h (strace::hello): Declare new method.
gdbadmin [Tue, 29 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
jason [Mon, 28 Jan 2002 23:26:53 +0000 (23:26 +0000)]
elf/dwarf2.h: Sync with gcc version.
amodra [Mon, 28 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
dj [Mon, 28 Jan 2002 22:03:14 +0000 (22:03 +0000)]
merge from gcc
hp [Mon, 28 Jan 2002 20:23:16 +0000 (20:23 +0000)]
* doc/porting.texi: When referring to *.opc, mention they are in
the cpu subdir. Call top-level directory toplevel, not devo.
Close string in define-normal-insn example.
hp [Mon, 28 Jan 2002 19:53:16 +0000 (19:53 +0000)]
* doc/pmacros.texi: Fix .substr typo to .substring.
Mention that .sym expansions are not further expanded.
hp [Mon, 28 Jan 2002 19:52:32 +0000 (19:52 +0000)]
* doc/pmacros.texi: Fix .substr typo to .substring.
Mention that .sym expansions are not further expanded.
obrien [Mon, 28 Jan 2002 19:15:42 +0000 (19:15 +0000)]
2002-01-27 David O'Brien <obrien@FreeBSD.org>
* cgen.h (BFD_VERSION): Use BFD_VERSION_DATE instead.
Approved by: Nick Clifton <nickc@cambridge.redhat.com>
<m3k7u2g5uc.fsf@north-pole.nickc.cambridge.redhat.com>
fitzsim [Mon, 28 Jan 2002 18:03:52 +0000 (18:03 +0000)]
* libc/include/sys/signal.h [__CYGWIN__]: Issue error message
when _CYGWIN_TYPES_H is not defined.
cgf [Mon, 28 Jan 2002 18:03:38 +0000 (18:03 +0000)]
* include/sys/strace.h (_STRACE_ON): Define.
(_STRACE_OFF): Ditto.
thorpej [Mon, 28 Jan 2002 16:48:51 +0000 (16:48 +0000)]
* elfcore.h (elf_core_file_p): Improve comment for last change.
jakub [Mon, 28 Jan 2002 13:34:36 +0000 (13:34 +0000)]
* config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
made because of .weak, if they are neither defined nor used in any
way.