aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-24 * server.c (handle_v_run): Always use the supplied argument list.Daniel Jacobowitz2-16/+15
2008-11-24 Fix access of an already freed memory.Jan Kratochvil3-1/+13
* parse.c (parse_field_expression): Call xstrdup on `*name'. * completer.c (expression_completer): Free fieldname.
2008-11-24 PR gdb/2474Daniel Jacobowitz2-6/+50
* remote.c (remote_read_description_p): New function. (remote_start_remote): Try to fetch the target description before adding shared libraries. Try again later if the target is running but stopped. (remote_open_1): Mark extended targets as exited by default. (remote_read_description): Check target_has_execution.
2008-11-24 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): UseJerome Guitton2-1/+7
the frame address in block instead of the return address to locate the mdebug PDR of the frame.
2008-11-24 * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.Alan Modra2-0/+8
2008-11-24Fix typo last changeHans-Peter Nilsson1-1/+1
2008-11-24daily updateAlan Modra1-1/+1
2008-11-24*** empty log message ***gdbadmin1-1/+1
2008-11-23 * ld-cris/badgotr1.d: Robustify regexp.Hans-Peter Nilsson2-1/+5
2008-11-23daily updateAlan Modra1-1/+1
2008-11-23*** empty log message ***gdbadmin1-1/+1
2008-11-22 * gdb.texinfo (M68K Features): Fix typo.Vladimir Prus2-1/+5
2008-11-22 Remove the unused BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.Joel Brobecker4-31/+30
* breakpoint.h (enum bpstat_what_main_action): Remove BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. * breakpoint.c (bpstat_what): Delete catch_shlib_event from enum class. Remove the BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK column from variable table. * infrun.c (wait_for_inferior): Remove handling of BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.
2008-11-22*** empty log message ***gdbadmin1-1/+1
2008-11-22daily updateAlan Modra1-1/+1
2008-11-21 * configure: Rebuild.Tom Tromey3-5212/+55
* configure.ac: Merge calls to AC_CHECK_FUNCS, AC_CHECK_HEADERS, AC_CHECK_DECLS, and AC_CHECK_MEMBERS.
2008-11-212008-11-19 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2-1/+5
* MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.
2008-11-212008-11-21 Sterling Augustine <sterling@tensilica.com>Sterling Augustine7-5/+41
* xtensa-isa.c (xtensa_state_is_shared_or): New function. 2008-11-21 Sterling Augustine <sterling@tensilica.com> * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag. * xtensa-isa.h (xtensa_state_is_shared_or): New prototype. 2008-11-21 Sterling Augustine <sterling@tensilica.com> * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call xtensa_state_is_shared_or to allow multiple opcodes within a single FLIX bundle to write to these special states.
2008-11-21merge from gccDJ Delorie3-23/+18
2008-11-21 * python/python-internal.h (PyGILState_Ensure): New define.Tom Tromey4-2/+67
(PyGILState_Release): Likewise. (PyEval_InitThreads): Likewise. (PyThreadState_Swap): Likewise. (PyEval_InitThreads): Likewise. * python/python.c (_initialize_python): Initialize threads. Release GIL. (eval_python_from_control_command): Acquire GIL. (python_command): Likewise. * python/python-internal.h (make_cleanup_py_restore_gil): Declare. * python/python-utils.c (py_gil_restore): New function. (make_cleanup_py_restore_gil): Likewise.
2008-11-21(Chunk I forgot to commit on 2008-11-14).Tristan Gingold3-18/+23
2008-11-13 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update objects list. (CFLAGS): Update. (libiberty.olb): Remove alloca-conf.h dependency. * config.h-vms: Use new macro sets, use builtin alloca.
2008-11-21 * elf-bfd.h (struct elf_backend_data): New member got_elt_size.Hans-Peter Nilsson4-5/+46
(_bfd_elf_default_got_elt_size): Declare. * elflink.c (struct alloc_got_off_arg): Replace member got_elt_size by new member info. (elf_gc_allocate_got_offsets): Adjust for calling bed->got_elt_size to get the element size instead of using a gofarg entry. (bfd_elf_gc_common_finalize_got_offsets): Similar. (_bfd_elf_default_got_elt_size): New function. * elfxx-target.h: New macro elf_backend_got_elt_size. (elfNN_bed): Use it.
2008-11-21*** empty log message ***gdbadmin1-1/+1
2008-11-21daily updateAlan Modra1-1/+1
2008-11-20 * frame.c (frame_debug_got_null_frame): Remove file arg.Doug Evans2-8/+11
All callers updated.
2008-11-20* gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patternsAndreas Schwab3-334/+348
matching syscall entry point. * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow) (tcatch_vfork_then_child_follow): Likewise. Finish through vfork even if we stopped at the syscall trampoline.
2008-11-20 * infrun.c (resume): If following a fork, also reset regcache,Pedro Alves2-0/+11
gdbarch and pc.
2008-11-20 * printcmd.c (sym_info): Don't print the offset if it's zero.Doug Evans4-18/+40
* gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
2008-11-20 * infrun.c (resume): If following a fork, reread the currentPedro Alves2-2/+11
thread. Avoid dereferencing a possibly dangling pointer.
2008-11-202008-11-20 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+6
* bfdwin.c: Fix comment.
2008-11-202008-11-20 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-3/+7
* bfd.c (is32bit): Use architecture information for non-ELF targets.
2008-11-20 * elf32-ppc.c (allocate_dynrelocs): Always use tlsld_got forAlan Modra2-39/+50
TLS_LD even when symbol is used with other TLS reloc types. (ppc_elf_relocate_section): Bypass symbol checks when using tlsld_got. Leave addend zero on LD DTPMOD dynamic reloc.
2008-11-20Forgot to save entry before commit:Hans-Peter Nilsson1-0/+5
* config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL on symbols in TLS relocs.
2008-11-20 * inferior.h (proceed_to_finish): Delete, unused.Doug Evans3-9/+10
(stop_registers): Tweak comment. * infrun.c (stop_registers): Tweak comment.
2008-11-20daily updateAlan Modra1-1/+1
2008-11-20*** empty log message ***gdbadmin1-1/+1
2008-11-19 * frv-tdep.c (frv_skip_main_prologue): New function.Kevin Buettner3-3/+96
(frv_gdbarch_init): Register frv_skip_main_prologue. * solib-frv.c (fetch_loadmap): Return early when no segments are found. (frv_relocate_main_executable): Return early when both interpreter and executable loadmap addresses are zero.
2008-11-19gdb/Bob Wilson6-164/+138
* xtensa-config.c (rmap): Remove entries for ar32 through ar63. Add threadptr, scompare1, mmid, epc5, epc6, epc7, eps5, eps6, eps7, excsave5, excsave6, excsave7, cpenable, and vecbase registers. (xtensa_submask0, xtensa_submask1, xtensa_submask2) (xtensa_submask3, xtensa_submask4, xtensa_submask5, xtensa_submask6) (xtensa_submask7, xtensa_submask8, xtensa_submask9, xtensa_submask10) (xtensa_submask11, xtensa_submask12, xtensa_submask13, xtensa_submask14) (xtensa_submask15): Adjust register numbers. * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4. (xtensa_regmap_table): Add entry for scompare1. * regformats/reg-xtensa.dat: Remove ar32 through ar63. Add threadptr and scompare1. gdb/gdbserver/ * xtensa-xtregs.c (XTENSA_ELF_XTREG_SIZE): Change to 4. (xtensa_regmap_table): Add entry for scompare1.
2008-11-19include/Bob Wilson4-66/+1973
* xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32) (XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR) (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1. (XCHAL_NUM_AREGS): Change to 32. (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K. (XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32. (XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5. (XCHAL_DCACHE_IS_WRITEBACK): Change to 1. (XCHAL_DEBUGLEVEL): Change to 6. bfd/ * xtensa-modules.c (sysregs): Add MMID, VECBASE, EPC5, EPC6, EPC7, EXCSAVE5, EXCSAVE6, EXCSAVE7, EPS5, EPS6, EPS7, CPENABLE, SCOMPARE1, and THREADPTR registers. (NUM_SYSREGS, MAX_USER_REG): Update. (states): Change width of INTERRUPT, WindowBase, WindowStart, and INTENABLE. Add VECBASE, EPC5, EPC6, EPC7, EXCSAVE5, EXCSAVE6, EXCSAVE7, EPS6, EPS6, EPS7, THREADPTR, CPENABLE, and SCOMPARE1 states. (NUM_STATES): Update. (enum xtensa_state_id): Add entries for new states. (enum xtensa_field_id): Add entries for xt_wbr15_imm and xt_wbr18_imm fields, along with functions to extract and set them. (regfiles): Change number of AR registers to 32. (Operand_ar0_encode, Operand_ar4_encode, Operand_ar8_encode, Operand_ar12_encode, Operand_ars_entry_encode): Update register mask. (operands): Add entries for tp7, xt_wbr15_label, xt_wbr18_label, xt_wbr15_imm, and xt_wbr18_imm operands, along with functions to encode and decode them. (enum xtensa_operand_id): Add entries for new operands. (Iclass_xt_iclass_rfi_stateArgs): Add EPC5, EPC6, EPC7, EPS5, EPS6, and EPC7 states. (Iclass_xt_iclass_rfdo_stateArgs): Replace EPC4 and EPS4 by EPC6 and EPS6, respectively. (iclasses): Add entries for rur_threadptr, wur_threadptr, xt_iclass_wsr_176, xt_iclass_rsr_epc5, xt_iclass_wsr_epc5, xt_iclass_xsr_epc5, xt_iclass_rsr_excsave5, xt_iclass_wsr_excsave5, xt_iclass_xsr_excsave5, xt_iclass_rsr_epc6, xt_iclass_wsr_epc6, xt_iclass_xsr_epc6, xt_iclass_rsr_excsave6, xt_iclass_wsr_excsave6, xt_iclass_xsr_excsave6, xt_iclass_rsr_epc7, xt_iclass_wsr_epc7, xt_iclass_xsr_epc7, xt_iclass_rsr_excsave7, xt_iclass_wsr_excsave7, xt_iclass_xsr_excsave7, xt_iclass_rsr_eps5, xt_iclass_wsr_eps5, xt_iclass_xsr_eps5, xt_iclass_rsr_eps6, xt_iclass_wsr_eps6, xt_iclass_xsr_eps6, xt_iclass_rsr_eps7, xt_iclass_wsr_eps7, xt_iclass_xsr_eps7, xt_iclass_rsr_vecbase, xt_iclass_wsr_vecbase, xt_iclass_xsr_vecbase, xt_iclass_mul16, xt_iclass_wsr_mmid, xt_iclass_icache_lock, xt_iclass_dcache_lock, xt_iclass_rsr_cpenable, xt_iclass_wsr_cpenable, xt_iclass_xsr_cpenable, xt_iclass_clamp, xt_iclass_minmax, xt_iclass_sx, xt_iclass_l32ai, xt_iclass_s32ri, xt_iclass_s32c1i, xt_iclass_rsr_scompare1, xt_iclass_wsr_scompare1, xt_iclass_xsr_scompare1, xt_iclass_div, and xt_iclass_mul32, along with corresponding argument and state argument arrays. Change number of state arguments for xt_iclass_rfi. Add arguments for xt_iclass_rfdo. (enum xtensa_iclass_id): Add entries for new iclasses. (opcodes): Add entries for RUR_THREADPTR, WUR_THREADPTR, WSR_176, RSR_EPC5, WSR_EPC5, XSR_EPC5, RSR_EXCSAVE5, WSR_EXCSAVE5, XSR_EXCSAVE5, RSR_EPC6, WSR_EPC6, XSR_EPC6, RSR_EXCSAVE6, WSR_EXCSAVE6, XSR_EXCSAVE6, RSR_EPC7, WSR_EPC7, XSR_EPC7, RSR_EXCSAVE7, WSR_EXCSAVE7, XSR_EXCSAVE7, RSR_EPS5, WSR_EPS5, XSR_EPS5, RSR_EPS6, WSR_EPS6, XSR_EPS6, RSR_EPS7, WSR_EPS7, XSR_EPS7, RSR_VECBASE, WSR_VECBASE, XSR_VECBASE, MUL16U, MUL16S, WSR_MMID, IPFL, IHU, IIU, DPFL, DHU, DIU, RSR_CPENABLE, WSR_CPENABLE, XSR_CPENABLE, CLAMPS, MIN, MAX, MINU, MAXU, SEXT, L32AI, S32RI, S32C1I, RSR_SCOMPARE1, WSR_SCOMPARE1, XSR_SCOMPARE1, QUOU, QUOS, REMU, REMS, and MULL opcodes, along with the corresponding functions to encode them. (enum xtensa_opcode_id): Add entries for new opcodes. (Slot_inst_decode): Handle new opcodes. (Slot_inst_get_field_fns, Slot_inst_set_field_fns): Add entries for xt_wbr15_imm and xt_wbr18_imm fields. (Slot_inst16a_get_field_fns, Slot_inst16a_set_field_fns): Likewise. (Slot_inst16b_get_field_fns, Slot_inst16b_set_field_fns): Likewise. (xtensa_modules): Update number of fields, operands, iclasses and opcodes.
2008-11-19Change documentation license to FDL v1.3Nick Clifton15-708/+1212
2008-11-19 * remote.c (escape_buffer): New.Pedro Alves3-19/+84
(putpkt_binary, read_frame, getpkt_or_notif_sane_1): Use it. Make sure debug output printing a packet buffer goes through a single fprintf_unfiltered call. * utils.c (vfprintf_unfiltered): If outputting timestamps, end output with a newline if it wasn't going to already.
2008-11-19 * elf.c (swap_out_syms) [USE_STT_COMMON]: Fix syntax error.Nick Clifton2-2/+5
2008-11-19 PR 7027Nick Clifton2-0/+14
* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Treat WPLT30 relocs against local symbols in 64-bit binaries as if they were WDISP30 relocs. (_bfd_sparc_elf_relocate_section): Likewise.
2008-11-19 * gas/cris/rd-tls-1.d, gas/cris/rd-tls-1.s: Use a local threadHans-Peter Nilsson3-2/+14
variable instead of .text location for :GD decoration test.
2008-11-19 * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCALHans-Peter Nilsson1-7/+13
on symbols in TLS relocs.
2008-11-19daily updateAlan Modra1-1/+1
2008-11-19*** empty log message ***gdbadmin1-1/+1
2008-11-182008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-1/+5
* maint.c (maintenance_translate_address): Fix a buglet.
2008-11-18gdb/Thiago Jung Bauermann12-6/+777
* features/Makefile (rs6000/powerpc-isa205-32l-expedite, rs6000/powerpc-isa205-altivec32l-expedite, powerpc-isa205-vsx32l-expedite, rs6000/powerpc-isa205-64l-expedite, rs6000/powerpc-isa205-altivec64l-expedite, powerpc-isa205-vsx64l-expedite): New variables. * regformats/rs6000/powerpc-isa205-32l.dat: Generate. * regformats/rs6000/powerpc-isa205-altivec32l.dat: Generate. * regformats/rs6000/powerpc-isa205-vsx32l.dat: Generate. * regformats/rs6000/powerpc-isa205-64l.dat: Generate. * regformats/rs6000/powerpc-isa205-altivec64l.dat: Generate. * regformats/rs6000/powerpc-isa205-vsx64l.dat: Generate. gdbserver/ * Makefile.in (powerpc-isa205-32l.o, powerpc-isa205-32l.c, powerpc-isa205-altivec32l.o, powerpc-isa205-altivec32l.c, powerpc-isa205-vsx32l.o, powerpc-isa205-vsx32l.c, powerpc-isa205-64l.o, powerpc-isa205-64l.c, powerpc-isa205-altivec64l.o, powerpc-isa205-altivec64l.c, powerpc-isa205-vsx64l.o, powerpc-isa205-vsx64l.c): New targets. * configure.srv (powerpc*-*-linux*): Add ISA 2.05 object files and XML target descriptions. * linux-ppc-low.c (ppc_arch_setup): Init registers with 64-bit FPSCR when inferior is running on an ISA 2.05 or later processor. Add special case to return offset for full 64-bit slot of FPSCR when in 32-bits.
2008-11-18gdb/Thiago Jung Bauermann20-7/+1293
* ppc-linux-nat.c (ppc_register_u_addr): Add special case to return offset for full 64-bit slot of FPSCR when in 32-bits. (ppc_linux_read_description): Return target description with 64-bit FPSCR when inferior is running on an ISA 2.05 or later processor. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Call initialize_tdec_powerpc_isa205_32l, initialize_tdec_powerpc_isa205_altivec32l, initialize_tdec_powerpc_isa205_vsx32l, initialize_tdec_powerpc_isa205_64l, initialize_tdec_powerpc_isa205_altivec64l and initialize_tdec_powerpc_isa205_vsx64l. * ppc-linux-tdep.h: Add external declaration for tdesc_powerpc_isa205_32l, tdesc_powerpc_isa205_altivec32l, tdesc_powerpc_isa205_vsx32l, tdesc_powerpc_isa205_64l, tdesc_powerpc_isa205_altivec64l and tdesc_powerpc_isa205_vsx64l. * features/rs600/powerpc-fpu-isa205.xml: New file. * features/rs600/powerpc-isa205-32l.xml: New file. * features/rs600/powerpc-isa205-64l.xml: New file. * features/rs600/powerpc-isa205-altivec32l.xml: New file. * features/rs600/powerpc-isa205-altivec64l.xml: New file. * features/rs600/powerpc-isa205-vsx32l.xml: New file. * features/rs600/powerpc-isa205-vsx64l.xml: New file. * features/rs600/powerpc-isa205-32l.c: Generate. * features/rs600/powerpc-isa205-64l.c: Generate. * features/rs600/powerpc-isa205-altivec32l.c: Generate. * features/rs600/powerpc-isa205-altivec64l.c: Generate. * features/rs600/powerpc-isa205-vsx32l.c: Generate. * features/rs600/powerpc-isa205-vsx64l.c: Generate. gdb/testsuite/ * gdb.arch/ppc-dfp.exp: New file. * gdb.arch/ppc-dfp.c: New file.