aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-22Fix changelogAndrew Cagney3-3/+24
2003-06-222003-06-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-9/+37
Problems reported by Joshua LeVasseur. * emul_chirp.c: Update copyright. (chirp_emul_nextprop): Return the first property. * hw_htab.c: Update copyright. (htab_decode_hash_table): Fix check for htab size.
2003-06-22 * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.Daniel Jacobowitz2-1/+9
2003-06-22 * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.Daniel Jacobowitz4-9/+21
* agentexpr.texi: Retitle section, and change it to an appendix. Comment out texinfo initialization. Factor a @var{} into two pieces to prevent makeinfo warnings. * gdb.texinfo: Add Agent Expressions appendix.
2003-06-22 * cli/cli-cmds.c (shell_escape): Silence warnings from oldDaniel Jacobowitz2-10/+16
compilers.
2003-06-222003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+6
* interrupts.c: Update copyright. (external_interrupt): Fix test for already pending interrupt. Problem found by Joshua LeVasseur.
2003-06-222003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+9
* ppc-instructions: Add missing +8 line. Found by blofeldus at yahoo.com.
2003-06-222003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+7
From Ian Lance Taylor <ian@airs.com>: * hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap second and third arguments.
2003-06-222003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* hw_com.c (hw_com_device_init_data): Check that the output, and not input file opened. Pointed out by masahino tky3.3web.ne.jp.
2003-06-22merge from gccDJ Delorie4-11/+43
2003-06-22 * lib/mi-support.exp (mi_run_cmd): Expect an MI response toDaniel Jacobowitz2-1/+6
000-exec-continue.
2003-06-22*** empty log message ***gdbadmin1-1/+1
2003-06-21 * c-valprint.c (c_value_print): Add VALUE_OFFSET to the addressDaniel Jacobowitz3-5/+16
argument of val_print. * cp-valprint.c (cp_print_value): Don't add the offset parameter to the address argument of baseclass_offset or target_read_memory. Do add it to the argument of cp_print_value_fields.
2003-06-212003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-178/+370
* mips-tdep.c: Include "reggroups.h" and "sim-regno.h". (mips_register_name): Return names for NUM_REGS..2*NUM_REGS instead of 0..NUM_REGS. (mips_register_reggroup_p): New function. (mips_pseudo_register_write): New function. (mips_pseudo_register_read): New function. (mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size based on the register's type. (read_next_frame_reg): Simplify. Assert that REGNO is a pseudo / cooked. (mips_get_saved_register): Simplify. Assert that REGNO is a pseudo / cooked. (mips_register_byte): New function. Use MIPS_REGISTER_BYTE. (mips_register_type): Replace mips_register_virtual_type. Map NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE when available. (read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert that the register is cooked / virtual. (mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC. Only get the extra info when needed. (set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well. (mips32_heuristic_proc_desc): Fetch the cooked register. (heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto. (mips_init_extra_frame_info, get_frame_pointer): Ditto. (mips_print_register): Use gdbarch_register_type, instead of REGISTER_VIRTUAL_TYPE. (print_gp_register_row): Use gdbarch_register_type, instead of REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM. (mips_print_registers_info): Assert REGNO is pseodo / cooked. Print the pseudo / cooked registers. (mips_print_registers_info): Assert REGNO is pseodo / cooked. Print the pseudo / cooked registers. (mips_xfer_register): Use regcache_cooked_read_part. Assert that REG_NUM is pseudo / cooked. (mips_o32_xfer_return_value): Xfer the pseudo / cooked register. (mips_n32n64_xfer_return_value): Ditto. (mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS. (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto. (mips_register_sim_regno): New function. (mips_gdbarch_init): Set deprecated_register_byte, register_group_p, pseudo_register_write, pseudo_register_read, register_sim_regno, and num_pseudo_regs. Set register_type, instead of register_virtual_type. * Makefile.in (mips-tdep.o): Update dependencies. * config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename REGISTER_VIRTUAL_TYPE. * config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto. * config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto. * config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE. * config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto. * config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.
2003-06-21 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): RemoveThiemo Seufer9-426/+440
special handling for n32 ABI. (macro): Likewise. * gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI. * gas/mips/elf-rel-xgot-n32.d: Likewise. * gas/mips/jal-newabi.d: Likewise. * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
2003-06-21 * Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)Daniel Jacobowitz3-2/+9
* cli/cli-cmds.c: Include "gdb_vfork.h". (shell_escape): Use vfork.
2003-06-212003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-17/+36
* mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling 32 bit floating-point register saves.
2003-06-212003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-38/+11
* frame.h (deprecated_unwind_get_saved_register): Delete. * frame.c (deprecated_unwind_get_saved_register): Delete function. * mips-tdep.c (mips_get_saved_register): Use frame_register_unwind and deprecated_get_next_frame_hack instead of deprecated_unwind_get_saved_register.
2003-06-212003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+3
* mips-tdep.c (mips_dump_tdep): Do not print REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE.
2003-06-212003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-3/+110
* frame.c (get_frame_register): New function. (frame_unwind_register_signed): New function. (get_frame_register_signed): New function. (frame_unwind_register_unsigned): New function. (get_frame_register_unsigned): New function. * frame.h: Add comments on naming schema. (get_frame_register, frame_unwind_register_signed): Declare. (get_frame_register_signed, get_frame_register_signed): Declare. (frame_unwind_register_unsigned): Declare. (get_frame_register_unsigned): Declare.
2003-06-21 * gas/z8k: New directory.Christian Groessler18-0/+1332
* gas/z8k/dec.s: New file. * gas/z8k/decbf.s: New file. * gas/z8k/decf.s: New file. * gas/z8k/eidi.s: New file. * gas/z8k/eidif.s: New file. * gas/z8k/inc.s: New file. * gas/z8k/incbf.s: New file. * gas/z8k/incf.s: New file. * gas/z8k/inout.d: New file. * gas/z8k/inout.s: New file. * gas/z8k/jr-back.s: New file. * gas/z8k/jr-backf.s: New file. * gas/z8k/jr-forw.s: New file. * gas/z8k/jr-forwf.s: New file. * gas/z8k/ldk.s: New file. * gas/z8k/ldkf.s: New file. * gas/z8k/z8k.exp: New file.
2003-06-21*** empty log message ***gdbadmin1-1/+1
2003-06-21daily updateAlan Modra1-1/+1
2003-06-20* avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.Theodore A. Roth2-1/+4
2003-06-202003-06-17 Doug Evans <dje@sebabeach.org>Frank Ch. Eigler3-3/+9
* cgen-trace.h (sim_disasm_read_memory): Update args to be compatible with disassemble_info:read_memory_func. * cgen-trace.c (sim_disasm_read_memory): Ditto.
2003-06-20* avr-tdep.c (avr_read_pc): Use regcache instead of read_register.Theodore A. Roth2-3/+11
(avr_read_sp): Ditto.
2003-06-20 * Makefile.in (SFILES): Update.Daniel Jacobowitz8-2577/+16
* low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c, low-sun3.c: Remove files.
2003-06-20 * config/arm/linux.mt: Remove code protected by GDBSERVER define.Daniel Jacobowitz16-131/+20
* config/arm/nm-linux.h: Likewise. * config/arm/tm-linux.h: Likewise. * config/ia64/nm-linux.h: Likewise. * config/ia64/tm-ia64.h: Likewise. * config/s390/tm-linux.h: Likewise. * config/s390/tm-s390.h: Likewise. * s390-nat.c: Likewise. * s390-tdep.c: Likewise. * config/i386/linux.mt: Don't set GDBSERVER_DEPFILES. * config/ia64/linux.mt: Likewise. * config/m68k/linux.mh: Likewise. * config/mips/linux.mt: Likewise. * config/powerpc/linux.mh: Likewise. * config/sh/linux.mt: Likewise.
2003-06-202003-06-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-64/+83
* sim_calls.c (sim_create_inferior): Assert that psim_write_register succeeded. (sim_fetch_register, sim_store_register): Make "regname" constant. Delete Altivec hack. Return result from psim_read_register / psim_write_register. * psim.h (psim_read_register, psim_write_register): Change return type to int. Update comments. * psim.c: Update copyright. (psim_stack): Assert that the psim_read_register worked. (psim_read_register, psim_read_register): Return the register's size. Allocate the cooked buffer dynamically. * hw_register.c: Update copyright. (do_register_init): Check that psim_write_register succeeded. * hw_init.c: Update copyright. (create_ppc_elf_stack_frame, create_ppc_aix_stack_frame): Assert that the register transfer worked.
2003-06-20 * elf64-ppc.c (struct ppc_link_hash_table): Add top_id.Alan Modra2-1/+15
(ppc64_elf_setup_section_lists): Set it. (ppc64_elf_relocate_section): Check sym section id against top_id. (ppc_build_one_stub): Comment on top_id.
2003-06-202003-06-19 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-8/+20
* solib.c (solib_open): Change tests for whether to search LD_LIBRARY_PATH and PATH to better deal with remotes. Update comments.
2003-06-20Add tic4x-*-rtems*.Nick Clifton2-1/+5
2003-06-20* avr-tdep.c (avr_frame_address): Delete function.Theodore A. Roth2-8/+6
(avr_gdbarch_init): Don't call set_gdbarch_frame_args_address, set_gdbarch_frame_args_address.
2003-06-20 * emultempl/ppc64elf.em: Convert to C90 function definitions, removeAlan Modra2-58/+25
unnecessary prototypes and casts.
2003-06-20 * elf64-ppc.c: Convert to C90 function definitions, remove unnecessaryAlan Modra3-643/+414
prototypes and casts. Replace PTR with void *. Format copyright. Mention ABI links. (struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt, sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt. (ppc_type_of_stub): Make r_type an enum. (ppc64_elf_size_stubs): Likewise. * elf64-ppc.h: Remove PARAMS macro.
2003-06-202003-06-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-20/+13
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete. (REGISTER_CONVERT_FROM_TYPE): Delete. (mips_register_convert_to_type): Delete declaration. (mips_register_convert_from_type): Delete declaration. * linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux kernel/.
2003-06-202003-06-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-95/+180
* ld-insn.h: Update copyright. (cache_fields): Define. (insn_table_fields): Add insn_field_6 and insn_field_7. (load_insn_table): Pass in the "cache_rules". * ld-insn.c: Update copyright. (load_insn_table): Add parameter "cache_rules". Handle "cache", "computed" and "scratch" fields. (main): Pass "cache_rules" to load_insn_table. * ld-cache.h: Update copyright. (append_cache_table): Declare. * ld-cache.c: Update copyright. (append_cache_table): New function. (load_cache_table): Call. * gen-model.c: Include "ld-cache.h". * gen-itable.c: Include "ld-cache.h". * igen.c: Move #include "ld-cache.h" to earlier. Update copyright. (main): Permit a NULL "cache_rules". Pass address of "cache_rules" to load_insn_table. * Makefile.in (tmp-ld-insn): Add "ld-cache.o". (tmp-igen): Do not include ppc-cache-rules. (gen-itable.o, gen-model.o): Add "ld-cache.h". * ppc-cache-rules: Delete file. * ppc-instructions: Add cache rules.
2003-06-20*** empty log message ***gdbadmin1-1/+1
2003-06-20daily updateAlan Modra1-1/+1
2003-06-192003-06-19 Michael Snyder <msnyder@redhat.com>Michael Snyder7-51/+99
* linux-nat.h: New file. * linux-nat.c: Include linux-nat.h. * lin-lwp.c: Include linux-nat.h. Move struct lwp_info def to linux-nat.h. * linux-proc.c: Include linux-nat.h. (linux_make_note_section): Iterate over lwps instead of threads. (linux_do_thread_registers): Use lwp instead of merged pid. * config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h. * Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o): Add dependency on linux_nat_h.
2003-06-19* avr-tdep.c (avr_extract_return_value): Delete debugging fprintf.Theodore A. Roth2-2/+4
2003-06-19 * varobj.c (get_type, get_target_type): Use check_typedef.Daniel Jacobowitz2-7/+10
2003-06-19merge from gccDJ Delorie5-10/+39
2003-06-19 * breakpoint.c (insert_catchpoint): Call internal_error.Daniel Jacobowitz2-1/+5
2003-06-19* avr-tdep.c (avr_push_dummy_code): Delete function.Theodore A. Roth2-11/+5
(avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code.
2003-06-192003-06-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-14/+39
* Makefile.in (ICACHE_CFLAGS, SEMANTICS_CFLAGS): Delete. (SIM_FPU_FLAGS): Define. (icache.o): Delete explicit compile command. (semantics.o, idecode.o): Delete explicit compile command. (NOWARN_CFLAGS, STD_CFLAGS): Append SIM_FPU_CFLAGS. * gen-support.c (gen_support_c): Generate #include of "sim-inline.h" and "sim-fpu.h", but conditional on HAVE_COMMON_FPU. * gen-idecode.c (gen_idecode_c): Ditto. * igen.c (gen_icache_c, gen_semantics_c): Wrap #include of "sim-inline.h" and "sim-fpu.h" in HAVE_COMMON_FPU conditional. Move to before "support.h". * Makefile.in, gen-support.c, gen-idecode.c, igen.c: Update copyright.
2003-06-19Revert 2003-06-11 change.Thiemo Seufer2-3/+8
2003-06-19 * elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init ofAlan Modra2-0/+12
elf hash tab fields.
2003-06-19 * arch-utils.c (default_prepare_to_proceed): Remove.Daniel Jacobowitz14-259/+78
(generic_prepare_to_proceed): Remove. * arch-utils.h (default_prepare_to_proceed): Remove prototype. (generic_prepare_to_proceed): Remove prototype. * gdbarch.sh (PREPARE_TO_PROCEED): Remove. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype. * hppah-nat.c (hppa_switched_threads): Remove. * infrun.c (prepare_to_proceed): New static function, copied from generic_prepare_to_proceed. Remove select_it argument. (proceed): Call prepare_to_proceed. * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove variables. (ptrace_wait): Don't set the removed variables. (hppa_switched_threads): Remove. * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove. * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define. (lin_lwp_prepare_to_proceed): Remove prototype. * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine. * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define.
2003-06-19 * gdbint.texinfo (Native Conditionals): Remove PREPARE_TO_PROCEED.Daniel Jacobowitz2-17/+4