aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-01-26(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.Nick Clifton3-5/+15
(RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead of hard-coded test for TARGET_OS=elf.
2004-01-26merge from gccDJ Delorie3-5/+21
2004-01-26[ sim/ChangeLog ]Chris Demetriou8-5/+214
2004-01-26 Chris Demetriou <cgd@broadcom.com> * configure.in (mips*-*-*): Configure in testsuite. * configure: Regenerate. [ sim/testsuite/ChangeLog ] 2004-01-26 Chris Demetriou <cgd@broadcom.com> * sim/mips: New directory. Tests for the MIPS simulator. [ sim/testsuite/sim/mips/ChangeLog ] 2004-01-26 Chris Demetriou <cgd@broadcom.com> * basic.exp: New file. * testutils.inc: New file. * sanity.s: New file.
2004-01-26*** empty log message ***gdbadmin1-1/+1
2004-01-25daily updateAlan Modra1-1/+1
2004-01-25* infcmd.c (print_return_value): Plug memory leak; deleteMark Kettenis2-19/+23
ui_stream object. Rename argument `structure_return' to `struct_return'.
2004-01-25* infcmd.c (print_return_value): Wrap long lines.Mark Kettenis2-42/+50
(finish_command_continuation, finish_command): Remove unused variable `funcaddr'. Fix some coding-standards problems.
2004-01-25* sparc-tdep.c (sparc_regset_from_core_section): Check whetherMark Kettenis2-4/+9
SECT_SIZE is large enough, not wheter it's exactly the right size. (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and TDEP->fpregset to zero.
2004-01-25Fix Typo.Mark Kettenis1-1/+1
2004-01-25* sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also sipply theMark Kettenis2-4/+15
floating-point registers for traditional NetBSD core files. (sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and TDEP->sizeof_fpregset here.
2004-01-25* sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.Mark Kettenis7-50/+254
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New function with code split out from sparc32nbsd_sigcontext_frame_cache. (sparc32nbsd_sigcontext_frame_cache): Use sparc32nbsd_sigcontext_saved_regs. (_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for OpenBSD. * sparcobsd-tdep.c: New file. * Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c. (sparcobsd-tdep.o): New dependency. * configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd. * config/sparc/obsd.mt: New file.
2004-01-25Fix typo.Mark Kettenis1-1/+1
2004-01-252004-01-24 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-9/+30
* config/tc-mips.c (hilo_interlocks): Change definition so that MIPS32, MIPS64 and later ISAs are included, along with the already-included machines. Update comments.
2004-01-252004-01-24 Chris Demetriou <cgd@broadcom.com>Chris Demetriou4-1/+12
* gas/mips/relax-swap1.s: Add extra space at end, so the disassembly will consistently have "..." at its end. * gas/mips/relax-swap2.s: Likewise. * gas/mips/relax-swap1-mips2.d: Expect "..." at end of disassembly.
2004-01-25daily updateAlan Modra1-1/+1
2004-01-25* sparc-tdep.c (sparc32_gdbarch_init): Don't requireMark Kettenis2-1/+7
TDEP->fpregset to be initialized to enable core file register sets.
2004-01-25*** empty log message ***gdbadmin1-1/+1
2004-01-24* sparc64-tdep.h (stryct_frame_info, struct trad_frame_saved_reg):Mark Kettenis7-49/+301
Add opaque declarations. (sparc64nbsd_sigcontext_saved_regs): New prototype. * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New function with code split out from sparc64nbsd_sigcontext_frame_cache. (sparc64nbsd_sigcontext_frame_cache): Use sparc64nbsd_sigcontext_saved_regs. (_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for OpenBSD. * sparc64obsd-tdep.c: New file. * Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c. (sparc64obsd-tdep.o): New dependency. * configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and gdb_osabi to GDB_OSABI_OPENBSD_ELF. * config/sparc/obsd64.mt: New file.
2004-01-242004-01-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-185/+164
* lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler. * lib/compiler.cc: Likewise. * lib/gdb.exp (get_compiler_info): Always call gdb_compile to get the right preprocessor. Eval the output directly. Remove special tests for hp_cc_compiler and hp_aCC_compiler. Remove hp_f77_compiler and hp_f90_compiler completely. (gdb_preprocess): Delete. (get_compiler): Delete.
2004-01-24* sparc-tdep.c (sparc_fetch_instruction): Return zero if we can'tMark Kettenis2-1/+6
read the instruction at PC.
2004-01-24* sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on theMark Kettenis2-1/+21
value of GDB_OSABI_DEFAULT. (sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE instead of GDB_OSABI_NETBSD_AOUT.
2004-01-24* gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: IncludeMark Kettenis4-0/+10
<string.h>.
2004-01-24 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.Richard Sandiford1-5/+0
2004-01-24 * emulparams/elf64_ia64.sh: Put .rela.opd intoJakub Jelinek2-1/+6
OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
2004-01-24 * gdb.texinfo (KOD): Document "show os". Add index entries forEli Zaretskii2-4/+16
"set/show os" and "info cisco" commands.
2004-01-24Update copyright year.Nick Roberts4-4/+4
2004-01-24*** empty log message ***Nick Roberts2-0/+9
2004-01-24* Makefile.def (target_modules) [libiberty]: Don't stage.DJ Delorie3-23/+6
* Makefile.in: Rebuilt.
2004-01-24*** empty log message ***gdbadmin1-1/+1
2004-01-232004-01-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-47/+66
* printcmd.c (display_command): Replace tui_set_display call with tui_set_layout_for_display_command. * tui/tui.h (enum tui_win_type): Define. (tui_set_layout): Delete declaration. (tui_set_layout_for_display_command): Rename set_tui_layout. * tui/tui-data.h (enum tui_layout_type): Define. * tui/tui-layout.h: Update copyright. Include "tui-data.h" and "tui.h". (tui_add_win_to_layout): Rename tuiAddWinToLayout. (tui_default_win_height): Rename tuiDefaultWinHeight. (tui_default_win_viewport_height): Rename tuiDefaultWinViewportHeight. (tui_set_layout): RenametuiSetLayout. * tui/tui-layout.c: Update references. * tui/tui.c: Update references. * tui/tui-disasm.c: Update references.
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.