binutils-gdb.git
20 years ago* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
Mark Kettenis [Sat, 3 Jul 2004 13:11:39 +0000 (13:11 +0000)]
* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
(bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
(bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
command and "kvm proc" command.
* Makefile.in (bsd-kvm.o): Update dependencies.

20 years agodaily update
Alan Modra [Sat, 3 Jul 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 3 Jul 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* osabi.c: Update copyright year.
Mark Kettenis [Fri, 2 Jul 2004 21:27:17 +0000 (21:27 +0000)]
* osabi.c: Update copyright year.
(generic_elf_osabi_sniffer): Tweak comment.  Look for OS-specific
notes if EI_OSABI is set to ELFOSABI_HPUX.

20 years agoFix ChangeLog entry for the last change to i386-cygwin-tdep.c.
Joel Brobecker [Fri, 2 Jul 2004 21:09:45 +0000 (21:09 +0000)]
Fix ChangeLog entry for the last change to i386-cygwin-tdep.c.

20 years ago * config.bfd: Add want64 to configuration target s390-*-linux*.
Martin Schwidefsky [Fri, 2 Jul 2004 14:12:01 +0000 (14:12 +0000)]
* config.bfd: Add want64 to configuration target s390-*-linux*.

20 years ago * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
Kaz Kojima [Fri, 2 Jul 2004 11:25:54 +0000 (11:25 +0000)]
* emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.

* ld-elf/frame.exp: Don't run on sh*-*-elf*.
* ld-sh/shared-1.d: Adjust for section reordering changes.
* ld-sh/shared-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/sh64/abi32.xd: Likewise.
* ld-sh/sh64/abi64.xd: Likewise.
* ld-sh/sh64/cmpct1.xd: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/shdl32.xd: Likewise.
* ld-sh/sh64/shdl64.xd: Likewise.

20 years ago(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have come
Nick Clifton [Fri, 2 Jul 2004 11:12:29 +0000 (11:12 +0000)]
(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have come
from undefined symbols.
Always consider this fixup to have been processed as a reloc cannot be
generated for it.

20 years ago2004-07-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 2 Jul 2004 07:56:07 +0000 (07:56 +0000)]
2004-07-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (build_modules): Add bison, byacc, flex,
m4, texinfo.
(flags_to_pass): Add FLEX.
* Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New.
(BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it.
(DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4,
DEFAULT_MAKEINFO): Remove.
(CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON,
CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute.
(YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into
objdir or else use configured tool.
(all-build): New.
(all): Depend on it.
(Build module dependencies): Add.
* Makefile.in: Regenerate.
* configure.in: Better support for multiple build modules,
matching what is done for host/target modules.  Do not look
for "plausible" locations of build tools if Canadian cross.
Use autoconf's AC_PROG_CC to find a C compiler.  Define
BUILD_DIR_PREFIX.  Look for flex, makeinfo and m4.
* configure: Regenerate.

20 years ago * ld-discard/static.d: Accept both original sym and section sym.
Alan Modra [Fri, 2 Jul 2004 06:46:17 +0000 (06:46 +0000)]
* ld-discard/static.d: Accept both original sym and section sym.

20 years ago * frags.h (struct frag): Add has_code and insn_addr fields.
Alan Modra [Fri, 2 Jul 2004 06:40:19 +0000 (06:40 +0000)]
* frags.h (struct frag): Add has_code and insn_addr fields.
* write.c (cvt_frag_to_fill): Invoke md_frag_check.
* config/tc-ppc.c (md_assemble): Check and set insn_addr.
* config/tc-ppc.h (md_frag_check): Define.

20 years ago2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 2 Jul 2004 04:18:17 +0000 (04:18 +0000)]
2004-07-02  Michael Chastain  <mec.gnu@mindspring.com>

* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.

20 years ago2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Jul 2004 02:01:23 +0000 (02:01 +0000)]
2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: New.
* gas/ia64/group-1.s: Likewise.

* gas/ia64/ia64.exp: Add group-1 to test comdat group.

20 years agobfd/
H.J. Lu [Fri, 2 Jul 2004 01:39:32 +0000 (01:39 +0000)]
bfd/

2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* bfd.c (bfd_get_section_ident): New.

* elflink.c (elf_link_read_relocs_from_section): Call
bfd_get_section_ident to identify the section when reporting
error.
(_bfd_elf_link_output_relocs): Likewise.
(elf_link_output_extsym): Likewise.
(elf_link_input_bfd): Likewise.
(bfd_elf_gc_record_vtinherit): Likewise.

* bfd-in2.h: Regenerated.
ld/

2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>

* ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
the section.

20 years agodaily update
Alan Modra [Fri, 2 Jul 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Fri, 2 Jul 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-07-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 1 Jul 2004 21:34:02 +0000 (21:34 +0000)]
2004-07-01  Michael Snyder  <msnyder@redhat.com>

        * win32-nat.c (core_dll_symbols_add): Re-indent a small section
        that seems to have gotten whacked out of line.

20 years ago* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
Mark Kettenis [Thu, 1 Jul 2004 20:25:54 +0000 (20:25 +0000)]
* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
code.

20 years ago * ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
Jakub Jelinek [Thu, 1 Jul 2004 16:24:51 +0000 (16:24 +0000)]
* ld-sparc/tlssunpic32.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunpic32.dd: Likewise.
* ld-sparc/tlssunpic32.sd: Likewise.
* ld-sparc/tlssunbin32.dd: Likewise.
* ld-sparc/tlssunbin32.sd: Likewise.
* ld-sparc/tlssunbin32.td: Likewise.

20 years ago(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
Nick Clifton [Thu, 1 Jul 2004 14:53:40 +0000 (14:53 +0000)]
(_bfd_mips_elf_final_link): Pass the correct number of section symbols to
mips_elf_sort_hash_table ().

20 years agobfd/
Alan Modra [Thu, 1 Jul 2004 13:48:53 +0000 (13:48 +0000)]
bfd/
* elflink.c (elf_section_ignore_discarded_relocs): Revert last
change.  Comment.
(elf_section_complain_discarded): New function.  Handle
.gcc_except_table too.
(elf_link_input_bfd): Rewrite handling of relocs against symbols
in discarded sections.
* elf-bfd.h (elf_discarded_section): Protect macro arg.
ld/testsuite/
* ld-discard/extern.d: Update.
* ld-discard/start.d: Update.
* ld-discard/static.d: Update.

20 years ago* ada-lang.c (decode_packed_array): Minor change to comment.
Paul N. Hilfinger [Thu, 1 Jul 2004 10:30:57 +0000 (10:30 +0000)]
* ada-lang.c (decode_packed_array): Minor change to comment.
(ada_value_slice_ptr): New function.
(ada_value_slice): New function.
(ada_evaluate_subexp): Remove XVS-suffix code from subscripting
test.  Don't know why it is there.
Change slice code to use ada_value_slice_ptr and ada_value_slice, and
to avoid dereferencing huge arrays from which one is slicing.
(empty_array): Correct to return an array rather than
a subrange value.
* ada-valprint.c (print_optional_low_bound): Don't print lower bound
on empty arrays (let'em use 'FIRST instead).

20 years agoAddress complaints from gdb_ari.sh:
Paul N. Hilfinger [Thu, 1 Jul 2004 10:11:11 +0000 (10:11 +0000)]
Address complaints from gdb_ari.sh:

* ada-exp.y: Include gdb_string.h rather than string.h.
(convert_char_literal): Reformat declaration.
* ada-lang.h: Include opaque struct declaration for struct frame_info.
* ada-lex.l: Change use of free to xfree (the macro would do so
anyway, but this is harmless).
Include gdb_string.h rather than string.h.
* ada-valprint.c (ada_val_print_stub): Change PTR => void*.

* ada-lang.c (parse): Remove K&Rism in parameter list.
(is_name_suffix): Correct Linux => GNU/Linux in comment.

20 years ago*** empty log message ***
gdbadmin [Thu, 1 Jul 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 1 Jul 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agoFix @pltoff linker segfault for non-shared link.
Jim Wilson [Wed, 30 Jun 2004 20:23:23 +0000 (20:23 +0000)]
Fix @pltoff linker segfault for non-shared link.
* elfxx-ia64.c (elfNN_ia64_check_relocs): New local pltoff.  Initialize
to NULL.  Call get_pltoff if NULL and NEED_PLTOFF is true.

20 years ago* gdbint.texinfo (Target Architecture Definition): Remove
Mark Kettenis [Wed, 30 Jun 2004 20:01:23 +0000 (20:01 +0000)]
* gdbint.texinfo (Target Architecture Definition): Remove
SUN_FIXED_LBRAC_BUG.

20 years ago* dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
Mark Kettenis [Wed, 30 Jun 2004 19:44:22 +0000 (19:44 +0000)]
* dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
dead code.

20 years ago* alphabsd-nat.c: Update copyright year.
Mark Kettenis [Wed, 30 Jun 2004 19:23:21 +0000 (19:23 +0000)]
* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.

20 years agoAdjust for "mov rX=imm" changes.
Jim Wilson [Wed, 30 Jun 2004 18:14:38 +0000 (18:14 +0000)]
Adjust for "mov rX=imm" changes.
* gas/ia64/dv-imply.d: Update.
* gas/ia64/dv-mutex.d: Likewise.
* gas/ia64/dv-safe.d: Likewise.

20 years agoCorrectly assemble mov rX=imm.
Jim Wilson [Wed, 30 Jun 2004 18:12:38 +0000 (18:12 +0000)]
Correctly assemble mov rX=imm.
* ia64-opc-a.c (ia64_opcodes_a): Delete mov immediate pseudo for adds.
* ia64-asmtab.c: Regnerate.

20 years agobfd/
H.J. Lu [Wed, 30 Jun 2004 16:19:20 +0000 (16:19 +0000)]
bfd/

2004-06-30  H.J. Lu  <hongjiu.lu@intel.com>

PR 233
* elflink.c (elf_link_input_bfd): Issue an error for non-debug
local references to discarded sections and report their
locations.

ld/testsuite/

2004-06-30  H.J. Lu  <hongjiu.lu@intel.com>

PR 233
* ld-discard/extern.d: Updated.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.

20 years ago * elflink.c (elf_section_ignore_discarded_relocs): Don't test
Alan Modra [Wed, 30 Jun 2004 13:42:45 +0000 (13:42 +0000)]
* elflink.c (elf_section_ignore_discarded_relocs): Don't test
sec_info_type, test section name instead.

20 years ago2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 30 Jun 2004 08:01:33 +0000 (08:01 +0000)]
2004-06-30  Michael Chastain   <mec.gnu@mindspring.com>

* lib/compiler.cc: Work around string preprocessing problem
with old hp c++ compiler.
* lib/compiler.c: Likewise.

20 years ago2004-06-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 30 Jun 2004 03:51:25 +0000 (03:51 +0000)]
2004-06-29  H.J. Lu  <hongjiu.lu@intel.com>

PR 240
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch
in .init/.fini sections.

20 years ago*** empty log message ***
gdbadmin [Wed, 30 Jun 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 30 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Use
Bob Wilson [Tue, 29 Jun 2004 22:03:33 +0000 (22:03 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Use
bfd_get_section_limit.

20 years ago * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
Bob Wilson [Tue, 29 Jun 2004 21:03:13 +0000 (21:03 +0000)]
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
output section size.

20 years ago* doc/Makefile.am (info): Rename goal to...
Maciej W. Rozycki [Tue, 29 Jun 2004 19:41:23 +0000 (19:41 +0000)]
* doc/Makefile.am (info): Rename goal to...
(info-local): ... this, to preserve implicit dependencies.
* doc/Makefile.in: Regenerate with automake 1.8.5.

20 years ago * i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
Joel Brobecker [Tue, 29 Jun 2004 18:17:41 +0000 (18:17 +0000)]
    * i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
        (i386_cygwin_in_solib_call_trampoline): New function.
        (i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
        and skip_trampoline_code gdbarch methods.

20 years ago * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
Corinna Vinschen [Tue, 29 Jun 2004 17:52:49 +0000 (17:52 +0000)]
* gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
directives to conditionalize symbol prefixing.
* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
additional_flags handling.  Add underscore prefix for Cygwin.
* gdb.arch/i386-unwind.c: Use preprocessor directives to
conditionalize symbol prefixing.
* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
additional_flags handling.  Add underscore prefix for Cygwin.

20 years ago* Makefile.in (gdb_callback_h): Renamed from callback_h to the
Jim Blandy [Tue, 29 Jun 2004 17:19:47 +0000 (17:19 +0000)]
* Makefile.in (gdb_callback_h): Renamed from callback_h to the
name actually used in the dependency lists.

20 years agogas/testsuite:
Joern Rennecke [Tue, 29 Jun 2004 16:35:05 +0000 (16:35 +0000)]
gas/testsuite:
Actually add these files:
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
ld/testsuite:
Actually add these files:
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.

20 years ago2004-06-29 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 29 Jun 2004 16:13:07 +0000 (16:13 +0000)]
2004-06-29  Randolph Chung  <tausq@debian.org>

* NEWS (New native configurations): Mention GNU/Linux/hppa.

20 years ago * win32-nat.c (child_pid_to_exec_file): New function.
Corinna Vinschen [Tue, 29 Jun 2004 15:37:31 +0000 (15:37 +0000)]
* win32-nat.c (child_pid_to_exec_file): New function.
(init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
functionality.

20 years agofix scrambled changelog
Andrew Cagney [Tue, 29 Jun 2004 15:22:28 +0000 (15:22 +0000)]
fix scrambled changelog

20 years ago2004-06-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 29 Jun 2004 14:57:39 +0000 (14:57 +0000)]
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* defs.h (xstrvprintf): Declare.
* utils.c (xstrvprintf): New function.
(internal_vproblem, xstrprintf, xasprintf)
(vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
* serial.c (serial_printf): Ditto.
* complaints.c (vcomplaint): Ditto.

20 years ago * ld-elf/frame.exp: Don't run on mcore.
Alan Modra [Tue, 29 Jun 2004 14:44:25 +0000 (14:44 +0000)]
* ld-elf/frame.exp: Don't run on mcore.

20 years ago * gas/m68k/mode5.s: Pad section.
Alan Modra [Tue, 29 Jun 2004 14:43:55 +0000 (14:43 +0000)]
* gas/m68k/mode5.s: Pad section.
* gas/m68k/mode5.d: Update.

20 years agobfd/
Alan Modra [Tue, 29 Jun 2004 14:13:47 +0000 (14:13 +0000)]
bfd/
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in
rawsize.
(mmix_elf_perform_relocation): Adjust for above change.
(mmix_elf_relocate_section): Likewise.
(mmix_elf_relax_section): Likewise.  Use output_section->rawsize.
(mmix_elf_get_section_contents): Delete.
(bfd_elf64_get_section_contents): Delete.
(mmix_elf_relocate_section): Zero stub area.
* linker.c (default_indirect_link_order): Alloc max of section size
and rawsize.
* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
* section.c (bfd_malloc_and_get_section): Likewise.
(struct bfd_section): Update rawsize comment.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (lang_reset_memory_regions): Save last relax pass section
size in rawsize.

20 years ago * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
Alan Modra [Tue, 29 Jun 2004 13:51:20 +0000 (13:51 +0000)]
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.

20 years ago * bfd-in.h (bfd_get_section_limit): Define.
Alan Modra [Tue, 29 Jun 2004 13:46:34 +0000 (13:46 +0000)]
* bfd-in.h (bfd_get_section_limit): Define.
* reloc.c (bfd_perform_relocation, bfd_install_relocation)
(_bfd_final_link_relocate): Use bfd_get_section_limit.
* aout-tic30.c (tic30_aout_final_link_relocate): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Likewise.
(bfd_ns32k_final_link_relocate): Likewise.
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise.
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise.
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc)
(i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise.
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc)
(m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise.
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elf32-or32.c (or32_elf_consth_reloc): Likewise.
* elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise.
* elf32-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Likewise.
* elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise.
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise.
* elf32-v850.c (v850_elf_reloc): Likewise.
* elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise.
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise.
* elf64-mips.c (mips_elf64_gprel32_reloc)
(mips16_gprel_reloc): Likewise.
* elf64-mmix.c (mmix_elf_reloc): Likewise.
* elf64-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf64-sparc.c (init_insn_reloc): Likewise.
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp)
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc)
(_bfd_mips_elf_generic_reloc): Likewise.
* bfd-in2.h: Regenerate.

20 years agomerge from gcc
DJ Delorie [Tue, 29 Jun 2004 12:51:56 +0000 (12:51 +0000)]
merge from gcc

20 years ago * infcmd.c (attach_command): Move call to target_terminal_inferior
Corinna Vinschen [Tue, 29 Jun 2004 06:39:06 +0000 (06:39 +0000)]
* infcmd.c (attach_command): Move call to target_terminal_inferior
behind loading symbol table.

20 years ago * gdb.base/bigcore.exp: Skip test on Cygwin.
Corinna Vinschen [Tue, 29 Jun 2004 06:34:50 +0000 (06:34 +0000)]
* gdb.base/bigcore.exp: Skip test on Cygwin.

20 years ago2004-06-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 29 Jun 2004 01:01:32 +0000 (01:01 +0000)]
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
change - add back extern deprecated_ui_loop_hook declaration.

20 years agoIndex: mn10200/ChangeLog
Andrew Cagney [Tue, 29 Jun 2004 00:54:00 +0000 (00:54 +0000)]
Index: mn10200/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook.

Index: d10v/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* interp.c (sim_resume): Rename ui_loop_hook to
deprecated_ui_loop_hook.

Index: arm/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.

Index: common/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.

20 years agodaily update
Alan Modra [Tue, 29 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 29 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 28 Jun 2004 23:59:29 +0000 (23:59 +0000)]
2004-06-26  Andrew Cagney  <cagney@gnu.org>

* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
xstrprintf.
* varobj.c (varobj_gen_name, create_child, c_name_of_child)
(c_value_of_variable): Ditto.
* utils.c (internal_vproblem): Ditto.
* solib-aix5.c (build_so_list_from_mapfile): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* remote-rdp.c (rdp_set_command_line): Ditto.
* regcache.c (regcache_dump): Ditto.
* frv-tdep.c (new_variant, new_variant): Ditto.
* fbsd-proc.c (child_pid_to_exec_file): Ditto.
(fbsd_find_memory_regions): Ditto.
* breakpoint.c (create_thread_event_breakpoint)
(create_breakpoints): Ditto.
* aix-thread.c (aix_thread_pid_to_str): Ditto.
* ada-lang.c (is_package_name): Ditto.  Also delete xmalloc call.

Index: doc/ChangeLog
2004-06-26  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.

20 years agosim/h8300/ChangeLog:
Alexandre Oliva [Mon, 28 Jun 2004 19:26:37 +0000 (19:26 +0000)]
sim/h8300/ChangeLog:
2003-07-23  Richard Sandiford  <rsandifo@redhat.com>
* compile.c (sim_resume): Make sure that dst.reg refers to the
right register byte in mova/sz.l @(dd,RnL),ERn.
2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
* compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
mulxs, divs and divxs.
sim/testsuite/sim/h8300/ChangeLog:
2003-07-22  Michael Snyder  <msnyder@redhat.com>
* mul.s: Don't try to use negative immediate (it's always
unsigned).
* div.s: Ditto.

20 years ago* compile.c (sim_load): Update sd->memory_size.
Alexandre Oliva [Mon, 28 Jun 2004 19:25:43 +0000 (19:25 +0000)]
* compile.c (sim_load): Update sd->memory_size.

20 years ago* e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
Jim Blandy [Mon, 28 Jun 2004 19:02:49 +0000 (19:02 +0000)]
* e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
unsigned type before or-ing it with a 64-bit value.

20 years ago * ada-lang.c: Re-indent file, with some massaging to help indent
Joel Brobecker [Mon, 28 Jun 2004 18:59:14 +0000 (18:59 +0000)]
    * ada-lang.c: Re-indent file, with some massaging to help indent
        a bit when the result is otherwise really too ugly.

20 years ago2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 28 Jun 2004 18:19:47 +0000 (18:19 +0000)]
2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
formats for "info register".  Use gdb_test_multiple.  Fix
the "invalid register" test.

20 years agomerge from gcc
DJ Delorie [Mon, 28 Jun 2004 18:01:46 +0000 (18:01 +0000)]
merge from gcc

20 years ago* Makefile.in: Regenerate to clean up breakage.
Maciej W. Rozycki [Mon, 28 Jun 2004 15:11:14 +0000 (15:11 +0000)]
* Makefile.in: Regenerate to clean up breakage.

20 years agoopcodes/
Alan Modra [Mon, 28 Jun 2004 14:08:08 +0000 (14:08 +0000)]
opcodes/
* ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf.
(extract_fxm): Don't test dialect.
(XFXFXM_MASK): Include the power4 bit.
(XFXM): Add p4 param.
(powerpc_opcodes): Add mfocrf and mtocrf.  Adjust mtcr.

gas/testsuite/
* gas/ppc/power4.d: Update.

20 years ago * bfd-in.h (struct stab_info): Move from stabs.c.
Alan Modra [Mon, 28 Jun 2004 13:57:59 +0000 (13:57 +0000)]
* bfd-in.h (struct stab_info): Move from stabs.c.
* stabs.c (struct stab_link_includes_table): Delete.
(stab_link_includes_lookup): Delete.
(_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one
level of indirection from sinfo parm.
(_bfd_link_section_stabs): Likewise.  Set SEC_LINKER_CREATED on
stabstr section.  Adjust hash table accesses.
* coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents
alloc.  Adjust stab_info test.
* cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info.
(_bfd_coff_final_link): Adjust stab_info test.
(_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections.
* elf-bfd.h (struct elf_link_hash_table): Include struct stab_info
in place.
* libcoff-in.h (struct coff_link_hash_table): Likewise.
* elf.c (_bfd_elf_link_hash_table_init): Clear stab_info.
* elflink.c (bfd_elf_final_link): Don't attempt to link linker created
stabstr section.  Adjust stab_info test.
* libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs)
(_bfd_write_stab_strings): Adjust prototypes.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
* bfd-in2.h: Regenerate.

20 years ago * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
Corinna Vinschen [Mon, 28 Jun 2004 11:15:31 +0000 (11:15 +0000)]
* gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
PID for Cygwin.  Add Cygwin specific strings to check for in some
tests.
(do_attach_tests): Add a test for user interaction when attaching
to a process with no matching symbol table already loaded.

20 years agodaily update
Alan Modra [Mon, 28 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Mon, 28 Jun 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * frame.h (struct frame_id): Change bit field type of stack_addr_p,
Ulrich Weigand [Sun, 27 Jun 2004 22:26:34 +0000 (22:26 +0000)]
* frame.h (struct frame_id): Change bit field type of stack_addr_p,
code_addr_p and special_addr_p to 'unsigned int'.

20 years ago* i386v4-nat.c: Update copyright year and tweak comment.
Mark Kettenis [Sun, 27 Jun 2004 21:52:21 +0000 (21:52 +0000)]
* i386v4-nat.c: Update copyright year and tweak comment.
(regmap): Remove trailing comma.
(supply_gregset): Rename local variable i to regnum.  Call
regcache_raw_supply instead of supply_register.
(fill_gregset): Rename argument regno to regnum.  Call
regcache_raw_collect instead of regcache_collect.

20 years ago * frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
Ulrich Weigand [Sun, 27 Jun 2004 20:45:05 +0000 (20:45 +0000)]
* frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
and special_addr_p.
(frame_id_build, frame_id_build_special): Update comments.
(frame_id_build_wild): New prototype.
* frame.c (frame_id_build, frame_id_build_special): Fill in new
struct frame_id fields.
(frame_id_build_wild): New function.
(frame_id_eq, frame_id_inner): Use new struct frame_id fields.

20 years ago* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
Mark Kettenis [Sun, 27 Jun 2004 20:37:36 +0000 (20:37 +0000)]
* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
hppabsd-tdep.c.

20 years ago * ada-lang.c: Minor reformatting to conform to GNU coding standards.
Joel Brobecker [Sun, 27 Jun 2004 19:28:20 +0000 (19:28 +0000)]
    * ada-lang.c: Minor reformatting to conform to GNU coding standards.

20 years ago * ada-lang.c: Re-indent file.
Joel Brobecker [Sun, 27 Jun 2004 19:06:23 +0000 (19:06 +0000)]
    * ada-lang.c: Re-indent file.

20 years ago * ada-lang.c (symtab_symbol_info): Remove unused declaration.
Joel Brobecker [Sun, 27 Jun 2004 18:55:48 +0000 (18:55 +0000)]
    * ada-lang.c (symtab_symbol_info): Remove unused declaration.
        (no_symtab_msg): Likewise.

20 years ago* source.c: Fix whitespace.
Andreas Schwab [Sun, 27 Jun 2004 18:36:15 +0000 (18:36 +0000)]
* source.c: Fix whitespace.

20 years ago* configure.in: Include <sys/param.h> for td_pcb test.
Mark Kettenis [Sun, 27 Jun 2004 16:41:21 +0000 (16:41 +0000)]
* configure.in: Include <sys/param.h> for td_pcb test.
* configure: Regenerated.

20 years ago* i386nbsd-nat.c: New file.
Mark Kettenis [Sun, 27 Jun 2004 16:22:43 +0000 (16:22 +0000)]
* i386nbsd-nat.c: New file.
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
i386obsd-nat.c and i386obsd-tdep.c.
(i386nbsd-nat.o): New dependency.
* config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.
* config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.

20 years ago* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
Mark Kettenis [Sun, 27 Jun 2004 15:59:25 +0000 (15:59 +0000)]
* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

20 years ago* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
Mark Kettenis [Sun, 27 Jun 2004 15:56:20 +0000 (15:56 +0000)]
* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
fetching from BSD_KVM_PADDR.  Correctly lookup address for
"_thread0".

20 years ago* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
Mark Kettenis [Sun, 27 Jun 2004 15:44:22 +0000 (15:44 +0000)]
* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
"bsd-kvm.h".
(amd64fbsd_supply_pcb): New funcion.
(_initialize_amd64fbsd_nat): Enable libkvm interface.

20 years agoFrom Miod Vallat <miod@online.fr>:
Mark Kettenis [Sun, 27 Jun 2004 15:08:05 +0000 (15:08 +0000)]
From Miod Vallat <miod@online.fr>:
* aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k.

20 years ago2004-06-27 <david@streamline-computing.com>
David Lecomber [Sun, 27 Jun 2004 07:57:15 +0000 (07:57 +0000)]
2004-06-27    <david@streamline-computing.com>

Partial fix for PR cli/1056.
* valarith.c (value_binop): Check for zero in division and
remainder evaluation.

20 years ago2003-07-21 Richard Sandiford <rsandifo@redhat.com>
Alexandre Oliva [Sun, 27 Jun 2004 06:31:22 +0000 (06:31 +0000)]
2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
* disassemble.c (disassembler): Handle bfd_mach_h8300sxn.

20 years ago * callback.c (os_shutdown): Fix bug in last change: actually
Joern Rennecke [Sun, 27 Jun 2004 03:14:51 +0000 (03:14 +0000)]
* callback.c (os_shutdown): Fix bug in last change: actually
mark file descriptors as available on startup.

20 years ago* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
Alexandre Oliva [Sun, 27 Jun 2004 03:02:21 +0000 (03:02 +0000)]
* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
(struct elf32_mn10300_link_hash_entry): Remove
pcrel_relocs_copied.
(mn10300_elf_check_relocs): Only reserve dynamic relocations for
R_MN10300_32.  Don't adjust pcrel_relocs_copied.
(mn10300_elf_final_link_relocate): Fail for direct, pc-relative
and gotoff relocations if the symbol doesn't bind locally.  Use
_bfd_elf_symbol_refs_local_p to test.  Don't create dynamic
relocation for PCREL32.
(mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p
to test whether a symbol binds locally.
(elf32_mn10300_link_hash_newfunc): Don't initialize
pcrel_relocs_copied.
(_bfd_mn10300_elf_discard_copies): Delete.
(_bfd_mn10300_elf_size_dynamic_sections): Don't call it.

20 years ago2004-06-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 27 Jun 2004 00:41:39 +0000 (00:41 +0000)]
2004-06-26  Andrew Cagney  <cagney@gnu.org>

Test PR java/1567 and PR java/1565.
* gdb.java/jmain.exp, gdb.java/jmain.java: New files.
* gdb.java/jmisc2.exp: Delete file.

20 years agodaily update
Alan Modra [Sun, 27 Jun 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 27 Jun 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* i387-tdep.c: Remove excessive whitespace.
Mark Kettenis [Sat, 26 Jun 2004 23:20:30 +0000 (23:20 +0000)]
* i387-tdep.c: Remove excessive whitespace.

20 years ago2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 26 Jun 2004 22:20:50 +0000 (22:20 +0000)]
2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.

20 years ago2000-08-07 Graham Stott <grahams@cygnus.co.uk>
Alexandre Oliva [Sat, 26 Jun 2004 22:18:18 +0000 (22:18 +0000)]
2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
* am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo.
2000-05-29  Alexandre Oliva  <aoliva@cygnus.com>
* interp.c (fpu_disabled_exception, fpu_unimp_exception,
fpu_check_signal_exception): Take additional state arguments.
Print exception type and call program_interrupt.  Adjust callers.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional
arguments.
* mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception,
fpu_check_signal_exception): Adjust prototypes.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise.
* am33-2.igen: Adjust calls.
2000-05-19  Alexandre Oliva  <aoliva@cygnus.com>
* op_utils.c (cmp2fcc): Moved...
* interp.c: ... here.
2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
* am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or
`signed64' where type width is relevant.
2000-05-15  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300_sim.h: Include sim-fpu.h.
(FD2FPU, FPU2FD): Enclose the FD argument in parentheses.
(fpu_check_signal_exception): Declare.
(struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise.
(FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare.
* interp.c (fpu_disabled_exception): Document.
(fpu_unimp_exception): Likewise.
(fpu_check_signal_exception): Define.
(reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise.
(reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise.
(REG2VAL, ROUND, VAL2REG): Define shorthands.
(fpu_status_ok): Define.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define.
* am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv,
fmadd, fmsub, fnmadd, fnmsub): Use new functions.
2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
* interp.c (sim_create_inferior): Set PSW bit to enable FP insns
if architecture is AM33/2.0.
* am33.igen: Include am33-2.igen.
2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.igen (movm, call, ret, retf): Check for am33_2 too.
* am33.igen (movm): Likewise.
2000-04-19  Alexandre Oliva  <aoliva@cygnus.com>
* am33.igen: Added `*am33_2' to some instructions that were
missing it.
2000-04-07  Alexandre Oliva  <aoliva@cygnus.com>
* am33-2.igen: New file.  All insns implemented, but FP flags are
only set for fcmp, exceptional conditions are not handled yet.
* Makefile.in (IGEN_INSN): Added am33-2.igen.
(tmp-igen): Added -M am33_2.
* mn10300.igen, am33.igen: Added `*am33_2' to all insns.
* gencode.c: Support FMT_D3.
* mn10300_sim.h (dword): New type.
(struct _state): Added fpregs.
(REG_FPCR, FPCR): New define.  All assorted bitmaps.
(XS2FS, AS2FS, Xf2FD): New macros.
(FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise.
(load_dword, store_dword): New functions or macros.
(u642dw, dw2u64): New functions.
(fpu_disabled_exception, fpu_unimp_exception): Declared.
* interp.c (fpu_disabled_exception): Defined; no actual
implementation.
(fpu_unimp_exception): Likewise.
* op_utils.c (cmp2fcc): New function.

20 years ago* interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
Alexandre Oliva [Sat, 26 Jun 2004 21:53:47 +0000 (21:53 +0000)]
* interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
and definitions to ISO C.

20 years ago* gencode.c, simops.c: Delete.
Alexandre Oliva [Sat, 26 Jun 2004 21:44:56 +0000 (21:44 +0000)]
* gencode.c, simops.c: Delete.
* Makefile.in: Remove non-COMMON dependencies and commands.

20 years ago2004-06-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 26 Jun 2004 20:37:13 +0000 (20:37 +0000)]
2004-06-26  Andrew Cagney  <cagney@gnu.org>

* gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
* gdb-events.h, gdb-events.c: Re-generate.
* tui/tui-hooks.c (tui_install_hooks): Update.
(tui_remove_hooks): Update.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Update.