aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-02-21Approved by nickc@redhat.com:Fred Fish2-2/+16
2005-02-21 Fred Fish <fnf@specifixinc.com> * dwarf2.c (find_abstract_instance_name): Call recursively to handle a DW_AT_specification.
2005-02-212005-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Andrew Cagney2-2/+7
* infptrace.c (store_register): Fix typo.
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-25/+35
* command.h (deprecated_add_set_cmd): Rename add_set_cmd. * cli/cli-decode.h (add_set_cmd): Delete declaration. * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd. * i386-nat.c (_initialize_i386_nat): Update call. * valprint.c (_initialize_valprint): Update comment. * gnu-nat.c (_initialize_gnu_nat): Update call.
2005-02-21 * elfxx-mips.c (ecoff_swap_rpdr_out, mips_elf_output_extsym,Thiemo Seufer2-87/+7
mips_elf_create_dynamic_relocation, _bfd_mips_elf_size_dynamic_sections, _bfd_mips_elf_final_link): Remove #if 0'd code.
2005-02-21 PR libgcj/10353Eric Botcazou3-82/+83
* configure.in (noconfigdirs) <sparc-*-solaris2.[0-6]>: Add libgcj. * configure: Regenerate.
2005-02-21 * config.in: Regenerate.Alan Modra3-108/+103
* configure: Regenerate.
2005-02-21 * Makefile.am (HFILES): Add itbl-lex.h.Alan Modra4-9/+14
(itbl-lex.o, itbl-parse.o): Depend on itbl-lex.h * Makefile.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate.
2005-02-21 * Makefile.am: Run "make dep-am"Alan Modra4-19/+23
* Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
2005-02-21 * Makefile.am: Run "make dep-am"Alan Modra3-16/+22
* Makefile.in: Regenerate.
2005-02-21bfd/Alan Modra5-8/+21
* Makefile.am: Run "make dep-am" * Makefile.in: Regenerate. bfd/doc/ * Makefile.in: Regenerate.
2005-02-21 * coffgen.c (bfd_coff_get_comdat_section): Check thatAlan Modra2-7/+9
coff_section_data isn't NULL.
2005-02-21 * elfread.c (elf_symtab_read): Discard section syms.Alan Modra2-1/+7
2005-02-21 * lib/ld-lib.exp (run_dump_test): Don't require a dump program ifAlan Modra2-81/+78
#warning given. Rearrange to allow $program to remain unset. Don't allow gas errors. Append objcopy_as_link output to that from the linker before testing against expected output. Fail the test if warning not found when expected. Conversely fail the test if ld errors or warnings given when not expected.
2005-02-21 * gas/d10v/instruction_packing-005.d: Adjust.Alan Modra24-73/+104
* gas/d10v/instruction_packing-008.d: Ignore disassembled stabs. * gas/d10v/instruction_packing-009.d: Likewise. * gas/d10v/instruction_packing-010.d: Likewise. * gas/d10v/warning-001.d: Use #warning instead of #error. * gas/d10v/warning-002.d: Likewise. * gas/d10v/warning-003.d: Likewise. * gas/d10v/warning-004.d: Likewise. * gas/d10v/warning-005.d: Likewise. * gas/d10v/warning-006.d: Likewise. * gas/d10v/warning-007.d: Likewise. * gas/d10v/warning-008.d: Likewise. * gas/d10v/warning-009.d: Likewise. * gas/d10v/warning-010.d: Likewise. * gas/d10v/warning-011.d: Likewise. * gas/d10v/warning-012.d: Likewise. * gas/d10v/warning-013.d: Likewise. * gas/d10v/warning-015.d: Likewise. * gas/d10v/warning-016.d: Likewise. * gas/d10v/warning-017.d: Likewise. * gas/d10v/warning-018.d: Likewise. * gas/d10v/warning-019.d: Likewise. * lib/gas-defs.exp (run_dump_test): Don't require a dump program if #warning given. Rearrange to allow $program to remain unset. Fail the test if warning not found when expected. Conversely fail the test if assembler errors or warnings given when not expected.
2005-02-21gas/Alan Modra6-2/+46
* read.c (address_bytes): New function. (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes. (potable): Add "dc.a". (cons_worker): Handle "dc.a". * doc/internals.texi (TC_ADDRESS_BYTES): Document. ld/testsuite/ * ld-elf/exclude1.s: Use ".dc.a". * ld-elfvsb/hidden2.s: Likewise.
2005-02-21 * ld-elf/warn1.d: Specify -Ttext.Alan Modra7-7/+49
* ld-scripts/align.exp (align2a, align2b: Don't run on aout targets. * ld-scripts/align2.t: Discard all but .text and .data. * ld-scripts/align2a.d: Accept non-readonly for coff. * ld-scripts/align2b.d: Likewise. * lib/ld-lib.exp (is_aout_format): New function.
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-109/+19
* cli/cli-decode.c (add_set_enum_cmd): Delete function. (deprecated_add_show_from_set): Delete function. * command.h (add_set_enum_cmd): Delete declaration. (deprecated_add_show_from_set): Delete declaration. * cli/cli-decode.h (add_set_enum_cmd): Delete declaration. (deprecated_add_show_from_set): Delete declaration. * arm-tdep.c (_initialize_arm_tdep): Update comment. * kod.c (kod_set_os): Simplify. * infrun.c (set_schedlock_func): Simplify. * cli/cli-dump.c (add_dump_command): Update comment.
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-27/+32
Replace string variables with a filename completer with add_setshow_optional_filename_cmd. * solib.c, symfile.c: Update. * cli/cli-setshow.c: Do not tidle expand the file.
2005-02-212005-02-21 Andrew Cagney <cagney@gnu.org>Andrew Cagney11-127/+146
Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd, and add_setshow_string_noescape_cmd. * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a NULL command's value. * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update. * remote-sds.c, remote.c, symfile.c, top.c: Update.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-206/+198
Use add_setshow_enum_cmd through out. * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update. * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-24/+33
* mi/mi-main.c (captured_mi_execute_command): Use mi_cmd_interpreter_exec.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-13/+63
* cli/cli-decode.c (add_setshow_optional_filename_cmd): New function. * cli/cli-setshow.c (deprecated_show_value_hack) (do_setshow_command): Handle var_optional_filename. * command.h (enum var_types): Add var_optional_filename. (add_setshow_optional_filename_cmd): Declare. * infcmd.c (notice_args_read): Use.
2005-02-21 * input-file.c (input_file_open): Rearrange to avoid warning.Alan Modra2-11/+20
2005-02-21 * readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.Alan Modra2-154/+179
(byte_get_little_endian): Don't handle size of -8. (byte_get_signed, byte_get_big_endian): Likewise. (print_dec_vma, print_hex_vma): New functions. (print_vma): Use them. Return chars output. (get_dynamic_data): Return a bfd_vma array. Add ent_size parm. (process_symbol_table): Handle alpha and s390 .hash.
2005-02-212005-02-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-11/+8
* symfile-mem.c (symbol_file_add_from_memory): Pass target_read_memory to bfd_elf_bfd_from_remote_memory. (do_target_read_memory): Delete.
2005-02-21*** empty log message ***gdbadmin1-1/+1
2005-02-20daily updateAlan Modra1-1/+1
2005-02-20include/Alan Modra42-410/+325
* xtensa-isa-internal.h (xtensa_length_decode_fn): Warning fix. * xtensa-isa.h (xtensa_insnbuf_to_chars): Likewise. (xtensa_insnbuf_from_chars, xtensa_isa_length_from_chars): Likewise. include/coff/ * xcoff.h (struct xcoff_loader_info): Warning fix. bfd/ * bfd-in.h (bfd_elf_bfd_from_remote_memory): Warning fix. * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Likewise. * coff-rs6000.c (xcoff_write_armap_big): Warning fixes. Remove useless assignments. (xcoff_write_archive_contents_big): Likewise. (_bfd_xcoff_put_ldsymbol_name): Likewise. * coff64-rs6000.c (_bfd_xcoff64_put_ldsymbol_name): Likewise. * coffgen.c (coff_write_symbols): Make "written" a bfd_vma. * cofflink.c (process_embedded_commands): Warning fixes. * cpu-arm.c: Delete unnecessary prototypes. Convert to C90. Warning fixes. * dwarf2.c: Warning fixes. * elf-bfd.h: Likewise. * elf-eh-frame.c: Likewise. * elf-strtab.c: Likewise. * elf.c: Likewise. * elf32-m68k.c: Likewise. * elf32-ppc.c: Likewise. * elf32-sh-symbian.c: Likewise. * elf32-sh.c: Delete unnecessary prototypes. Warning fixes. * elf64-sh64.c: Likewise. * peicode.h: Likewise. * elf64-mmix.c: Warning fixes. * elfcode.h: Likewise. * elfxx-mips.c: Likewise. * libbfd-in.h: Likewise. * libbfd.c: Likewise. * mach-o.c: Likewise. * merge.c: Likewise. * mmo.c: Likewise. * opncls.c: Likewise. * pef.c: Likewise. * srec.c: Likewise. * vms-hdr.c: Likewise. * vms-tir.c: Likewise. * xtensa-isa.c: Likewise. * xtensa-modules.c: Likewise. * xsym.c: Likewise. (pstrcmp): Use correct choice of string lengths. Fix return value. (bfd_sym_module_name): Correct string length. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
2005-02-20* value.h (value_contents_equal): New prototype.Mark Kettenis4-52/+65
* value.c (value_contents_equal): New function. * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't include <math.h>. (varobj_set_value): Initialize error to zero. (varobj_update): Rename error2 to error and initialize it to zero. Slightly change the wording of some comments. (my_value_equal): Reimplement using TRY_CATCH and value_contents_equal.
2005-02-20*** empty log message ***gdbadmin1-1/+1
2005-02-19daily updateAlan Modra1-1/+1
2005-02-19 * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.Alan Modra4-23/+11
* read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test. * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
2005-02-19*** empty log message ***gdbadmin1-1/+1
2005-02-18daily updateAlan Modra1-1/+1
2005-02-18 /gas/ChangeLogThiemo Seufer42-233/+243
* config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at uses after .set noat. (load_address): Likewise. (macro): Likewise. Don't try to avoid $at use by sacrificing the target register before it is stored, it won't work. /gas/testsuite/ChangeLog * gas/mips/noat-1.s, gas/mips/noat-1.d, gas/mips/noat-2.s, gas/mips/noat2.l, gas/mips/noat-3.s, gas/mips/noat-3.l, gas/mips/noat-4.s, gas/mips/noat-4.l, gas/mips/noat-5.s, gas/mips/noat-5.l, gas/mips/noat-6.s, gas/mips/noat-6.l, gas/mips/noat-7.s, gas/mips/noat-7.l: New files, testcases for .set noat in macro expansions. * gas/mips/mips.exp: Run new testcases. * gas/mips/rol-hw.d, gas/mips/rol-hw.l, gas/mips/rol.d, gas/mips/rol.l, gas/mips/rol.s, gas/mips/rol64-hw.d, gas/mips/rol64-hw.l, gas/mips/rol64.d, gas/mips/rol64.l, gas/mips/rol64.s, gas/mips/uld2-eb.d, gas/mips/uld2-el.d, gas/mips/uld2.l, gas/mips/uld2.s, gas/mips/ulh2-eb.d, gas/mips/ulh2-el.d, gas/mips/ulh2.l, gas/mips/ulh2.s, gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-eb.d, gas/mips/ulw2-el-ilocks.d, gas/mips/ulw2-el.d, gas/mips/ulw2.l, gas/mips/ulw2.s: Don't try to test .set noat.
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-11/+50
* cli/cli-decode.c (add_setshow_integer_cmd): New function. * command.h (add_setshow_integer_cmd): Declare. * cli/cli-cmds.c: Update.
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-48/+57
Use add_setshow_uinteger_cmd through out. * printcmd.c, source.c, utils.c, valprint.c: Update.
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney23-230/+269
Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh and gdbarch.c. * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update. * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update. * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update. * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update. * varobj.c, cli/cli-cmds.c: Update. * gdbarch.c, gdb-events.c: Regenerate.
2005-02-182005-02-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+9
* readelf.c (display_debug_loc): Print out offset for end of list.
2005-02-182005-02-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney25-357/+380
Use add_setshow_boolean_command through out. Delete #ifdef 0'ed code adding set/show boolean commands. * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update. * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update. * proc-api.c, remote-mips.c, remote.c, solib.c: Update. * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update. * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update. * cli/cli-cmds.c: Update.
2005-02-18 * Makefile.am (TOOL_PROGS): Add objdump.Joseph Myers3-2/+7
* Makefile.in: Regenerate.
2005-02-18Respect bundle directives.Jim Wilson2-1/+13
* config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we see an instruction that specifies a template.
2005-02-18 * ld-scripts/align2a.d: Don't assume anything about sectionAlan Modra3-8/+12
padding or alignment, or max page size. Allow 64-bit addresses. * ld-scripts/align2b.d: Likewise.
2005-02-18 * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.Alan Modra4-45/+9
* config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings. * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
2005-02-18*** empty log message ***gdbadmin1-1/+1
2005-02-17gas/H.J. Lu12-2/+113
2005-02-17 H.J. Lu <hongjiu.lu@intel.com> * NEWS: Mention "-mhint.b=[ok|warning|error]". * config/tc-ia64.c (md): Add hint_b. (emit_one_bundle): Handle md.hint_b for "hint". (md_parse_option): Accepted "-mhint.b=[ok|warning|error]". (md_show_usage): Add "-mhint.b=[ok|warning|error]". (ia64_init): Set md.hint_b to error. (md_assemble): Handle md.hint_b for "hint.b". * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]". * doc/c-ia64.texi: Likewise. gas/testsuite/ 2005-02-17 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/hint.b-err.l: New file. * gas/ia64/hint.b-err.s: Likewise. * gas/ia64/hint.b-warn.l: Likewise. * gas/ia64/hint.b-warn.s: Likewise. * gas/ia64/ia64.exp: Run hint.b-err and hint.b-warn. * gas/ia64/opc-b.d: Pass -mhint.b=ok to as.
2005-02-17daily updateAlan Modra1-1/+1
2005-02-17 * ldexp.c (assigning_to_dot): New global flag.Zack Weinberg11-8/+82
(fold_name): If assigning_to_dot is true, object immediately to an undefined symbol. (exp_fold_tree): Set and clear assigning_to_dot around the recursive call to exp_fold_tree to process the right-hand side of an assignment to the location counter. testsuite: * ld-scripts/align.exp: Rename existing "ALIGN" test to "align1". Add dump tests "align2a", "align2b", "align2c". * ld-scripts/align2.t, ld-scripts/align2a.s, ld-scripts/align2a.d * ld-scripts/align2b.s, ld-scripts/align2b.d * ld-scripts/align2c.s, ld-scripts/align2c.d: New files.
2005-02-172005-02-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-33/+43
* cli/cli-decode.c (add_setshow_filename_cmd): Set the completer to filename_completer. * solib.c (_initialize_solib, reload_shared_libraries): Use add_setshow_filename_cmd. * serial.c (_initialize_serial): Ditto. * remote-utils.c (_initialize_sr_support): Ditto.
2005-02-17bfd/ChangeLog:Alexandre Oliva30-93/+62
* elf32-frv.c (elf32_frv_relocate_section): Remove warning from uninitialized check_segment[1] in TLSMOFF case. Reported by Alan Modra. (elf32_frv_relocate_section): Improve errors and warnings. ld/testsuite/ChangeLog: * ld-frv/fdpic-static-6.d: Update. * ld-frv/fdpic*.d: Remove explicit -mfdpic from #as. Update spelling of errors and warnings.