aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-22 * stack.c (print_block_frame_locals): Print spaces, not tabs.Tom Tromey5-21/+37
Update for call to print_variable_and_value. (print_frame_arg_vars): Update. * value.h (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. * printcmd.c (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. Use common_val_print. * f-valprint.c (info_common_command): Update.
2008-12-22 * python/python-value.c (valpy_length): Remove #if.Tom Tromey2-4/+4
2008-12-222008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>Tom Tromey2-0/+5
* python/python-internal.h (PyEval_ReleaseLock): New define.
2008-12-22gdbTom Tromey4-82/+139
* c-exp.y (ident_tokens): New global. (struct token) <cxx_only>: New field. (tokentab3): Update. (tokentab2): Update. (yylex): Use ident_tokens. gdb/testsuite * gdb.cp/punctuator.exp: New file.
2008-12-222008-12-22 Adam Denton <adenton@yahoo.com>Tom Tromey2-0/+6
PR gdb/8307: * environ.c (free_environ): Free e->vector.
2008-12-22gdb/Jan Kratochvil4-2/+31
Fix memory double-free. * completer.c (line_completion_function): Clear LIST after called xfree. gdb/testsuite/ * gdb.base/completion.exp (Completing non-existing component): New test.
2008-12-22 * breakpoint.c (update_watchpoint): Adjust and extend the descriptionJoel Brobecker2-7/+13
of this function. Fix one error message accordingly.
2008-12-22daily updateAlan Modra1-1/+1
2008-12-22*** empty log message ***gdbadmin1-1/+1
2008-12-21 * gas/cris/rd-dtpoffd1.d, gas/cris/rd-dtpoffd1.s: New test.Hans-Peter Nilsson3-0/+37
2008-12-21 * config/tc-cris.c (s_cris_dtpoff): New function.Hans-Peter Nilsson2-0/+31
(md_pseudo_table): Add "dtpoffd".
2008-12-21 Fix for PR gdb/8648.Jan Kratochvil5-14/+10
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c, gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test, gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test, gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2008-12-21gdb/Jan Kratochvil5-0/+110
Fix hw watchpoints created before the inferior was started. * breakpoint.c (update_watchpoint): Convert the bp_watchpoint and bp_hardware_watchpoint types according to the current runtime state. gdb/testsuite/ * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2008-12-21Add missing ChangeLog entries for my last commit.Ralf Wildenhues7-0/+34
2008-12-21*** empty log message ***gdbadmin1-1/+1
2008-12-21daily updateAlan Modra1-1/+1
2008-12-202008-12-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-12/+13
* config/tc-i386.c (parse_insn): Optimize ".s" handling.
2008-12-20gas/H.J. Lu21-7477/+8819
2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (_i386_insn): Add swap_operand. (parse_insn): Handle ".s". (match_template): Handle swap_operand. * doc/c-i386.texi: Document .s suffix. gas/testsuite/ 2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts, sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel, x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel. * gas/i386/opts.d: New. * gas/i386/opts-intel.d: Likewise. * gas/i386/opts.s: Likewise. * gas/i386/sse2avx-opts.d: Likewise. * gas/i386/sse2avx-opts-intel.d: Likewise. * gas/i386/x86-64-opts.d: Likewise. * gas/i386/x86-64-opts-intel.d: Likewise. * gas/i386/x86-64-opts.s: Likewise. * gas/i386/x86-64-sse2avx-opts.d: Likewise. * gas/i386/x86-64-sse2avx-opts-intel.d: Likewise. opcodes/ 2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (EbS): New. (EvS): Likewise. (EMS): Likewise. (EXqS): Likewise. (EXxS): Likewise. (b_swap_mode): Likewise. (v_swap_mode): Likewise. (q_swap_mode): Likewise. (x_swap_mode): Likewise. (v_mode): Updated. (w_mode): Likewise. (t_mode): Likewise. (xmm_mode): Likewise. (swap_operand): Likewise. (dis386): Use EbS on movB. Use EvS on moveS. (dis386_twobyte): Use EXxS on movapX. (prefix_table): Use EXxS on movups, movupd, movdqu, movdqa, vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq. (vex_table): Use EXxS on vmovapX. (vex_len_table): Use EXqS on vmovq. (intel_operand_size): Handle b_swap_mode, v_swap_mode, q_swap_mode and x_swap_mode. (OP_E_register): Handle b_swap_mode and v_swap_mode. (OP_EM): Handle v_swap_mode. (OP_EX): x_swap_mode and q_swap_mode. * i386-gen.c (opcode_modifiers): Add S. * i386-opc.h (S): New. (Modrm): Updated. (i386_opcode_modifier): Add s. * i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq, movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq. * i386-tbl.h: Regenerated.
2008-12-20 * ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,Hans-Peter Nilsson5-0/+96
ld-cris/tls-ie-8e1.d: New tests.
2008-12-20 * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE andHans-Peter Nilsson4-1/+14
decoration on double-indirect. * gas/cris/tls-err-1.s: Test :IE on wrong-size operand.
2008-12-20 * config/tc-cris.c (cris_process_instruction): HandleHans-Peter Nilsson2-0/+17
BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits. (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the "double indirect" addressing mode. (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE. (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
2008-12-20 * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.Hans-Peter Nilsson5-6/+43
(cris_reloc_map): Similarly. (cris_elf_relocate_section, cris_elf_gc_sweep_hook) (cris_elf_check_relocs): Handle R_CRIS_32_IE. * reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE. * bfd-in2.h, libbfd.h: Regenerate.
2008-12-20 * cris.h (R_CRIS_32_IE): New relocation.Hans-Peter Nilsson2-0/+9
2008-12-20*** empty log message ***gdbadmin1-1/+1
2008-12-20daily updateAlan Modra1-1/+1
2008-12-19*** empty log message ***gdbadmin1-1/+1
2008-12-19daily updateAlan Modra1-1/+1
2008-12-18gas/testsuite/H.J. Lu27-2742/+2814
2008-12-18 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/intel.d: Remove trailing white spaces after nop. * gas/i386/intelpic.d: Likewise. * gas/i386/nops16-1.d: Likewise. * gas/i386/nops-1-i686.d: Likewise. * gas/i386/nops-3.d: Likewise. * gas/i386/nops-3-i386.d: Likewise. * gas/i386/nops-3-i686.d: Likewise. * gas/i386/nops-4.d: Likewise. * gas/i386/nops-4-i386.d: Likewise. * gas/i386/nops-4-i686.d: Likewise. * gas/i386/opcode.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/reloc.d: Likewise. * gas/i386/tlsnopic.d: Likewise. * gas/i386/x86-64-nops-1.d: Likewise. * gas/i386/x86-64-nops-1-nocona.d: Likewise. * gas/i386/x86-64-nops-2.d: Likewise. * gas/i386/x86-64-nops-3.d: Likewise. * gas/i386/x86-64-nops-4-core2.d: Likewise. * gas/i386/x86-64-nops-4.d: Likewise. * gas/i386/x86-64-nops-4-k8.d: Likewise. * gas/i386/x86-64-opcode.d: Likewise. ld/testsuite/ 2008-12-18 H.J. Lu <hongjiu.lu@intel.com> * ld-i386/tlsld1.dd: Remove trailing white spaces after nop. opcodes/ 2008-12-18 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (mnemonicendp): New. (op): Likewise. (print_insn): Use mnemonicendp. (OP_3DNowSuffix): Likewise. (CMP_Fixup): Likewise. (CMPXCHG8B_Fixup): Likewise. (CRC32_Fixup): Likewise. (OP_DREX_FCMP): Likewise. (OP_DREX_ICMP): Likewise. (VZERO_Fixup): Likewise. (VCMP_Fixup): Likewise. (PCLMUL_Fixup): Likewise. (VPERMIL2_Fixup): Likewise. (MOVBE_Fixup): Likewise. (putop): Update mnemonicendp. (oappend): Use stpcpy. (simd_cmp_op): Changed to struct op. (vex_cmp_op): Likewise. (pclmul_op): Likewise. (vpermil2_op): Likewise.
2008-12-18 Backport link test fix from upstream Libtool:Ralf Wildenhues7-273/+370
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. compiler take precedence. binutils/ * configure: Regenerate. opcodes/ * configure: Regenerate. bfd/ * configure: Regenerate. gas/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate.
2008-12-18 * linux-nat.c (linux_child_follow_fork): If following the child,Pedro Alves3-5/+19
and not detaching the parent, also add the child fork to the fork list. * linux-fork.c (linux_fork_context): Remove dead error call. Assert that the incoming newfp argument is not null. Do not add a new fork for inferior_ptid. Assert that there is one already.
2008-12-18merge from gccDJ Delorie2-1/+21
2008-12-18 * config.sub, config.guess: Update from upstream sources.Ben Elliston3-6/+12
2008-12-18 * options.h (class General_options): Add --no case forIan Lance Taylor2-1/+7
--export-dynamic.
2008-12-18*** empty log message ***gdbadmin1-1/+1
2008-12-18daily updateAlan Modra1-1/+1
2008-12-172008-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+158
* COPYING.NEWLIB: Updated. * COPYING.LIBGLOSS: Ditto.
2008-12-17 (cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missingHans-Peter Nilsson2-1/+3
gate h != NULL for h->def_regular test.
2008-12-17 * ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: NewHans-Peter Nilsson4-0/+51
tests.
2008-12-17 * elf32-cris.c (elf_cris_copy_indirect_symbol): Return withoutHans-Peter Nilsson2-0/+10
action for symbols other than bfd_link_hash_indirect.
2008-12-17daily updateAlan Modra1-1/+1
2008-12-17*** empty log message ***gdbadmin1-1/+1
2008-12-16 * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transferCary Coutant5-20/+50
vector. (Plugin_manager::claim_file): Create plugin object even if plugin did not call the add_symbols callback. (Plugin_obj::get_symbol_resolution_info): Guard against plugin asking for more symbols than were added. * testsuite/Makefile.am (plugin_test_1): Add test case with no global symbols. (empty.syms): New target. * testsuite/Makefile.in: Regenerate. * testsuite/plugin_test.c (claim_file_hook): Add new debug message. Don't call add_symbols if no globals. (all_symbols_read_hook): Don't provide replacement for empty claimed file.
2008-12-162008-12-16 Christophe Lyon <christophe.lyon@st.com>Denis Pilat2-1/+11
* gdb.base/expand-psymtabs.c: Insert code in foo so that the compiler actually generate code at the expected line number.
2008-12-162008-12-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-4/+23
Sync with GCC: 2008-12-12 Sebastian Pop <sebastian.pop@amd.com> * configure.ac (ppllibs): Add by default the lib flags. * configure: Regenerate. 2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Add double brackets on darwin[912]. * configure: Regenerate. 2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Expand to darwin10 and later. * configure: Regenerate.
2008-12-162008-12-16 Tristan Gingold <gingold@adacore.com>Tristan Gingold10-92/+16
* inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags, set_sigio_trap, clear_sigio_trap definitions. * inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations. * inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap and clear_sigio_trap. * inf-ttrace.c (inf_ttrace_wait): Ditto. * linux-nat.c (linux_nat_wait): Ditto. * spu-linux-nat.c (spu_child_wait): Ditto. * rs6000-nat.c (rs6000_wait): Ditto. * target.c: Remove target_activity_function and target_activity_fd. * target.h: Remove target_activity_function and target_activity_fd declarations.
2008-12-16 * gdb.texinfo (Omissions from Ada): Add missing GDB prompt inJoel Brobecker2-14/+21
examples. (Additions to Ada): Likewise. Add the missing opening and closing parenthesis of the GDB prompt in one of the examples.
2008-12-162008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-0/+18
* dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and N_PSYM STABS values for 64-bit GDB.
2008-12-16*** empty log message ***gdbadmin1-1/+1
2008-12-16daily updateAlan Modra1-1/+1
2008-12-152008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-0/+15
* ppc-instructions, ppc-spr-table: Add ability to read tbrl and tbru special registers.