aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-152001-11-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+9
* emultempl/armelf.em (arm_elf_finish): Renamed from gld${EMULATION_NAME}_finish. (LDEMUL_FINISH): Set to arm_elf_finish.
2001-11-15* TODO (register_buffer): Delete.Andrew Cagney6-18/+48
* regcache.c (register_buffer): Make static. (regcache_collect): New function. * regcache.h (register_buffer): Delete declaration. (regcache_collect): Declare. * remote.c (store_register_using_P): Rewrite using regcache_collect. (remote_store_registers): Ditto. * go32-nat.c (store_register): Ditto.
2001-11-15gas/ChangeLogAlan Modra2-2/+5
* dwarf2dbg.c (get_frag_fix): Align last frag size.
2001-11-15Move global state variables to ``struct remote_state''.Andrew Cagney2-147/+237
2001-11-15* elf64-sparc.c (sparc64_elf_relocate_section): DisregardAlexandre Oliva2-0/+15
overflows in the .stab section.
2001-11-15* remote.c: Include "gdb_assert.h".Andrew Cagney2-6/+13
(tty_input): Wire buffer to 400 bytes. (readsocket): Check tty_input doesn't overflow. (build_remote_gdbarch_data, _initialize_remote): Don't multi-arch tty_input.
2001-11-152001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+9
* d10v-tdep.c (d10v_pointer_to_address): Use new type flag TYPE_FLAG_CODE_SPACE to recognize a pointer that has been cast into the instruction address space. * Makefile.in (doublest.o): Add dependency on gdbtypes.h.
2001-11-152001-11-13 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+795
* gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files. Tests for expressions using 'const' and 'volatile'.
2001-11-152001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder7-44/+240
Add address space identifiers to expression language for types. * c-exp.y (space_identifier, cv_with_space_id, const_or_volatile_or_space_identifier_noopt, const_or_volatile_or_space_identifier): New terminals. (ptype): Accept const_or_volatile_or_space_identifier. (typebase): Accept const_or_volatile_or_space_identifier. * c-typeprint.c (c_type_print_cv_qualifier): Rename to c_type_print_modifier. Handle address space modified types. * gdbtypes.h (TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE): New type flags. (struct type): Add new field as_type for addr-space qualified types. (TYPE_AS_TYPE): New macro, retrieves the chain of types that are identical to this one except for address-space qualification. * gdbtypes.c (alloc_type): Initialize new field 'as_type'. (address_space_name_to_int): New function. (address_space_int_to_name): New function. (make_type_with_address_space): New function. (make_cv_type): Handle as_type field of new struct type object. * parse.c (check_type_stack_depth): New function. (push_type_address_space): New function. (follow_types): Handle types with address-space qualifier. * parser-defs.h (enum type_pieces): Add enum tp_space_identifier.
2001-11-152001-11-11 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz13-3/+620
* bfd-in.h (bfd_elf32_discard_info): Add prototype. (bfd_elf64_discard_info): Likewise. * bfd-in2.h: Regenerate. * elf-bfd.h (struct elf_reloc_cookie): New. (struct elf_backend_data): Add elf_backend_discard_info, elf_backend_ignore_discarded_relocs, and elf_backend_write_section. (_bfd_elf32_reloc_symbol_deleted_p): Add prototype. (_bfd_elf64_reloc_symbol_deleted_p): Likewise. * elf32-mips.c (_bfd_elf32_mips_discard_info): New. (_bfd_elf32_mips_ignore_discarded_relocs): New. (_bfd_elf32_mips_write_section): New. (elf_backend_discard_info): Define. (elf_backend_ignore_discarded_relocs): Define. (elf_backend_write_section): Define. * elfcode.h (elf_bfd_discard_info): Define. (elf_reloc_symbol_deleted_p): Define. * elflink.h (elf_link_input_bfd): Check elf_section_ignore_discarded_relocs. Call bed->elf_backend_write_section if available. (elf_reloc_symbol_deleted_p): New. (elf_bfd_discard_info): New. (elf_section_ignore_discarded_relocs): New. * elfxx-target.h (elf_backend_discard_info): Define. (elf_backend_ignore_discarded_relocs): Define. (elf_backend_write_section): Define. (elfNN_bed): Add elf_backend_discard_info, elf_backend_ignore_discarded_relocs, and elf_backend_write_section. * libbfd-in.h (_bfd_discard_section_stabs): Add prototype. * libbfd.h: Regenerate. * stabs.c (_bfd_discard_section_stabs): New. 2001-11-11 Daniel Jacobowitz <drow@mvista.com> * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. (struct ld_emulation_xfer_struct): Use it.
2001-11-15 * binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.Geoffrey Keating2-0/+5
2001-11-15binutils/ChangeLogAlan Modra11-556/+895
* doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
2001-11-15*** empty log message ***gdbadmin1-1/+1
2001-11-14daily updateAlan Modra1-1/+1
2001-11-14* s390-tdep.c (s390_pop_frame_regular): On the S/390, the frameJim Blandy2-2/+9
pointer and the SP are often the same, so we can't pop the frame by setting the SP to the FP; we need to get the old SP from saved_regs.
2001-11-14* s390-tdep.c (s390_extract_return_value): Returned `float' valuesJim Blandy2-14/+5
can simply be copied bitwise from the registers into the value object's buffer.
2001-11-14* s390-tdep.c (s390_get_frame_info): Initialize SP's element ofJim Blandy2-0/+7
the frame's saved_regs array correctly.
2001-11-14* symfile.c (simple_read_overlay_table): Make sure we can findJim Blandy2-25/+35
both `_novlys' and `_ovly_table' before we try anything else; print a helpful error message. (simple_overlay_update): No need to print error message here.
2001-11-142001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley2-7/+58
* cgen-dis.c (count_decodable_bits): New function. (add_insn_to_hash_chain): New function. (hash_insn_array): Call add_insn_to_hash_chain. (hash_insn_list): Call add_insn_to_hash_chain.
2001-11-14when #size-cells is zero, don't expect a size.Andrew Cagney2-5/+17
2001-11-142001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley17-226/+739
* arch.c: Regenerate. * arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * cpux.c: Regenerate. * cpux.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * decodex.c: Regenerate. * decodex.h: Regenerate. * model.c: Regenerate. * modelx.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate. * semx-switch.c: Regenerate.
2001-11-142001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley11-215/+727
* arch.c: Regenerate. * arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate.
2001-11-142001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley3-2/+15
* m32r-dis.c: Regenerated. * fr30-dis.c: Regenerated.
2001-11-14 * elf32-s390.c (elf_s390_relocate_section): Use the "unresolved_reloc"Martin Schwidefsky3-86/+10
scheme to get rid of an ugly complicated test. * elf64-s390.c (elf_s390_relocate_section): Likewise.
2001-11-142001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* Makefile.in (doublest.o): Add dependency on gdbtypes.h.
2001-11-14Use frag_make_room() to grow the obstack.Nick Clifton2-0/+11
2001-11-14 * gdb.asm/asm-sources.exp: Allow defining linker flags.Corinna Vinschen2-1/+6
2001-11-14Do not remove the symbol's value from the addend for fixups against localNick Clifton2-15/+28
symbols in SEC_MERGE sections - it was not added in, in the first place.
2001-11-14 * cpu-i386.c (bfd_x86_64_arch_intel_syntax,bfd_x86_64_arch): UseAndreas Jaeger2-4/+9
x86-64 for display.
2001-11-14 * i386-dis.c (print_insn): Use x86-64 as option.Andreas Jaeger2-4/+8
2001-11-14 * doc/binutils.texi (objdump): Fix description to use x86-64.Andreas Jaeger2-2/+6
2001-11-14Replace use of mkstemp with mkstemps, provided by libiberty.Nick Clifton2-2/+10
2001-11-14Only scan tail of executable for PE targets.Nick Clifton2-9/+21
2001-11-14 * dwarf2.c (struct line_head) [total_length]: Change type toJakub Jelinek2-22/+121
bfd_vma. (struct dwarf2_debug): Add dwarf_str_buffer and dwarf_str_size. (struct comp_unit): Add stash and offset_size. (read_8_bytes): Return bfd_vma. (read_indirect_string): New. (read_attribute): Handle DW_FORM_strp. (decode_line_info): Support 64-bit DWARF format. (_bfd_dwarf2_find_nearest_line): Likewise. (parse_comp_unit): Set offset_size and stash.
2001-11-14* arm-tdep.c (arm_register_type): New function.Andrew Cagney3-60/+28
(arm_register_convertible): Delete. (arm_register_convert_to_virtual): Delete. (arm_register_convert_to_raw): Delete. * config/arm/tm-arm.h (REGISTER_CONVERTIBLE): Delete. (REGISTER_CONVERT_TO_VIRTUAL): Delete. (REGISTER_CONVERT_TO_RAW): Delete. (REGISTER_VIRTUAL_TYPE): Redefine as call to arm_register_type. (arm_register_type): Declare.
2001-11-142001-11-13 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb6-28/+65
Merged from net gcc: 2001-07-30 Jeff Sturm <jsturm@one-pont.com> * ltcf-c.sh: Use $objext, not $ac_objext. 2001-07-27 Mark Kettenis <kettenis@gnu.org> * ltcf-cxx.sh: Add support for GNU. 2001-07-22 Timothy Wall <twall@redhat.com> * ltcf-c.sh: Don't disable shared libraries for AIX5/IA64. Preserve default settings if using GNU tools with that configuration. * ltcf-cxx.sh: Ditto. * ltcf-gcj.sh: Ditto. 2001-07-21 Michael Chastain <chastain@redhat.com> * ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local. * ltmain.sh: Mark as gcc-local.
2001-11-142001-11-13 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-1/+6
* Makefile.in (all-bison): Revert 2001-10-24. Don't depend on texinfo.
2001-11-14binutils/ChangeLogAlan Modra7-81/+159
* doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
2001-11-14*** empty log message ***gdbadmin1-1/+1
2001-11-13 * dwarf2.c (read_attribute_value): New function to handleRichard Henderson2-8/+34
DW_FORM_indirect. (read_attribute): Use it.
2001-11-13 * readelf.c (read_and_display_attr_value): New function toRichard Henderson2-4/+30
handle DW_FORM_indirect. (read_and_display_attr): Use it.
2001-11-13daily updateAlan Modra1-1/+1
2001-11-13Index: bfd/ChangeLogGeoffrey Keating6-27/+86
2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.c (decode_line_info): Properly deal with unknown standard opcodes. Index: binutils/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * readelf.c (display_debug_lines): Deal with unknown standard opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin, DW_LNS_set_isa. Index: include/elf/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
2001-11-132001-11-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-1/+21
From Andrew Cagney <cagney@redhat.com>: * gdbtypes.h (builtin_type_int128, builtin_type_uint128): Declare. * gdbtypes.c (_initialize_gdbtypes, build_gdbtypes): Initialize new builtin types.
2001-11-132001-11-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+8
* gdb.c++/templates.exp (test_template_breakpoints): If we get an overload menu, but it does not match what we expect, we still need to issue the "cancel" command.
2001-11-13* gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Clarify.Jim Blandy2-23/+43
2001-11-132001-11-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-9/+12
* gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*", making the whitespace optional. Argument for "new" may be "unsigned" as well as "unsigned int/long".
2001-11-13 * emulparams/elf64hppa.sh (OTHER_BSS_END_SECTIONS): AddJeff Law2-1/+6
additional symbols referenced by newer crt0.o files from HP.
2001-11-13* s390-tdep.c: Rewrite inferior function call code. This mayJim Blandy2-98/+334
break zSeries support; that should be fixed soon. #include "gdb_assert.h". (is_integer_like, is_pointer_like, is_simple_arg, pass_by_copy_ref, extend_simple_arg, is_double_arg, round_up, round_down, alignment_of): New functions. (s390_push_arguments): Rewritten to handle passing large arguments by value, and to make more readable.
2001-11-13* s390-tdep.c (s390_pop_frame): Call generic_pop_current_frame, toJim Blandy2-9/+42
interact correctly with generic dummy frames. (s390_pop_frame_regular): Move the guts of the frame-popping code to here, to be called by generic_pop_current_frame. Use the frame's saved_regs array; this works for `return' as well as inferior function calls.