OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago* mn10300-tdep.c (mn10300_extract_return_value): Mark this as
jimb [Wed, 9 May 2001 05:03:00 +0000 (05:03 +0000)]
* mn10300-tdep.c (mn10300_extract_return_value): Mark this as
static.  (This was accidentally omitted from the earlier patch.)

23 years ago* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
jimb [Wed, 9 May 2001 02:55:21 +0000 (02:55 +0000)]
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
(mn10300_gdbarch_init): Register it as the architecture's
dwarf2_reg_to_regnum method.

23 years ago* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
jimb [Wed, 9 May 2001 02:54:48 +0000 (02:54 +0000)]
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
(mn10300_gdbarch_init): Register it as the architecture's
dwarf2_reg_to_regnum method.

23 years agoCorrect and expand handling of `movm' instruction, and register
jimb [Wed, 9 May 2001 02:44:00 +0000 (02:44 +0000)]
Correct and expand handling of `movm' instruction, and register
saves in general.
* config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
(enum movm_register_bits): New enum.
* mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
bits, not hex literals.  Handle the `other', `exreg0', and
`exother' bits.  Correct handling of `exreg1': it saves r4, r5,
r6, and r7, not r2, r3, r4, and r5.
(saved_regs_size): New function.
(mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
of computing the same thing inline, incorrectly.

23 years ago* mn10300-tdep.c (mn10300_gdbarch_init): We do have a
jimb [Wed, 9 May 2001 02:27:46 +0000 (02:27 +0000)]
* mn10300-tdep.c (mn10300_gdbarch_init): We do have a
dummy_breakpoint_offset; it's zero.

23 years ago* mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
jimb [Wed, 9 May 2001 02:22:35 +0000 (02:22 +0000)]
* mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
stuff out into mn10300_pop_frame_regular, and use
generic_pop_current_frame.  This lets us share code, and also
makes this function's prototype match that expected by gdbarch.
Make this function static.
(mn10300_pop_frame_regular): New function.
(mn10300_gdbarch_init): Register mn10300_pop_frame as the
gdbarch's pop_frame method.
* config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
(mn10300_pop_frame): Delete declaration.

23 years agoTexinfo fix from geoffk.
bje [Wed, 9 May 2001 02:19:32 +0000 (02:19 +0000)]
Texinfo fix from geoffk.

23 years ago* mn10300-tdep.c (mn10300_saved_pc_after_call,
jimb [Wed, 9 May 2001 02:19:05 +0000 (02:19 +0000)]
* mn10300-tdep.c (mn10300_saved_pc_after_call,
mn10300_extract_return_value,
mn10300_extract_struct_value_address, mn10300_store_return_value,
mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
mn10300_frame_chain, mn10300_skip_prologue,
mn10300_push_arguments, mn10300_push_return_address,
mn10300_store_struct_return, mn10300_frame_saved_pc,
mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
Make these functions static; they should only be visible to the
outside world as gdbarch methods.

23 years ago* config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
jimb [Wed, 9 May 2001 02:16:38 +0000 (02:16 +0000)]
* config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
unused declaration.

23 years ago* mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
jimb [Wed, 9 May 2001 02:09:48 +0000 (02:09 +0000)]
* mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
in some rational order.

23 years ago* mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
jimb [Wed, 9 May 2001 02:07:36 +0000 (02:07 +0000)]
* mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.

23 years agoUse gdbarch for most target parameters for the MN10300, rather
jimb [Wed, 9 May 2001 02:04:25 +0000 (02:04 +0000)]
Use gdbarch for most target parameters for the MN10300, rather
than the tm-*.h file.
* config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
Delete definitions.  We register gdbarch methods for these now.
(struct frame_info, struct type, struct value): Delete forward
declarations of these types; they're no longer necessary, since we
don't have function declarations here any more.
* mn10300-tdep.c: #include "arch-utils.h", to get declarations for
some default gdbarch methods.
(mn10300_store_struct_return): Return void, as expected by
gdbarch.
(mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
as expected by gdbarch.
(mn10300_frame_init_saved_regs): Provide dummy definition for
this, as required by gdbarch.
(mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
by gdbarch.  Register gdbarch methods or values for all the stuff
removed from tm-10300.h, listed above.

23 years ago * doc/porting.texi (Doing a GAS port): Replace `cgen_opcode_open'
bje [Wed, 9 May 2001 01:34:03 +0000 (01:34 +0000)]
* doc/porting.texi (Doing a GAS port): Replace `cgen_opcode_open'
with `cgen_cpu_open'; documentation had become out of date.
* doc/rtl.texi (Instruction operands): Likewise.

23 years agoReplace ui_out_list_{begin,end}() with ui_out_{begin,end}().
cagney [Wed, 9 May 2001 01:33:09 +0000 (01:33 +0000)]
Replace ui_out_list_{begin,end}() with ui_out_{begin,end}().

23 years agoUse a stack of structures (instead of a simple array) to keep track of
cagney [Wed, 9 May 2001 00:23:23 +0000 (00:23 +0000)]
Use a stack of structures (instead of a simple array) to keep track of
the top list.

23 years ago2001-05-08 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 8 May 2001 21:19:42 +0000 (21:19 +0000)]
2001-05-08  Michael Snyder  <msnyder@redhat.com>

* language.c (longest_local_hex_string_custom): Strlen test is
inverted -- reverse the sense of the test.

23 years ago * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
schwab [Tue, 8 May 2001 18:03:27 +0000 (18:03 +0000)]
* config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
fx_pcrel_adjust explicitly sign extend when reading it.

23 years ago * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
ian [Tue, 8 May 2001 17:44:00 +0000 (17:44 +0000)]
* coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
NULL or is not COFF.
(coff_i386_rtype_to_howto): Don't dump core if output section
owner is not COFF.

23 years agoRemove extraneous character in first line.
ian [Tue, 8 May 2001 17:14:35 +0000 (17:14 +0000)]
Remove extraneous character in first line.

23 years ago* cygheap.cc (_cfree): Add regparm attribute.
cgf [Tue, 8 May 2001 15:16:48 +0000 (15:16 +0000)]
* cygheap.cc (_cfree): Add regparm attribute.
(_crealloc): Ditto.
* dcrt0.cc (dll_crt0_1): Default to always checking for executable for now.
* dtable.cc (dtable::not_open): Move method.
* dtable.h (dtable): Here.
* exceptions.cc (ctrl_c_handler): Don't expect process group leader to handle a
signal if it doesn't exist.
* fhandler.h (fhandler_base): Make openflags protected.
* localtime.c (tzsetwall): Check for __CYGWIN__ as well as __WIN32__.
* path.cc (path_conv::check): Add some comments.  Change strcat to assignment.
* lib/_cygwin_S_IEXEC.cc (_cygwin_bob__): Eliminate.
* fhandler_tty.cc (fhandler_console::dup): Set controlling terminal if
necessary.
* fhandler_tty.cc (fhandler_tty_slave::dup): Ditto.

23 years agomerge from gcc
dj [Tue, 8 May 2001 14:35:18 +0000 (14:35 +0000)]
merge from gcc

23 years agomerge from gcc
dj [Tue, 8 May 2001 14:34:36 +0000 (14:34 +0000)]
merge from gcc

23 years agoFix typo.
cgf [Tue, 8 May 2001 14:06:55 +0000 (14:06 +0000)]
Fix typo.

23 years agoMore fallout from 2001-03-30 changes.
amodra [Tue, 8 May 2001 13:13:56 +0000 (13:13 +0000)]
More fallout from 2001-03-30 changes.
* config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
from md_relax_table, and combine some switch cases.

23 years ago* config/i386/tm-i386v.h (struct frame_info, struct
kettenis [Tue, 8 May 2001 12:00:48 +0000 (12:00 +0000)]
* config/i386/tm-i386v.h (struct frame_info, struct
frame_saved_regs):  Remove declarations.
(i386_frame_num_args): Remove prototype.

23 years agoCheck Mode not Bank in order to determine rocesor mode.
nickc [Tue, 8 May 2001 08:28:28 +0000 (08:28 +0000)]
Check Mode not Bank in order to determine rocesor mode.

23 years ago* include/sys/file.h: Revert special X_OK usage. Just make it a constant.
cgf [Tue, 8 May 2001 01:36:48 +0000 (01:36 +0000)]
* include/sys/file.h: Revert special X_OK usage.  Just make it a constant.

23 years ago* libc/include/sys/stat.h: Revert March 3, Cygwin change.
cgf [Tue, 8 May 2001 01:15:05 +0000 (01:15 +0000)]
* libc/include/sys/stat.h: Revert March 3, Cygwin change.
* libc/include/sys/Ditto.h: Ditto.

23 years ago * README: New file.
kseitz [Mon, 7 May 2001 20:39:32 +0000 (20:39 +0000)]
    * README: New file.

        * configure.in: Check for executable filename extension.
        * Makefile.in: Add filename extensions.
        * configure: Regenerated.

        * defs: Fix typo setting _test(verbose).
        (gdbtk_test_file): New proc to load executables into gdbtk.
        (gdbtk_test_run): New proc to run executables on gdbtk.
        * browser.exp: Don't check if DISPLAY is set: let
        gdbtk_initialize_display do it all for us.
        Call gdbtk_done when finished with tests.
        * c_variable.exp: Ditto.
        * console.exp: Ditto.
        * cpp_variable.exp: Ditto.
        Only run tests if c++ is supported in the configuration.
        * srcwin.exp: Ditto the DISPLAY stuff.
        Accumulate all test results for the end and report them then.

        * browser.test: Use gdbtk_test_file and gdbtk_test_run
        to load and run an executable.
        * c_variable.test: Use gdbtk_test_file and gdbtk_test_run
        to load and run an executable.
        * srcwin.test: Ditto.
        * srcwin1.test: Ditto.
        * srcwin2.test: Ditto.
        * browser.test: (set_search_mode): Use "configure
        -value" not "entryset" to set the combobox's value. We need
        to have the command fired.
        (browser-3.5): Remove trailing whitespace which causes test to
        fail.
        (browser-4.4): Expect something rational. Regexp "\_1$" cannot
        match "func_10"!
        (browser-4.5): Ditto.
        (browser-5.12): Select all files for search to make test
        match description.
        (browser-6.2): Renamed from another test also calledd 6.1.
        (browser-7.1): Delete all breakpoints at once without from_tty.
        Select all entries in the comobox before invoking BP set/delete
        button.
        (browser-7.2): Ditto.

        * list0.c, list1.c, list0.h: New files. Grabbed from gdb.base.
        * srcwin.exp: Use these local files instead of those in gdb.base.

23 years ago * lib/gdb.exp (gdbtk_initialize_display): New proc which will
kseitz [Mon, 7 May 2001 20:34:44 +0000 (20:34 +0000)]
    * lib/gdb.exp (gdbtk_initialize_display): New proc which will
        set up the display for testing.
        (gdbtk_start): Convert all paths to paths that tcl will like.
        Export target information to environment.
        (_gdbtk_xvfb_init): New proc to start Xvfb if available and
        necessary.
        (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
        (to_tcl_path): New proc to convert a given pathname into
        a path acceptible as an argument to a tcl command.
        (_gdbtk_export_target_info): New proc to export target info
        into the environment for gdbtk testing.
        (gdbtk_done): New proc to signal end-of-test.

23 years agoDrop self as mn10300 maintainer.
cagney [Mon, 7 May 2001 20:02:24 +0000 (20:02 +0000)]
Drop self as mn10300 maintainer.

23 years agoZap some bogus #ifndef _WIN32 - hangover from WinGDB
cagney [Mon, 7 May 2001 19:03:11 +0000 (19:03 +0000)]
Zap some bogus #ifndef _WIN32 - hangover from WinGDB

23 years ago* cgen asm/disasm
fche [Mon, 7 May 2001 17:55:20 +0000 (17:55 +0000)]
* cgen asm/disasm

[opcodes/ChangeLog]
2001-05-07  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (default_print_insn): Tolerate min<base instructions
        even at end of a section.
        * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
        by ignoring precariously-unpacked insn_value in favor of raw buffer.

[cgen/ChangeLog]
2001-05-07  Frank Ch. Eigler  <fche@redhat.com>

        * iformat.scm (compute-insn-base-mask-length): Rewrite to tolerate
        various-base-length instruction sets.

23 years agomerge from gcc
dj [Mon, 7 May 2001 16:21:14 +0000 (16:21 +0000)]
merge from gcc

23 years agomerge from gcc
dj [Mon, 7 May 2001 16:19:25 +0000 (16:19 +0000)]
merge from gcc

23 years ago * library/globalpref.itb (build_win): Preserve the
kseitz [Mon, 7 May 2001 15:43:23 +0000 (15:43 +0000)]
* library/globalpref.itb (build_win): Preserve the
current working directory.

23 years agoChangeLog cleanup: move all references to gdbtk stuff to gdb.gdbtk/ChangeLog (which
kseitz [Mon, 7 May 2001 15:38:59 +0000 (15:38 +0000)]
ChangeLog cleanup: move all references to gdbtk stuff to gdb.gdbtk/ChangeLog (which
has been merged with gdb.gdbtk/ChangeLog-gdbtk).

23 years ago * disassemble.c (disassembler_usage): Remove unused attribute.
amodra [Mon, 7 May 2001 09:21:56 +0000 (09:21 +0000)]
* disassemble.c (disassembler_usage): Remove unused attribute.

23 years ago * ldgram.y: Fix typo.
amodra [Mon, 7 May 2001 09:20:25 +0000 (09:20 +0000)]
* ldgram.y: Fix typo.

23 years ago * external.h: Fix typo.
amodra [Mon, 7 May 2001 09:18:52 +0000 (09:18 +0000)]
* external.h: Fix typo.
* mips.h: Add/Extend many comments with reference to the MIPS ELF64
spec v. 2.4, available at e.g.
ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps.
(EF_MIPS_UCODE): Define.
(EF_MIPS_OPTIONS_FIRST): Define.
(EF_MIPS_ARCH_ASE): Define.
(EF_MIPS_ARCH_ASE_MDMX): Define.
(EF_MIPS_ARCH_ASE_M16): Define.
(SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32.
(SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64.
(SHF_MIPS_NODUPES): Define.
(ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro.
(ELF64_MIPS_R_TYPE3): Likewise.
(ELF64_MIPS_R_TYPE2): Likewise.
(ELF64_MIPS_R_TYPE): Likewise.
(OHW_R10KLDL): Define.

23 years ago * readelf.c (process_unwind): Remove const specifier.
amodra [Mon, 7 May 2001 09:17:34 +0000 (09:17 +0000)]
* readelf.c (process_unwind): Remove const specifier.

23 years ago * ecoff.c (bfd_debug_section): Fix initialization.
amodra [Mon, 7 May 2001 09:15:24 +0000 (09:15 +0000)]
* ecoff.c (bfd_debug_section): Fix initialization.
* elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
is always a positive integer. Cast away sign mismatch.
* elf32-mips.c: Fix misleading comment and typo.
(_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use
correct data type.
* elflink.c: Fix typo.
(_bfd_elf_create_dynamic_sections): Remove superfluous initialization.
* ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.

23 years ago*** empty log message ***
jimb [Mon, 7 May 2001 06:10:25 +0000 (06:10 +0000)]
*** empty log message ***

23 years ago* mn10300.igen: Doc fixes.
jimb [Mon, 7 May 2001 04:52:00 +0000 (04:52 +0000)]
* mn10300.igen: Doc fixes.

23 years ago* restore.c: Make the code of caller0 correspond to its comment.
jimb [Mon, 7 May 2001 00:05:15 +0000 (00:05 +0000)]
* restore.c: Make the code of caller0 correspond to its comment.

23 years agoSun May 6 17:05:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 6 May 2001 22:23:43 +0000 (22:23 +0000)]
Sun May  6 17:05:00 2001  Robert Collins <rbtcollins@hotmail.com>
* thread.h (pthread_cond): New element cond_access to allow atomic broadcasts.
* thread.cc (pthread_cond::pthread_cond): Initialise cond_access.
(pthread_cond::~pthread_cond): Destroy cond_access.
(pthread_cond::Broadcast): Use cond_access.
(pthread_cond::Signal): Use cond_access.
(pthread_cond_wait): Use cond_access.
(pthread_cond_timedwait): Use cond_access.

23 years agoConsolidate save_inferior_ptid/restore_inferior_ptid implementation to
kevinb [Sun, 6 May 2001 22:22:00 +0000 (22:22 +0000)]
Consolidate save_inferior_ptid/restore_inferior_ptid implementation to
one source file.

23 years agoMake ptid_t related changes.
kevinb [Sun, 6 May 2001 21:06:34 +0000 (21:06 +0000)]
Make ptid_t related changes.

23 years ago* config/tc-mn10300.c (md_assemble): Subtract operand->shift
aoliva [Sun, 6 May 2001 20:05:28 +0000 (20:05 +0000)]
* config/tc-mn10300.c (md_assemble): Subtract operand->shift
from offset in non-pcrel operands too.

23 years agoImplement attach/detach for multi-threaded programs on Linux.
kettenis [Sun, 6 May 2001 17:00:43 +0000 (17:00 +0000)]
Implement attach/detach for multi-threaded programs on Linux.
* thread-db.c (keep_thread_db): Adjust comment.
(deactivate_target): Removed.
(thread_db_new_objfile): Don't call deactivate_target.  Implement
guts of deactivate_target inline instead.
(attach_thread): Call ATTACH_LWP unconditionally if defined.
(thread_db_attach): New function.
(thread_db_detach): Don't call deactivate_target.  Do necessary
cleanup inline instead.  Set inferior_ptid to LWP corresponding to
the current user-level thread.
(thread_db_kill): Set inferior_ptid to LWP corresponding to the
current user-level thread.
(thread_db_create_inferior): Deactivate target vector if
KEEP_THREAD_DB is zero.
(thread_db_mourn_inferior): Don't call deactivate_target.  Do
necessary cleanup inline instead.
(init_thread_db_ops): Initialize to_attach field to
thread_db_attach.
* lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
(stop_wait_callback): Add prototype.
(init_lwp_list): Add comment about when to re-initialize the LWP
list.
(lin_lwp_attach_lwp): Only call ptrace for cloned processes.
Avoid adding publicates to the LWP list.  Only mark an LWP as
signalled if it doesn't correspond to a cloned process.
(lin_lwp_attach): Add initial process to the LWP list.  Make sure
it's stopped and fake a SIGSTOP.
(detach_callback): New function.
(lin_lwp_detach): Implement.
(lin_lwp_create_inferior): Don't re-initialize LWP list here.
Call child_ops.to_create_inferior directly instead of via
target_beneath local.
(lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
directly instead of via target_beneath local.

23 years ago* string.h (cygwin_strchr): Make 'static inline' so that things will still work
cgf [Sun, 6 May 2001 16:00:23 +0000 (16:00 +0000)]
* string.h (cygwin_strchr): Make 'static inline' so that things will still work
when optimized.

23 years agoDo not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.
nickc [Sun, 6 May 2001 10:11:32 +0000 (10:11 +0000)]
Do not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.

23 years ago * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
eliz [Sun, 6 May 2001 06:07:20 +0000 (06:07 +0000)]
* symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
instead of non-portable search for `/'.  Use FILENAME_CMP instead
of STREQ, to account for case-insensitive filesystems.
(top-level): #include "filenames.h".

23 years ago* breakpoint.c (check_duplicates): Use the breakpoint's type, not
jimb [Sun, 6 May 2001 01:35:57 +0000 (01:35 +0000)]
* breakpoint.c (check_duplicates): Use the breakpoint's type, not
its address, to decide whether it's a watchpoint or not.  Zero
is a valid code address.
(update_breakpoints_after_exec): Admonishing comments.
* breakpoint.h (struct breakpoint): Doc fixes.

23 years ago* breakpoint.c (check_duplicates): Take a breakpoint object as an
jimb [Sun, 6 May 2001 00:52:07 +0000 (00:52 +0000)]
* breakpoint.c (check_duplicates): Take a breakpoint object as an
argument, rather than an address and section.  All callers changed.

23 years ago* exceptions.cc (handle_exceptions): Vastly increase test for exception loop
cgf [Sat, 5 May 2001 05:07:20 +0000 (05:07 +0000)]
* exceptions.cc (handle_exceptions): Vastly increase test for exception loop
guard variable.

23 years ago* configure.in: Fix typo.
cgf [Sat, 5 May 2001 04:18:15 +0000 (04:18 +0000)]
* configure.in: Fix typo.
* configure: Regenerate.

23 years ago* exceptions.cc (stack_info): Add some controls.
cgf [Sat, 5 May 2001 02:44:36 +0000 (02:44 +0000)]
* exceptions.cc (stack_info): Add some controls.
(stack_info::init): Add extra arguments to control method of initialization..
If we have a known good frame, set things up so that this frame is not skipped
the first time through.  Record whether caller cares about arguments or not.
(stack_info::walk): Don't store arguments if they're unwanted.
(stackdump): Add isexception parameter for use when called by exception
handler.
(cygwin_stackdump): Accomodate extra argument to stackdump.
(handle_exceptions): Ditto.
(sig_handle): Ditto.
(interrupt_on_return): Accomodate extra arguments to stack walk initialization.

23 years ago* localtime.c: Revert exclusion of windows.h.
cgf [Sat, 5 May 2001 01:07:03 +0000 (01:07 +0000)]
* localtime.c: Revert exclusion of windows.h.

23 years ago * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
rth [Fri, 4 May 2001 23:22:31 +0000 (23:22 +0000)]
    * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.

23 years agooops.
cgf [Fri, 4 May 2001 21:09:47 +0000 (21:09 +0000)]
oops.

23 years agooops.
cgf [Fri, 4 May 2001 21:09:28 +0000 (21:09 +0000)]
oops.

23 years ago2001-05-03 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 4 May 2001 21:07:00 +0000 (21:07 +0000)]
2001-05-03  Michael Snyder  <msnyder@redhat.com>

* config/sid.exp (gdb_target_sid): Check for error messages.
On error or timeout, don't make expect exit (which will terminate
all subsequent tests); instead just make gdb exit.
(gdb_load): Check for error messages.  On error or timeout,
return a negative value.

23 years ago* string.h: Fix last-minute typo.
cgf [Fri, 4 May 2001 21:06:12 +0000 (21:06 +0000)]
* string.h: Fix last-minute typo.

23 years agoRevert much of previous erroneous checkin. Add ChangeLog entry.
cgf [Fri, 4 May 2001 21:02:15 +0000 (21:02 +0000)]
Revert much of previous erroneous checkin.  Add ChangeLog entry.

* pinfo.h: Correctly set __SIGOFFSET.
* path.cc (hash_path_name): Avoid calling library functions for simple copying
of characters.
* shortcut.c: Use WIN32_LEAN_AND_MEAN.
* smallprint.c: Ditto.
* environ.cc (getwinenv): Minor clarity fix.
* localtime.c: No need to include windows.h
* string.h: New file.

23 years ago2001-01-26 Felix Lee <flee@redhat.com>
msnyder [Fri, 4 May 2001 21:02:12 +0000 (21:02 +0000)]
2001-01-26  Felix Lee  <flee@redhat.com>

* sid.exp (sid_exit): Pass host, not target, to remote_close.

2001-01-25  matthew green  <mrg@redhat.com>

* config/sid.exp (sid_start): Call `remote_push_conn' after firing
up sid.
(sid_exit): Call `remote_pop_conn' after GDB is gone.

2001-01-25  matthew green  <mrg@redhat.com>

* config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
Deprecate $sid_spawn_id.
(sid_exit): Remove code necessary only for `spawn.'

2001-01-25  matthew green  <mrg@redhat.com>

* config/sid.exp (sid_start): Handle sim,protocol of `sid.'

23 years ago* exceptions.cc (ctrl_c_handler): Always send signal to process if it has no
cgf [Fri, 4 May 2001 20:39:37 +0000 (20:39 +0000)]
* exceptions.cc (ctrl_c_handler): Always send signal to process if it has no
tty.

23 years ago* typo fix
fche [Fri, 4 May 2001 17:46:00 +0000 (17:46 +0000)]
* typo fix

23 years ago* m32r disasm bug fix
fche [Fri, 4 May 2001 17:45:19 +0000 (17:45 +0000)]
* m32r disasm bug fix

2001-05-04  Frank Ch. Eigler  <fche@redhat.com>

* m32r-dis.c, -asm.c, -ibld.c: Regenerated with disassembler fixes.

2001-05-04  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (print_insn): Remove call to read_insn.  Instead,
assume incoming buffer already has the base insn loaded.  Handle
case of smaller-than-base instructions for variable-length case.

23 years ago2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
jjohnstn [Fri, 4 May 2001 17:23:17 +0000 (17:23 +0000)]
2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>

        * libc/string/strrchr.c: Use strchr for the speed improvements.

23 years ago* fhandler_socket.cc (set_connect_secret): Use /dev/urandom to
duda [Fri, 4 May 2001 16:30:17 +0000 (16:30 +0000)]
* fhandler_socket.cc (set_connect_secret): Use /dev/urandom to
generate secret cookie.

23 years ago* configure.in: Make subauth configuration optional.
cgf [Fri, 4 May 2001 15:27:56 +0000 (15:27 +0000)]
* configure.in: Make subauth configuration optional.
* configure: Regenerate.

23 years ago Initial release of the Cygwin subauthentication DLL.
corinna [Fri, 4 May 2001 13:19:37 +0000 (13:19 +0000)]
    Initial release of the Cygwin subauthentication DLL.
        * ChangeLog: New file.
        * Makefile.in: Ditto.
        * configure: Ditto. Generated from configure.in.
        * configure.in: Ditto.
        * cygsuba.c: Ditto.
        * cygsuba.din: Ditto.

23 years ago * subauth: New subdirectory.
corinna [Fri, 4 May 2001 13:18:51 +0000 (13:18 +0000)]
    * subauth: New subdirectory.
        * configure.in: Add subauth to the list of subdirectories.
        * configure: Regenerated from configure.in.

23 years agoAssorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.
amodra [Fri, 4 May 2001 11:10:53 +0000 (11:10 +0000)]
Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.

23 years agoSet EF_ARM_HASENTRY if the start address is set.
nickc [Fri, 4 May 2001 08:32:20 +0000 (08:32 +0000)]
Set EF_ARM_HASENTRY if the start address is set.

23 years agoPhase 1 of the ptid_t changes.
kevinb [Fri, 4 May 2001 04:15:22 +0000 (04:15 +0000)]
Phase 1 of the ptid_t changes.

23 years ago* include/pthread.h (pthread_cleanup_push): Eliminate space preceding
cgf [Thu, 3 May 2001 20:42:28 +0000 (20:42 +0000)]
* include/pthread.h (pthread_cleanup_push): Eliminate space preceding
arguments.
(pthread_cleanup_pop): Ditto.

23 years ago* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
aoliva [Thu, 3 May 2001 20:31:54 +0000 (20:31 +0000)]
* configure.in (noconfigdirs) [*-cygwin*, *-mingw*, *-beos]: Disable
libgcj.

23 years ago * gdbtk.c (gdbtk_init): Include the command "warp_pointer"
kseitz [Thu, 3 May 2001 18:13:20 +0000 (18:13 +0000)]
    * gdbtk.c (gdbtk_init): Include the command "warp_pointer"
        for all platforms. Used for testing ONLY.

        * util.tcl (gdbtk_read_defs): If there is an error reading
        the testsuite definition file, print the error message to
        stderr, not stdout. This will allow tcl to know that an error
        has occurred.
        (find_iwidgets_library): Make it work for running testsuites
        from installed directory.

        * main.tcl: If we failed to find iwidgets, check if the
        testsuite is running. If it is running, do not pop up
        a dialog box: just print out the error and exit.
        Initialize _test(verbose) for the testsuite.

23 years ago * src/tkWarpPointer.c (WarpPointer): Implement for windows.
kseitz [Thu, 3 May 2001 18:00:35 +0000 (18:00 +0000)]
* src/tkWarpPointer.c (WarpPointer): Implement for windows.

23 years agoCompute value of _bfd_target_vector_entries based on the size of
nickc [Thu, 3 May 2001 17:49:48 +0000 (17:49 +0000)]
Compute value of _bfd_target_vector_entries based on the size of
 _bfd_target_vector and not bfd_target_vector.

23 years ago * net.cc (wsock_init): Rename `was_in_progress' to `wsock_started'
corinna [Thu, 3 May 2001 16:18:51 +0000 (16:18 +0000)]
    * net.cc (wsock_init): Rename `was_in_progress' to `wsock_started'
        for clearness.

23 years ago* exceptions.cc (handle_exceptions): Break out of "loop" if the debugger
cgf [Thu, 3 May 2001 15:00:38 +0000 (15:00 +0000)]
* exceptions.cc (handle_exceptions): Break out of "loop" if the debugger
doesn't seem to be attaching to our process.

23 years ago * rdi-share/devsw.c: Include <time.h> for struct tm
jlarmour [Thu, 3 May 2001 13:42:12 +0000 (13:42 +0000)]
    * rdi-share/devsw.c: Include <time.h> for struct tm

23 years ago * rdi-share/devsw.c: Include <time.h> for struct tm
jlarmour [Thu, 3 May 2001 13:41:17 +0000 (13:41 +0000)]
    * rdi-share/devsw.c: Include <time.h> for struct tm

23 years ago * config/djgpp/fnchange.lst: Add mappings for the new
eliz [Thu, 3 May 2001 13:25:21 +0000 (13:25 +0000)]
* config/djgpp/fnchange.lst: Add mappings for the new
opcodes/openrisc-* files.

23 years agoFix a typo.
eliz [Thu, 3 May 2001 10:24:19 +0000 (10:24 +0000)]
Fix a typo.

23 years ago * autoload.cc: Use new definition of LoadDLLinitfunc throughout.
corinna [Thu, 3 May 2001 09:35:08 +0000 (09:35 +0000)]
    * autoload.cc: Use new definition of LoadDLLinitfunc throughout.
        Redefine wrapper for wsock32.dll and ws2_32.dll.
        (std_dll_init): New function.
        * autoload.h: Rename LoadDLLinitfunc to LoadDLLinitfuncdef.
        Add new defines LoadDLLinitfunc and LoadDLLstdfunc.
        * net.cc (wsock_init): Add guard variable handling. Take care
        to call WSAStartup only once. Load WSAStartup without using
        autoload wrapper to eliminate recursion.  Eliminate FIONBIO
        and srandom stuff.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
hjl [Thu, 3 May 2001 06:26:25 +0000 (06:26 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em: Include "libiberty.h".
(gld${EMULATION_NAME}_vercheck): Call basename () to get the
basename of the bfd filename.
(gld${EMULATION_NAME}_stat_needed): Likewise.
(gld${EMULATION_NAME}_try_needed): Likewise.
(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
hjl [Thu, 3 May 2001 06:25:58 +0000 (06:25 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers19.ver: Expect vers17.so instead of
*tmpdir/vers17.so.

23 years ago2001-05-03 H.J. Lu <hjl@gnu.org>
hjl [Thu, 3 May 2001 06:18:09 +0000 (06:18 +0000)]
2001-05-03  H.J. Lu  <hjl@gnu.org>

* elfcode.h: Include "libiberty.h".

* elflink.h (elf_link_add_object_symbols): Set
elf_dt_name (abfd) to basename of the bfd filename.
(NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename
of the bfd filename.

23 years ago * coff-alpha.c (reloc_nil): Likewise.
aj [Thu, 3 May 2001 05:08:17 +0000 (05:08 +0000)]
    * coff-alpha.c (reloc_nil): Likewise.
        (alpha_ecoff_bad_format_hook): Likewise.
        (alpha_adjust_reloc_out): Likewise.
        (alpha_bfd_reloc_type_lookup): Likewise.
        (alpha_convert_external_reloc): Likewise.

23 years ago * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
aj [Thu, 3 May 2001 04:46:27 +0000 (04:46 +0000)]
* elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
(elf_generic_info_to_howto_rel): Likewise.
* coff-alpha.c (reloc_nil): Likewise.
(alpha_ecoff_bad_format_hook): Likewise.
(alpha_adjust_reloc_out): Likewise.
(alpha_bfd_reloc_type_lookup): Likewise.
(alpha_convert_external_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_nil): Likewise.
(elf64_alpha_reloc_bad): Likewise.
(elf64_alpha_reloc_gpdisp): Likewise.
(elf64_alpha_bfd_reloc_type_lookup): Likewise.
(elf64_alpha_info_to_howto): Likewise.
(elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_create_got_section): Likewise.
(elf64_alpha_is_local_label_name): Likewise.
(elf64_alpha_merge_ind_symbols): Likewise.
* elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise.
(mips_elf64_get_reloc_upper_bound): Likewise.
* nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise.
(nlm_alpha_get_public_offset): Likewise.

23 years agoWarning fixes and configure/makefile tweaks by Thiemo Seufer.
amodra [Thu, 3 May 2001 02:07:00 +0000 (02:07 +0000)]
Warning fixes and configure/makefile tweaks by Thiemo Seufer.

23 years ago * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
amodra [Thu, 3 May 2001 01:08:44 +0000 (01:08 +0000)]
* config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
expressions rather than triggering an assert.

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
hjl [Wed, 2 May 2001 21:01:02 +0000 (21:01 +0000)]
2001-05-02  H.J. Lu  <hjl@gnu.org>

* emultempl/pe.em: Include <ctype.h>.

23 years agoFix indentation and parenthesis
nickc [Wed, 2 May 2001 18:40:10 +0000 (18:40 +0000)]
Fix indentation and parenthesis

23 years agoAdd gas and ld support for openrisc
nickc [Wed, 2 May 2001 18:14:29 +0000 (18:14 +0000)]
Add gas and ld support for openrisc

23 years ago2001-05-02 H.J. Lu <hjl@gnu.org>
hjl [Wed, 2 May 2001 16:42:54 +0000 (16:42 +0000)]
2001-05-02  H.J. Lu  <hjl@gnu.org>

* ldfile.c: Include "libiberty.h".
* ldlex.l: Likewise.

* ldmisc.c (buystring): Removed.
* ldmisc.h: Likewise.

* ldfile.c: Replace buystring with xstrdup.
* ldlang.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* lexsup.c: Likewise.
* mpw-eppcmac.c: Likewise.