binutils-gdb.git
20 years agodaily update
Alan Modra [Fri, 23 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
Daniel Jacobowitz [Fri, 23 Jan 2004 22:46:13 +0000 (22:46 +0000)]
* gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
after -var-update.

20 years ago2004-01-23 David Carlton <carlton@kealia.com>
David Carlton [Fri, 23 Jan 2004 22:41:28 +0000 (22:41 +0000)]
2004-01-23  David Carlton  <carlton@kealia.com>

Patch for PR c++/1520:
* dwarf2read.c (read_func_scope): Set processing_current_prefix
properly if we have a specification die.
(determine_prefix_aux): Rename from determine_prefix.
(determine_prefix): Like the old determine_prefix, but never
returns NULL.

20 years ago* avr-tdep.c: Update copyright.
Theodore A. Roth [Fri, 23 Jan 2004 22:37:14 +0000 (22:37 +0000)]
* avr-tdep.c: Update copyright.
(avr_iaddr_p): Delete unused function.
(avr_saddr_p): Delete unused function.

20 years ago2004-01-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Jan 2004 22:05:44 +0000 (22:05 +0000)]
2004-01-23  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update to include copyrights for new
        iconv code.

20 years ago2004-01-23 David Carlton <carlton@kealia.com>
David Carlton [Fri, 23 Jan 2004 21:55:57 +0000 (21:55 +0000)]
2004-01-23  David Carlton  <carlton@kealia.com>

* gdb.cp/namespace.cc (C::ensureRefs): New.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): New.

20 years ago2004-01-23 David Carlton <carlton@kealia.com>
David Carlton [Fri, 23 Jan 2004 17:56:46 +0000 (17:56 +0000)]
2004-01-23  David Carlton  <carlton@kealia.com>

* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
Fix for PR symtab/1534.

20 years ago * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
Daniel Jacobowitz [Fri, 23 Jan 2004 16:51:48 +0000 (16:51 +0000)]
* elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
change.

20 years ago * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
Daniel Jacobowitz [Fri, 23 Jan 2004 16:51:39 +0000 (16:51 +0000)]
* ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
ld-arm/arm-app-abs32.d: New files.
* ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.

20 years ago * config/tc-arm.c (tc_gen_reloc): Improve error message for
Daniel Jacobowitz [Fri, 23 Jan 2004 16:29:34 +0000 (16:29 +0000)]
* config/tc-arm.c (tc_gen_reloc): Improve error message for
undefined local labels.

20 years ago * gas/arm/arm.exp: Add "undefined" test.
Daniel Jacobowitz [Fri, 23 Jan 2004 16:29:25 +0000 (16:29 +0000)]
* gas/arm/arm.exp: Add "undefined" test.
* gas/arm/undefined.s, gas/arm/undefined.l: New files.

20 years ago * config/tc-mips.c (load_address, macro): Update comments about
Richard Sandiford [Fri, 23 Jan 2004 13:11:00 +0000 (13:11 +0000)]
* config/tc-mips.c (load_address, macro): Update comments about
NewABI GP relaxation.

20 years ago * config/tc-mips.c (macro_build): Remove place and counter arguments.
Richard Sandiford [Fri, 23 Jan 2004 13:02:28 +0000 (13:02 +0000)]
* config/tc-mips.c (macro_build): Remove place and counter arguments.
(mips_build_lui, macro_build_ldst_constoffset): Likewise.
(mips16_macro_build, macro_build_jalr): Remove counter argument.
(set_at, load_register, load_address, move_register): Likewise.
(load_got_offset, add_got_offset): Likewise.
Update all calls and tidy accordingly.

20 years ago * gas/mips/macro-warn-[1234].[sdl]: New tests.
Richard Sandiford [Fri, 23 Jan 2004 13:01:07 +0000 (13:01 +0000)]
* gas/mips/macro-warn-[1234].[sdl]: New tests.
* gas/mips/macro-warn-[12]-n32.[dl]: New tests.
* gas/mips/mips.exp: Run them.

20 years ago * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
Richard Sandiford [Fri, 23 Jan 2004 13:00:18 +0000 (13:00 +0000)]
* config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
(RELAX_USE_SECOND): Bump to 0x10000.
(RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
(mips_macro_warning): New variable.
(md_assemble): Wrap macro expansion in macro_start() and macro_end().
(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
(relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
of RELAX_ENCODE.
(append_insn): Update mips_macro_warning.sizes.
(macro_start, macro_warning, macro_end): New functions.
(macro_build): Don't emit warnings here.
(macro_build_lui, md_estimate_size_before_relax): ...or here.
(md_convert_frag): Check for cases where one macro alternative
needs a warning and the other doesn't.  Emit a warning if the
longer sequence was chosen.

20 years ago * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
Richard Sandiford [Fri, 23 Jan 2004 12:58:22 +0000 (12:58 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
* config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
the first sequence, the size of the second sequence, and a flag
that says whether we should warn.
(RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
(RELAX_FIRST, RELAX_SECOND): New.
(mips_relax): New variable.
(relax_close_frag, relax_start, relax_switch, relax_end): New fns.
(append_insn): Remove "place" argument.  Use mips_relax.sequence
rather than "place" to check whether we're expanding the second
alternative of a relaxable macro.  Remove redundant check for
branch relaxation.  If generating a normal insn, and there
is not enough room in the current frag, call relax_close_frag()
to close it.  Update mips_relax.sizes[].  Emit fixups for the
second version of a relaxable macro.  Record the first relaxable
fixup in mips_relax.  Remove tc_gen_reloc workaround.
(macro_build): Remove all uses of "place".  Use mips_relax.sequence
in the same way as in append_insn.
(mips16_macro_build): Remove "place" argument.
(macro_build_lui): As for macro_build.  Don't drop the add_symbol
when generating the second version of a relaxable macro.
(load_got_offset, add_got_offset): New functions.
(load_address, macro): Use new relaxation machinery.  Remove
tc_gen_reloc workarounds.
(md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
version of a relaxable macro is needed.  Return -RELAX_SECOND if the
first version is needed.
(tc_gen_reloc): Remove relaxation handling.
(md_convert_frag): Go through the fixups for a relaxable macro and
mark those that belong to the unneeded alternative as done.  If the
second alternative is needed, adjust the fixup addresses to account
for the deleted first alternative.

testsuite/
* gas/mips/elf-rel19.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago * frags.h (frag_room): Declare.
Richard Sandiford [Fri, 23 Jan 2004 12:52:20 +0000 (12:52 +0000)]
* frags.h (frag_room): Declare.
* frags.c (frag_room): New function.
* doc/internals.texi: Document it.

20 years agoTighten constaints on a few sparc instructions
Nick Clifton [Fri, 23 Jan 2004 12:08:24 +0000 (12:08 +0000)]
Tighten constaints on a few sparc instructions

20 years ago * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
Ben Elliston [Fri, 23 Jan 2004 03:15:27 +0000 (03:15 +0000)]
* lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
test passes.

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

20 years ago* NEWS (New native configurations): Mention OpenBSD/sparc and
Mark Kettenis [Thu, 22 Jan 2004 23:18:04 +0000 (23:18 +0000)]
* NEWS (New native configurations): Mention OpenBSD/sparc and
OpenBSD/sparc64.
* configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
* configure.host: Likewise.
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
handler for OpenBSD.
* sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.

20 years agodaily update
Alan Modra [Thu, 22 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago* sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
Mark Kettenis [Thu, 22 Jan 2004 22:57:59 +0000 (22:57 +0000)]
* sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
(_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.

20 years ago* ser-pipe.c (pipe_open): Use proper null pointer in execl call.
Mark Kettenis [Thu, 22 Jan 2004 22:20:39 +0000 (22:20 +0000)]
* ser-pipe.c (pipe_open): Use proper null pointer in execl call.
* cli/cli-cmds.c (shell_escape): Likewise.

20 years ago* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
Mark Kettenis [Thu, 22 Jan 2004 21:56:34 +0000 (21:56 +0000)]
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
OpenBSD .note.openbsd.ident sections.

20 years ago2004-01-22 David Carlton <carlton@kealia.com>
David Carlton [Thu, 22 Jan 2004 19:56:54 +0000 (19:56 +0000)]
2004-01-22  David Carlton  <carlton@kealia.com>

* dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
get_scope_pc_bounds.
(read_file_scope): Ditto.
(get_scope_pc_bounds): New function, produced by extracting code
from the above two functions, consolidating it, and adding support
for DW_TAG_namespace.

20 years agomerge from gcc
DJ Delorie [Thu, 22 Jan 2004 19:34:11 +0000 (19:34 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Thu, 22 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * config/tc-mips.c (append_insn): Don't do r3900 interlock
Thiemo Seufer [Wed, 21 Jan 2004 23:25:38 +0000 (23:25 +0000)]
* config/tc-mips.c (append_insn): Don't do r3900 interlock
optimization for -mtune=r3900, as this will break on other CPUs.

20 years ago* osabi.c (MAX_NOTESZ): New define.
Mark Kettenis [Wed, 21 Jan 2004 23:07:26 +0000 (23:07 +0000)]
* osabi.c (MAX_NOTESZ): New define.
(check_note): New function.
(generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
check_note.

20 years agodaily update
Alan Modra [Wed, 21 Jan 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago.
Roland McGrath [Wed, 21 Jan 2004 20:50:57 +0000 (20:50 +0000)]
.

20 years ago2004-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 Jan 2004 20:50:41 +0000 (20:50 +0000)]
2004-01-21  Roland McGrath  <roland@redhat.com>

* MAINTAINERS (write after approval): Add myself.

20 years ago * utils.c (init_page_info): Move declarations of `rows' and
Eli Zaretskii [Wed, 21 Jan 2004 18:46:23 +0000 (18:46 +0000)]
* utils.c (init_page_info): Move declarations of `rows' and
`cols' before the __GO32__-specific code.  Move the closing brace
outside the #ifdef __GO32__..#endif block.
[__GO32__]: Use `rows' and `cols' to avoid compiler warnings.

20 years ago * Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir).
Eli Zaretskii [Wed, 21 Jan 2004 18:44:52 +0000 (18:44 +0000)]
* Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir).

20 years ago * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
Paul Brook [Wed, 21 Jan 2004 16:32:07 +0000 (16:32 +0000)]
* infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
BPSTAT_WHAT_CHECK_SHLIBS.

20 years ago * MAINTAINERS: Add myself to write-after-approval.
Paul Brook [Wed, 21 Jan 2004 16:30:42 +0000 (16:30 +0000)]
* MAINTAINERS: Add myself to write-after-approval.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 21 Jan 2004 15:37:11 +0000 (15:37 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* ax-gdb.c (print_axs_value): Delete unused function.
* jv-lang.c (java_lookup_type): Delete unused function.
* cli/cli-dump.c (dump_filetype): Delete unused function.
* remote-mips.c (remote_mips_insert_hw_breakpoint)
(remote_mips_remove_hw_breakpoint): Delete unused functions.
(mips_getstring): Delete unused function.
(pmon_insert_breakpoint): Delete #if0ed function.
(PMON_MAX_BP): Delete #if0ed MACRO.
(mips_pmon_bp_info): Delete #if0ed variable.
(pmon_remove_breakpoint): Delete #if0ed function.
* monitor.c (monitor_write_even_block): Delete unused function.
(monitor_write_memory_block): Delete #if0ed code.
* dink32-rom.c (dink32_load): Delete unused function.
(_initialize_dink32_rom): Delete #if0ed code.
* d10v-tdep.c (d10v_daddr_p): Delete unused function.

20 years agoStop indexed move byte instructions from being relaxed.
Nick Clifton [Wed, 21 Jan 2004 11:17:53 +0000 (11:17 +0000)]
Stop indexed move byte instructions from being relaxed.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 21 Jan 2004 04:16:53 +0000 (04:16 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* tui/tui-command.c: Update references.
* tui/tui-io.c: Update references.
* tui/tui-command.h: Update copyright.
(tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 21 Jan 2004 04:11:16 +0000 (04:11 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* source.c (ambiguous_line_spec): Delete never-defined function.
* remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
* gdbtypes.c (add_name, add_mangled_type): Ditto.
* cli/cli-cmds.c (validate_comname): Ditto.

20 years ago*** empty log message ***
gdbadmin [Wed, 21 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 20 Jan 2004 21:56:22 +0000 (21:56 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* tui/tui-disasm.h: Update copyright.  Include "tui.h" and
"tui-data.h".
(tui_set_disassem_content): Rename tuiSetDisassemContent.
(tui_show_disassem): Rename tuiShowDisassem.
(tui_show_disassem_and_update_source): Rename
tuiVerticalDisassemScroll.
(tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
(tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
* tui/tui.h: Update copyright.
(enum tui_status): Define.
* tui/tui-data.h (enum tui_scroll_direction): Define.
* tui/tui-disasm.c: Update copyright.  Update references.
* tui/tui-winsource.c:  Update copyright.  Update references.
* tui/tui-win.c: Update references.
* tui/tui-layout.c: Update references.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 20 Jan 2004 21:47:53 +0000 (21:47 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
sym2 to start of block.

20 years ago * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
Danny Smith [Tue, 20 Jan 2004 21:08:16 +0000 (21:08 +0000)]
* pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
* ld.texinfo (--omagic): Note that writable text section
does not conform to published PE-COFF specs.
(--enable-auto-import): Likewise.

20 years ago * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
Danny Smith [Tue, 20 Jan 2004 21:04:19 +0000 (21:04 +0000)]
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT
flag has been cleared.

20 years agoUpdate the copyright year
Nick Clifton [Tue, 20 Jan 2004 13:08:47 +0000 (13:08 +0000)]
Update the copyright year

20 years ago2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 20 Jan 2004 09:29:18 +0000 (09:29 +0000)]
2004-01-19  Michael Chastain  <mec.gnu@mindspring.com>

* MAINTAINERS: Delete mmalloc.
* Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
* NEWS: Mention removal of --with-malloc.
* acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, USE_MMALLOC, MMCHECK_FORCE.
* gdbinit.in: Remove mmalloc.
* utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
* config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
* config/i386/go32.mh: Likewise.
* config/i386/interix.mh: Likewise.
* config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.

2004-01-19  Michael Chastain  <mec.gnu@mindspring.com>

* gdbint.texinfo: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE,
MMAP_BASE_ADDRESS, MMAP_INCREMENT.

20 years ago2004-01-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 20 Jan 2004 07:06:14 +0000 (07:06 +0000)]
2004-01-19  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo)
        (check_mult_hilo): Improve comments.
        (check_div_hilo): Likewise.  Also, fork off a new version
        to handle mips32/mips64 (since there are no hazards to check
        in MIPS32/MIPS64).

20 years ago2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Jan 2004 02:04:19 +0000 (02:04 +0000)]
2004-01-19  Jeff Johnston  <jjohnstn@redhat.com>

        * linespec.c (decode_variable, symtab_from_filename):  Call
        error_silent with error message instead of throwing an exception
        directly.
        * defs.h (error_silent, error_output_message): Add prototypes.
        (catch_exceptions_with_msg): Ditto.
        * utils.c (error_silent, error_output_message): New functions.
        * top.c (catch_exceptions_with_msg): New function.

20 years agoTest for case "-var-list-children --all-values NAME".
Nick Roberts [Tue, 20 Jan 2004 00:54:04 +0000 (00:54 +0000)]
Test for case "-var-list-children --all-values NAME".

20 years ago(test_stack_locals_listing): Test for case "-stack-list-locals 2".
Nick Roberts [Tue, 20 Jan 2004 00:52:06 +0000 (00:52 +0000)]
(test_stack_locals_listing): Test for case "-stack-list-locals 2".

20 years ago*** empty log message ***
Nick Roberts [Tue, 20 Jan 2004 00:51:13 +0000 (00:51 +0000)]
*** empty log message ***

20 years ago(GDB/MI Stack Manipulation): Describe extension to -stack-list-locals.
Nick Roberts [Tue, 20 Jan 2004 00:50:05 +0000 (00:50 +0000)]
(GDB/MI Stack Manipulation): Describe extension to -stack-list-locals.
(GDB/MI Variable Objects): Describe extension to -var-list-children.

20 years ago(mi_cmd_var_list_children): Print the values of the
Nick Roberts [Tue, 20 Jan 2004 00:46:36 +0000 (00:46 +0000)]
(mi_cmd_var_list_children): Print the values of the
children, if required.

20 years ago(mi_cmd_stack_list_locals): Print the name,
Nick Roberts [Tue, 20 Jan 2004 00:46:00 +0000 (00:46 +0000)]
(mi_cmd_stack_list_locals): Print the name,
type and value for simple data types and just the name and type
for complex ones, if required.

20 years ago(enum print_values): Add definition.
Nick Roberts [Tue, 20 Jan 2004 00:45:29 +0000 (00:45 +0000)]
(enum print_values): Add definition.

20 years ago*** empty log message ***
gdbadmin [Tue, 20 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
Kevin Buettner [Mon, 19 Jan 2004 23:11:36 +0000 (23:11 +0000)]
* frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
unused declarations.

20 years agodaily update
Alan Modra [Mon, 19 Jan 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 19:56:02 +0000 (19:56 +0000)]
2004-01-19  Andrew Cagney  <cagney@redhat.com>

* top.h (mapped_symbol_files): Delete declaration.
* main.c (captured_main): Delete option "m" and "mapped".
* objfiles.c (mapped_symbol_files): Delete variable.
* symfile.c (symbol_file_command): Delete mmap code.
(symbol_file_add_with_addrs_or_offsets): Ditto.
(add_symbol_file_command, reread_separate_symbols): Ditto.
* objfiles.h (OBJF_MAPPED): Delete.
* objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
(free_objfile) [USE_MMALLOC]: Ditto.
(open_existing_mapped_file): Delete function.
(open_mapped_file): Delete function.
(map_to_file): Delete function.

20 years ago* common.h (NT_OPENBSD_IDENT): Define.
Mark Kettenis [Mon, 19 Jan 2004 18:28:58 +0000 (18:28 +0000)]
* common.h (NT_OPENBSD_IDENT): Define.

20 years ago * infrun.c (step_into_function): Account for possible breakpoint
Kevin Buettner [Mon, 19 Jan 2004 17:28:52 +0000 (17:28 +0000)]
* infrun.c (step_into_function): Account for possible breakpoint
adjustment when computing ``stop_func_start''.

20 years ago * coff-h8300.c: Add and adjust comments about relaxation.
Kazu Hirata [Mon, 19 Jan 2004 17:02:45 +0000 (17:02 +0000)]
* coff-h8300.c: Add and adjust comments about relaxation.
* elf32-h8300.c: Likewise.

20 years ago * target.c (default_region_size_ok_for_hw_watchpoint): Compare
Kevin Buettner [Mon, 19 Jan 2004 16:49:35 +0000 (16:49 +0000)]
* target.c (default_region_size_ok_for_hw_watchpoint): Compare
the region size against the size of a pointer, not the size of
a register as given by DEPRECATED_REGISTER_SIZE.

20 years ago2004-01-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 16:06:04 +0000 (16:06 +0000)]
2004-01-19  Andrew Cagney  <cagney@redhat.com>

* tui/tui-regs.h: Include "tui-data.h".
(tuiFirstRegElementNoInLine): Delete declaration.
(tui_display_registers_from): Rename tuiDisplayRegistersFrom.
(tui_last_regs_line_no): Rename tuiLastRegsLineNo.
(tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
(tui_calculate_regs_column_count): Rename
tuiCalculateRegsColumnCount.
(tui_check_register_values): Rename tuiCheckRegisterValues.
(tui_show_registers): Rename tuiShowRegisters.
(tui_display_registers_from_line): Rename
tuiDisplayRegistersFromLine.
(tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
(tui_toggle_float_regs): Rename tuiToggleFloatRegs.
(tui_first_reg_element_no_inline): Rename
tuiFirstRegElementNoInLine.
* tui/tui-data.h: Update copyright.
(enum tui_register_display_type): Rename _TuiRegisterDisplayType.
* tui/tui-windata.c: Update copyright, update references.
* tui/tui-regs.c: Update copyright, update references.
* tui/tui-win.c: Update copyright, update references.
* tui/tui-layout.c: Update copyright, update references.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 05:06:34 +0000 (05:06 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* tui/tui-io.c: Update copyright.
(key_is_end_sequence, key_is_backspace): New functions.
(key_is_command_char, key_is_start_sequence): New function.
(tui_getc): Update references.
* tui/tui-io.h: Update copyright.
(m_tuiStartNewLine): Delete macro.
(m_isBackspace, m_isDeleteChar): Delete macros.
(m_isDeleteLine, m_isDeleteToEol): Delete macros.
(m_isNextPage, m_isPrevPage): Delete macros.
(m_isLeftArrow, m_isRightArrow): Delete macros.
(m_isXdbStyleCommandChar): Delete macro.
(key_is_start_sequence): Declare, replace m_isStartSequence.
(key_is_end_sequence): Declare, replace m_isEndSequence.
(key_is_backspace): Declare ,replace m_isBackspace.
(key_is_command_char): Declare, replace m_isCommandChar.
* tui/tui-command.c: Update copyright.
(tuiDispatchCtrlChar): Update references.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 04:36:57 +0000 (04:36 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
tuiSourceWin.h.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 04:31:53 +0000 (04:31 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* tui/tui-command.c: Rename tui/tuiCommand.c.
* tui/tui-command.h: Rename tui/tuiCommand.h.
* tui/tui-data.c: Rename tui/tuiData.c.
* tui/tui-data.h: Rename tui/tuiData.h.
* tui/tui-disasm.c: Rename tui/tuiDisassem.c.
* tui/tui-disasm.h: Rename tui/tuiDisassem.h.
* tui/tui-io.c: Rename tui/tuiIO.c.
* tui/tui-io.h: Rename tui/tuiIO.h.
* tui/tui-layout.c: Rename tui/tuiLayout.c.
* tui/tui-layout.h: Rename tui/tuiLayout.h.
* tui/tui-regs.c: Rename tui/tuiRegs.c.
* tui/tui-regs.h: Rename tui/tuiRegs.h.
* tui/tui-source.c: Rename tui/tuiSource.c.
* tui/tui-source.h: Rename tui/tuiSource.h.
* tui/tui-stack.c: Rename tui/tuiStack.c.
* tui/tui-stack.h: Rename tui/tuiStack.h.
* tui/tui-win.c: Rename tui/tuiWin.c.
* tui/tui-win.h: Rename tui/tuiWin.h.
* tui/tui-windata.c: Rename tui/tuiDataWin.c.
* tui/tui-windata.h: Rename tui/tuiDataWin.h.
* tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
* tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
* tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
* tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
* tui/tui-file.c: Update includes.
* tui/tui-hooks.c: Update includes.
* tui/tui-interp.c: Update includes.
* tui/tui.c: Update includes.
* Makefile.in: Update all tui/ dependencies.
(SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.

20 years ago2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 19 Jan 2004 04:06:42 +0000 (04:06 +0000)]
2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 03:51:12 +0000 (03:51 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Update copyright.  Update dependencies.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 02:58:48 +0000 (02:58 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
problem.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 02:50:15 +0000 (02:50 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
instead of register_gdbarch_init.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 01:20:12 +0000 (01:20 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* remote-sds.c (tohex): Delete unused function.  Update copyright.
* xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
* v850-tdep.c (v850_register_virtual_size): Ditto.
* target.c (normal_target_post_startup_inferior): Ditto.
* source.c (ambiguous_line_spec): Ditto.
* remote.c (adapt_remote_get_threadinfo): Ditto.
* mi/mi-out.c (out_field_fmt): Ditto.
* mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
(output_control_change_notification): Ditto.
* m68k-tdep.c (m68k_register_byte): Ditto.
(m68k_remote_breakpoint_from_pc): Ditto.
* ui-out.c (init_ui_out_state): Delete unused declaration.
* stabsread.c (search_value): Ditto.
* mi/mi-cmd-env.c (env_cli_command): Ditto.
* maint.c (print_section_table): Ditto.
* infrun.c (set_follow_fork_mode_command): Ditto.

20 years ago*** empty log message ***
gdbadmin [Mon, 19 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
Jakub Jelinek [Sun, 18 Jan 2004 23:47:03 +0000 (23:47 +0000)]
* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
precision operands.

20 years ago* sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args.
Jakub Jelinek [Sun, 18 Jan 2004 23:46:32 +0000 (23:46 +0000)]
* sparc-opc.c (sparc_opcodes) <f[dsq]tox, fxto[dsq]>: Fix args.

20 years ago * ld-i386/tlsbin.dd: Adjust for changed sib printing.
Alan Modra [Sun, 18 Jan 2004 23:14:13 +0000 (23:14 +0000)]
* ld-i386/tlsbin.dd: Adjust for changed sib printing.

20 years ago * gas/i386/katmai.d: Adjust for changed sib printing.
Alan Modra [Sun, 18 Jan 2004 23:13:35 +0000 (23:13 +0000)]
* gas/i386/katmai.d: Adjust for changed sib printing.
* gas/i386/prescott.d: Likewise.
* gas/i386/sse2.d: Likewise.
* gas/i386/ssemmx2.d: Likewise.

20 years ago * i386-dis.c (OP_E): Print scale factor on intel mode sib when not
Alan Modra [Sun, 18 Jan 2004 23:12:47 +0000 (23:12 +0000)]
* i386-dis.c (OP_E): Print scale factor on intel mode sib when not
1.  Don't print scale factor on AT&T mode when index missing.

20 years agodaily update
Alan Modra [Sun, 18 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
Mark Kettenis [Sun, 18 Jan 2004 21:22:50 +0000 (21:22 +0000)]
* dwarf2-frame.c (execute_cfa_program): Move DWA_CFA_nop before
DW_CFA_def_cfa_exporession.  Add support for
DW_CFA_offset_extendend_sf, DW_CFA_def_cfa_sf and
DW_CFA_def_cfa_offset_sf.  This should fix PR backtrace/1391.

20 years ago* gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
Mark Kettenis [Sun, 18 Jan 2004 21:17:57 +0000 (21:17 +0000)]
* gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
used with gdb_test_multiple.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 18 Jan 2004 19:26:51 +0000 (19:26 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* ocd.c: Update copyright.
(bdm_read_register_command): Delete unused function.
(_initialize_remote_ocd): Delete commented out reference.
(get_quoted_char, reset_packet): Delete #if0ed function.
(output_packet, put_quoted_char): Delete #if0ed function.
(stu_put_packet, stu_get_packet): Delete #if0ed function.
(ocd_start_remote): Delete #if0ed code, remove #if1 wrapper.
(BDM_BREAKPOINT): Delete #if0ed macro.
(remote_timeout): Delete #if0ed variable.

20 years ago* gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
Mark Kettenis [Sun, 18 Jan 2004 16:35:11 +0000 (16:35 +0000)]
* gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
read at address 0.  This fixes PR testsuite/1504.

20 years ago * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
Daniel Jacobowitz [Sun, 18 Jan 2004 15:23:30 +0000 (15:23 +0000)]
* config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
Remove downloading, guessing the host executable, the calls to
gdb_file_cmd and gdb_target_cmd, and "load" support.
(infer_host_exec): New function broken out from gdb_load.
(gdb_load): New wrapper for gdbserver_gdb_load.
* lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
gdb_target_cmd.  Use -target-select.
(mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
Download binaries to the host.  Clear last_mi_remote_file when
we load a new binary.
(mi_gdb_load): Call mi_gdb_file_cmd.  If gdbserver.exp is loaded,
call gdbserver_gdb_load and mi_gdb_target_cmd.

20 years ago* simops.c: Include <sys/types.h>.
Mark Kettenis [Sun, 18 Jan 2004 14:56:40 +0000 (14:56 +0000)]
* simops.c: Include <sys/types.h>.

20 years ago* Makefile.in (ALLDEPFILES): Remove core-sol2.c.
Mark Kettenis [Sun, 18 Jan 2004 14:47:56 +0000 (14:47 +0000)]
* Makefile.in (ALLDEPFILES): Remove core-sol2.c.
(core-sol2.o): Remove dependency.
* core-sol2.c: Remove file.

20 years ago2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 18 Jan 2004 04:18:56 +0000 (04:18 +0000)]
2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
type patterns.

20 years ago2004-01-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 18 Jan 2004 03:42:28 +0000 (03:42 +0000)]
2004-01-17  Andrew Cagney  <cagney@redhat.com>

* mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
* block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
enums.

20 years ago * remote.c: Update copyright years.
Daniel Jacobowitz [Sun, 18 Jan 2004 03:38:32 +0000 (03:38 +0000)]
* remote.c: Update copyright years.

20 years ago * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.
Daniel Jacobowitz [Sun, 18 Jan 2004 03:37:03 +0000 (03:37 +0000)]
* remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf.

20 years ago2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sun, 18 Jan 2004 03:33:22 +0000 (03:33 +0000)]
2004-01-17  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/templates.exp: Fix typo in test name of
"print Foo<volatile char*>::foo".

20 years ago2004-01-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 18 Jan 2004 01:22:57 +0000 (01:22 +0000)]
2004-01-17  Andrew Cagney  <cagney@redhat.com>

* mdebugread.c: Update copyright.
(parse_symbol): Replace DEPRECATED_STREQ with strcmp.
(parse_type, parse_procedure): Ditto.
(parse_partial_symbols, psymtab_to_symtab_1): Ditto.

20 years ago2004-01-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 18 Jan 2004 00:01:32 +0000 (00:01 +0000)]
2004-01-17  Andrew Cagney  <cagney@redhat.com>

* cris-tdep.c (cris_store_struct_return): Put back accidently
deleted function.

20 years ago*** empty log message ***
gdbadmin [Sun, 18 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-01-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 17 Jan 2004 23:21:21 +0000 (23:21 +0000)]
2004-01-17  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Update copyright year.
* gdbarch.h, gdbarch.c: Re-generate.

20 years ago Suggested by George Anzinger.
Daniel Jacobowitz [Sat, 17 Jan 2004 23:09:29 +0000 (23:09 +0000)]
Suggested by George Anzinger.
* dwarf2expr.c (execute_stack_op): Fetch the second item from the
correct stack offset.  Include unknown opcode numbers in the error
message.

20 years agodaily update
Alan Modra [Sat, 17 Jan 2004 23:07:55 +0000 (23:07 +0000)]
daily update