aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-15Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.Nick Clifton72-1042/+833
2001-11-15* remote.c (struct packet_reg): Declare.Andrew Cagney2-59/+134
(struct remote_state): Add fields sizeof_g_packet and g_packet. (init_remote_state): Initialize sizeof_g_packet and g_packet. (free_remote_state): Free g_packet. (packet_reg_from_pnum, packet_reg_by_regnum): New functions. (remote_wait): Use above instead of gdbarch methods REGISTER_RAW_SIZE and REGISTER_BYTES. (remote_async_wait): Ditto. (remote_fetch_registers, remote_store_registers): Ditto. (store_register_using_P): Ditto.
2001-11-15Really zap tty_input from multi-arch swap.Andrew Cagney2-1/+5
2001-11-152001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* ld-sh/ld-r-1.d: Updated.
2001-11-15merge from gccDJ Delorie5-80/+158
2001-11-15Correctly handle phex(*,0) and phex_nz(*,0).Andrew Cagney2-2/+6
2001-11-15* utils.c (phex_nz): For default case, set str to phex_nz returnAndrew Cagney2-2/+10
value.
2001-11-15 * config/tc-i386.h (md_end): Define.Alan Modra3-15/+65
(i386_elf_emit_arch_note): Declare. (CpuUnknown): Delete. * config/tc-i386.c (default_arch): Constify. (smallest_imm_type): Remove CpuUnknown test. (md_assemble): Don't bother checking cpu_arch_flags non-zero. (i386_elf_emit_arch_note): New function.
2001-11-15 * common.h (NT_ARCH): Define. Remove incorrect comment.Alan Modra2-1/+5
2001-11-15 * readelf.c: Fix warnings without terminating newline.Andreas Schwab2-9/+13
2001-11-15 * binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.Alan Modra2-1/+5
2001-11-15 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit thisAlan Modra4-18/+54
function when LDEMUL_FINISH isn't set to the same name. Don't call ${LDEMUL_FINISH}. (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. * emultempl/armelf.em (arm_elf_finish): Call gld${EMULATION_NAME}_finish. * emultempl/hppaelf.em (hppaelf_finish): Rename to gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and hppaelf_layout_sections_again if necessary. (need_laying_out): New var. (hppaelf_layaout_sections_again): Rename to hppaelf_layout_sections_again. Clear need_laying_out. (PARSE_AND_LIST_OPTIONS): Format text.
2001-11-15 * po/POTFILES.in: Regenerate.Alan Modra4-0/+10
2001-11-15 * po/SRC-POTFILES.in: Regenerate.Alan Modra2-30/+36
2001-11-15 * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.Thiemo Seufer2-3/+7
2001-11-15 * elflink.h (elf_link_input_bfd): Complain about all relocsAlan Modra2-49/+50
against local syms from discarded sections. (elf_reloc_symbol_deleted_p): Don't try to swap in external syms.
2001-11-15revert last change.Alan Modra2-6/+2
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