aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-17 * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,Daniel Jacobowitz4-2/+117
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies. * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES. * sparc-linux-nat.c: New file, from Mark Kettenis.
2001-11-172001-11-16 Chris Demetriou <cgd@broadcom.cOm>Chris Demetriou4-0/+225
* gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test to test symbol plus offset relocations in various ways. * gas/mips/mips.exp: Run new test.
2001-11-17 * dwarf2read.c (dwarf_str_buffer): New.Jakub Jelinek2-30/+69
(struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size. (DWARF_STR_BUFFER, DWARF_STR_SIZE): Define. (dwarf2_has_info): Clear dwarf_str_offset. (dwarf2_build_psymtabs): Read .debug_str section if present. (dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and DWARF_STR_SIZE. (psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE. (read_attribute): Handle DW_FORM_strp. (read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8 handling code. (read_indirect_string): New. (dump_die): Handle DW_FORM_strp.
2001-11-17*** empty log message ***gdbadmin1-1/+1
2001-11-16daily updateAlan Modra1-1/+1
2001-11-16merge from gccDJ Delorie2-2/+8
2001-11-16* s390-tdep.c: Tweak argument-passing to match GCC bugs.Jim Blandy2-14/+85
(is_float_singleton, is_struct_like, is_float_like): New functions, that isolate the weirdness. (is_double_or_float, is_simple_arg, pass_by_copy_ref, is_double_arg): Use is_struct_like and is_float_like, rather than testing the type codes ourselves. (s390_push_arguments): When passing args on the stack, align each on to a four-byte boundary, regardless of what the type itself needs.
2001-11-162001-11-16 Ben Harris <bjh21@netbsd.org>Ben Harris2-3/+12
* Makefile.in (os9kread.o): Replace $< with autoconf-approved $(srcdir)/.... (procfs.o): Ditto. (z8k-tdep.o): Ditto.
2001-11-162001-11-16 Ben Harris <bjh21@netbsd.org>Ben Harris2-2/+8
* Makefile.in (armemu32.o): Replace $< with autoconf recommended $(srcdir)/.... (armemu26.o): Ditto.
2001-11-162001-11-16 Ben Harris <bjh21@netbsd.org>Ben Harris2-0/+5
* MAINTAINERS (write-after-approval): Add self.
2001-11-16 * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.Alan Modra2-2/+6
2001-11-162001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* config/tc-hppa.c (md_apply_fix3): Fix a typo.
2001-11-162001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* config/tc-alpha.c (md_apply_fix3): Fix a typo.
2001-11-16 * elflink.h (elf_reloc_symbol_deleted_p): Catch all relocs againstDaniel Jacobowitz2-2/+6
local syms from discarded sections. Update comment.
2001-11-16* s390-tdep.c (is_simple_arg): Structs and unions exactly eightJim Blandy2-2/+11
bytes long should be handled as DOUBLE_ARGs; don't recognize them as SIMPLE_ARGs.
2001-11-16*** empty log message ***gdbadmin1-1/+1
2001-11-15daily updateAlan Modra1-1/+1
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.