aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-232004-01-23 David Carlton <carlton@kealia.com>David Carlton19-25/+204
Partial workaround for PR c++/1511: * cp-namespace.c: Include frame.h. (cp_lookup_transparent_type): New (cp_lookup_transparent_type_loop): New. * cp-support.h: Declare cp_lookup_transparent_type. * symtab.c (basic_lookup_transparent_type): Renamed from lookup_transparent_type. (lookup_transparent_type): Replace old body by a call to current_language->la_lookup_transparent_type. * symtab.h: Update copyright. Declare basic_lookup_transparent_type. * language.h: Update copyright. (struct language_defn): Add la_lookup_transparent_type. * language.c: Update copyright. (unknown_language_defn): Add basic_lookup_transparent_type. (auto_language_defn): Add basic_lookup_transparent_type. (local_language_defn): Add basic_lookup_transparent_type. * ada-lang.c: Update copyright. (ada_language_defn): Add basic_lookup_transparent_type. * c-lang.c: Update copyright. (c_language_defn): Add basic_lookup_transparent_type. (cplus_language_defn): Add basic_lookup_transparent_type. (asm_language_defn): Add basic_lookup_transparent_type. (minimal_language_defn): Add basic_lookup_transparent_type. * f-lang.c: Update copyright. (f_language_defn): Add basic_lookup_transparent_type. * jv-lang.c: Update copyright. (java_language_defn): Add basic_lookup_transparent_type. * m2-lang.c: Update copyright. (m2_language_defn): Add basic_lookup_transparent_type. * objc-lang.c: Update copyright. (objc_language_defn): Add basic_lookup_transparent_type. * p-lang.c: Update copyright. (p_language_defn): Add basic_lookup_transparent_type. * scm-lang.c: Update copyright. (scm_language_defn): Add basic_lookup_transparent_type. * Makefile.in (cp-namespace.o): Depend on frame.h. 2004-01-23 David Carlton <carlton@kealia.com> * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add test for cp_lookup_transparent_type. * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to; call them.
2004-01-23daily updateAlan Modra1-1/+1
2004-01-23 * gdb.mi/mi-var-child.exp: Update copyright year. Move new testDaniel Jacobowitz2-5/+9
after -var-update.
2004-01-232004-01-23 David Carlton <carlton@kealia.com>David Carlton2-2/+68
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.
2004-01-23* avr-tdep.c: Update copyright.Theodore A. Roth2-13/+7
(avr_iaddr_p): Delete unused function. (avr_saddr_p): Delete unused function.
2004-01-232004-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+60
* COPYING.NEWLIB: Update to include copyrights for new iconv code.
2004-01-232004-01-23 David Carlton <carlton@kealia.com>David Carlton3-0/+18
* gdb.cp/namespace.cc (C::ensureRefs): New. * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2004-01-232004-01-23 David Carlton <carlton@kealia.com>David Carlton2-0/+6
* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab. Fix for PR symtab/1534.
2004-01-23 * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13Daniel Jacobowitz2-4/+10
change.
2004-01-23 * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,Daniel Jacobowitz5-0/+62
ld-arm/arm-app-abs32.d: New files. * ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.
2004-01-23 * config/tc-arm.c (tc_gen_reloc): Improve error message forDaniel Jacobowitz2-0/+15
undefined local labels.
2004-01-23 * gas/arm/arm.exp: Add "undefined" test.Daniel Jacobowitz4-0/+10
* gas/arm/undefined.s, gas/arm/undefined.l: New files.
2004-01-23 * config/tc-mips.c (load_address, macro): Update comments aboutRichard Sandiford2-6/+14
NewABI GP relaxation.
2004-01-23 * config/tc-mips.c (macro_build): Remove place and counter arguments.Richard Sandiford2-998/+744
(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.
2004-01-23 * gas/mips/macro-warn-[1234].[sdl]: New tests.Richard Sandiford17-0/+115
* gas/mips/macro-warn-[12]-n32.[dl]: New tests. * gas/mips/mips.exp: Run them.
2004-01-23 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.Richard Sandiford2-53/+157
(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.
2004-01-23 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.Richard Sandiford6-685/+574
* 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.
2004-01-23 * frags.h (frag_room): Declare.Richard Sandiford4-3/+19
* frags.c (frag_room): New function. * doc/internals.texi: Document it.
2004-01-23Tighten constaints on a few sparc instructionsNick Clifton1-0/+5
2004-01-23 * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if aBen Elliston2-0/+7
test passes.
2004-01-23*** empty log message ***gdbadmin1-1/+1
2004-01-22* NEWS (New native configurations): Mention OpenBSD/sparc andMark Kettenis6-0/+20
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.
2004-01-22daily updateAlan Modra1-1/+1
2004-01-22* sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.Mark Kettenis2-0/+17
(_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.
2004-01-22* ser-pipe.c (pipe_open): Use proper null pointer in execl call.Mark Kettenis3-3/+6
* cli/cli-cmds.c (shell_escape): Likewise.
2004-01-22* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): RecognizeMark Kettenis2-0/+14
OpenBSD .note.openbsd.ident sections.
2004-01-222004-01-22 David Carlton <carlton@kealia.com>David Carlton2-44/+80
* 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.
2004-01-22merge from gccDJ Delorie5-154/+715
2004-01-22*** empty log message ***gdb_6_2-branchpointgdb_6_1-branchpointgdbadmin1-1/+1
2004-01-21 * config/tc-mips.c (append_insn): Don't do r3900 interlockThiemo Seufer2-5/+10
optimization for -mtune=r3900, as this will break on other CPUs.
2004-01-21* osabi.c (MAX_NOTESZ): New define.Mark Kettenis2-68/+84
(check_note): New function. (generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using check_note.
2004-01-21daily updateAlan Modra1-1/+1
2004-01-21.Roland McGrath1-7/+11
2004-01-212004-01-21 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+2
* MAINTAINERS (write after approval): Add myself.
2004-01-21 * utils.c (init_page_info): Move declarations of `rows' andEli Zaretskii2-5/+14
`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.
2004-01-21 * Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir).Eli Zaretskii2-2/+6
2004-01-21 * infrun.c (handle_inferior_event): Check stop_stack_dummy if handlingPaul Brook2-1/+6
BPSTAT_WHAT_CHECK_SHLIBS.
2004-01-21 * MAINTAINERS: Add myself to write-after-approval.Paul Brook2-0/+5
2004-01-212004-01-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-309/+16
* 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.
2004-01-21Stop indexed move byte instructions from being relaxed.Nick Clifton11-22/+882
2004-01-212004-01-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-27/+15
* tui/tui-command.c: Update references. * tui/tui-io.c: Update references. * tui/tui-command.h: Update copyright. (tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.
2004-01-212004-01-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-8/+7
* 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.
2004-01-21*** empty log message ***gdbadmin1-1/+1
2004-01-20daily updateAlan Modra1-1/+1
2004-01-202004-01-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-60/+65
* 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.
2004-01-202004-01-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+8
* mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of sym2 to start of block.
2004-01-20 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.Danny Smith3-4/+20
* ld.texinfo (--omagic): Note that writable text section does not conform to published PE-COFF specs. (--enable-auto-import): Likewise.
2004-01-20 * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't removeDanny Smith2-5/+19
IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT flag has been cleared.
2004-01-20Update the copyright yearNick Clifton2-14/+18
2004-01-202004-01-19 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain16-750/+582
* 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.