aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-07 H.J. Lu <hongjiu.lu@intel.com>Mark Kettenis2-9/+40
* amd64-tdep.c (amd64_analyze_prologue): Additionally check for `movl %esp, %ebp' for the X32 ABI.
2012-05-07 * dwarf2read.c (dwarf_tag_name): Return const char *. UseTom Tromey4-987/+57
get_DW_TAG_name. (dwarf_attr_name): Return const char *. Use get_DW_AT_name. (dwarf_form_name): Return const char *. Use get_DW_FORM_name. (dwarf_stack_op_name): Remove. (dwarf_cfi_name): Return const char *. Use get_DW_ATE_name. (decode_locdesc): Use get_DW_OP_name. * dwarf2loc.c (unimplemented): Use get_DW_OP_name. (dwarf2_compile_expr_to_ax): Likewise. (disassemble_dwarf_expression): Likewise. * dwarf2expr.h: (dwarf_stack_op_name): Remove.
2012-05-07 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.Tom Tromey2-289/+40
(get_FORM_name): Use get_DW_FORM_name. (get_AT_name): Use get_DW_AT_name.
2012-05-072012-05-07 Chung-Lin Tang <cltang@codesourcery.com>Chung-Lin Tang2-1/+130
* sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h. (sh_linux_sigtramp_cache): New function. (sh_linux_sigreturn_init): New function. (sh_linux_rt_sigreturn_init): New function. (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction patterns. (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn syscall codes. (sh_linux_sigreturn_tramp_frame): New tramp_frame definition. (sh_linux_rt_sigreturn_tramp_frame): Likewise. (sh_linux_init_abi): Add init calls to register new tramp_frame definitions under 32-bit SH, update comments.
2012-05-07Add PR number to ChangeLog entry.Pedro Alves1-0/+2
2012-05-07 Pedro Alves <palves@redhat.com> PR gdb/10952 * amd64-linux-tdep.c: Include glibc-tdep.h. (amd64_linux_init_abi): Install glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback.
2012-05-072012-05-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* pe-dll.c (udef_table): Make it static.
2012-05-072012-05-07 Pedro Alves <palves@redhat.com>Pedro Alves2-0/+10
* amd64-linux-tdep.c: Include glibc-tdep.h. (amd64_linux_init_abi): Install glibc_skip_solib_resolver as gdbarch_skip_solib_resolver callback.
2012-05-07 * elf64-ia64-vms.c (elf64_ia64_relocate_section): UpdateAlan Modra2-1/+6
RELOC_AGAINST_DISCARDED_SECTION invocation.
2012-05-07 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.Alan Modra6-4/+23
* Makefile.in: Regenerate.
2012-05-07 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Declare and useHans-Peter Nilsson2-3/+9
local variable i_ instead of assuming and using a variable i.
2012-05-07 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compoundMaciej W. Rozycki59-73/+200
relocations. * elfxx-mips.c (mips_reloc_against_discarded_section): New function. (_bfd_mips_elf_relocate_section): Call it, in place of RELOC_AGAINST_DISCARDED_SECTION. * elf-m10200.c (mn10200_elf_relocate_section): Update arguments to RELOC_AGAINST_DISCARDED_SECTION. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-arm.c (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Likewise. * elf32-bfin.c (bfin_relocate_section): Likewise. (bfinfdpic_relocate_section): Likewise. * elf32-cr16.c (elf32_cr16_relocate_section): Likewise. * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-crx.c (elf32_crx_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-epiphany.c (epiphany_elf_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. * elf32-lm32.c (lm32_elf_relocate_section): Likewise. * elf32-m32c.c (m32c_elf_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-mep.c (mep_elf_relocate_section): Likewise. * elf32-moxie.c (moxie_elf_relocate_section): Likewise. * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. * elf32-mt.c (mt_elf_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-rl78.c (rl78_elf_relocate_section): Likewise. * elf32-rx.c (rx_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-spu.c (spu_elf_relocate_section): Likewise. * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf32-vax.c (elf_vax_relocate_section): Likewise. * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. (elf64_alpha_relocate_section): Likewise. * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise.
2012-05-07daily updateAlan Modra1-1/+1
2012-05-07*** empty log message ***gdbadmin1-1/+1
2012-05-06gdb/Jan Kratochvil6-10/+39
* auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "". (show_auto_load_safe_path): Check any-directory by comparison with "/". (add_auto_load_safe_path): Change the error message. (_initialize_auto_load): Change the "safe-path" help text. * configure: Regenerate * configure.ac (--without-auto-load-safe-path): Set WITH_AUTO_LOAD_SAFE_PATH to /. gdb/doc/ * gdb.texinfo (Auto-loading safe path): Make 'directories' for 'set auto-load safe-path' optional. Mention if it is omitted. Change disabling security protection condition to "/", twice.
2012-05-062012-05-06 Arnold Metselaar <arnold_m@operamail.com>Arnold Metselaar6-0/+35
* gas/z80/jr-forwf.s: New file, adapted from z8k version. * gas/z80/jr-backf.s: Likewise. * gas/z80/djnz-backf.s: Likewise. * gas/z80/ill_op: New file, with illegal operand. * gas/z80/z80.exp: Run new tests.
2012-05-062012-05-06 Arnold Metselaar <arnold_m@operamail.com>Arnold Metselaar3-135/+183
* config/tc-z80.h(md_register_arithmetic): Define as 0. * config/tc-z80.c(md_begin): Store register names in symbol table, prevents usage as ordinary symbol. * config/tc-z80.c(contains_register): New function. * config/tc-z80.c(parse_exp2): Removed. * config/tc-z80.c(parse_exp_not_indexed): New function. * config/tc-z80.c(parse_exp): Add code to recogize indexed addressing after parsing. * config/tc-z80.c(emit_byte, emit_word): Use contains_register. * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify condition for jump to register. * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use parse_exp_not_indexed.
2012-05-06*** empty log message ***gdbadmin1-1/+1
2012-05-06daily updateAlan Modra1-1/+1
2012-05-05Add a testcase for PR ld/14052H.J. Lu3-0/+25
PR ld/14052 * ld-elf/pr14052.d: New file. * ld-elf/pr14052.t: Likewise.
2012-05-052012-05-05 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-2/+4
* stap-probe.h: Do not include unecessary `probe.h'.
2012-05-05 PR ld/14052Alan Modra6-19/+14
PR ld/13621 bfd/ * linker.c (_bfd_nearby_section): Revert 2012-02-13 change. ld/testsuite/ * ld-elf/warn2.d: Revert 2012-02-13 change. * ld-elf/zerosize1.d, ld-elf/zerosize1.s: Delete.
2012-05-05Regenerate.Alan Modra2-17/+15
2012-05-05Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_sectionAlan Modra35-129/+188
and bfd_ind_section with their _ptr variants, or use corresponding bfd_is_* macros.
2012-05-05daily updateAlan Modra1-1/+1
2012-05-05*** empty log message ***gdbadmin1-1/+1
2012-05-04Support x86_64-*-linux-gnux32H.J. Lu12-2/+40
gas/ * configure.tgt: Support x86_64-*-linux-gnux32. ld/ * configure.tgt: Support x86_64-*-linux-gnux32. ld/testsuite/ * ld-elf/eh1.d: Skip x86_64-*-linux-gnux32. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elfvsb/elfvsb.exp: Xfail x86_64-*-linux-gnux32. * ld-shared/shared.exp: Likewise. * ld-ifunc/ifunc-3a-x86.d: Support x86_64-*-linux-gnux32.
2012-05-04Add `instruction' to unsupported error messageH.J. Lu2-1/+6
* config/tc-i386.c (match_template): Add `instruction' to unsupported error message.
2012-05-04Reformat output_insnH.J. Lu2-1/+5
* config/tc-i386.c (output_insn): Reformat.
2012-05-04Fix typo in last gdb/ChangeLog entry.Joel Brobecker1-1/+1
2012-05-04MAINTAINERS: Add Chris Faylor in `Past Maintainers' section.Joel Brobecker2-0/+5
gdb/ChangeLog: * MAINTAINER (Past Maintainers): Add Chris Faylor.
2012-05-04Segment register reading on Windows targets.Joel Brobecker5-0/+64
This patch makes sure that the value of segment registers are read properly as 16bit values on Windows. gdb/ChangeLog: * windows-nat.h (segment_register_p_ftype): New typedef. (windows_set_segment_register_p): Add declaration. * windows-nat.c (segment_register_p): New static global. (windows_set_segment_register_p): New function. (do_windows_fetch_inferior_registers): Add special handling for segment registers. * amd64-windows-nat.c: #include "amd64-tdep.h". (amd64_windows_segment_register_p): New function. (_initialize_amd64_windows_nat): Call windows_set_segment_register_p. * i386-windows-nat.c: #include "i386-tdep.h". (i386_windows_segment_register_p): New function. (_initialize_i386_windows_nat): Call windows_set_segment_register_p.
2012-05-04Remove the extra VEX checkH.J. Lu2-2/+5
* config/tc-i386.c (output_insn): Remove the extra VEX check.
2012-05-04Improve unsupported error messageH.J. Lu2-2/+8
* config/tc-i386.c (match_template): Improve unsupported error message.
2012-05-042012-05-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-0/+47
* printcmd.c (set_command): Emit a warning if the expression is not an assignment. testsuite/ 2012-05-04 Tristan Gingold <gingold@adacore.com> * gdb.base/set-noassign.exp: New test.
2012-05-04*** empty log message ***gdbadmin1-1/+1
2012-05-04daily updateAlan Modra1-1/+1
2012-05-03not-procfs.c: Make procfs_find_new_threads and procfs_pid_to_str static.Joel Brobecker2-2/+7
gdb/ChangeLog: * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): Make static.
2012-05-032012-05-03 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior2-40/+68
* stap-probe.c (stap_is_operator): Change declaration. (stap_get_opcode): Change return value. (stap_parse_argument_1): Update calls to `stap_get_opcode' and `stap_parse_argument_1'.
2012-05-032012-05-03 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-1/+6
* infrun.c (displaced_step_fixup): Add "displaced:" prefix to debug log.
2012-05-03Add support for Motorola XGATE embedded CPUNick Clifton57-13/+3798
2012-05-03Add support for Motorola XGATE embedded CPUNick Clifton6-1/+928
2012-05-032012-05-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+11
* dwarf2.c (decode_line_info): Ignore DW_LNE_HP_source_file_correlation.
2012-05-032012-05-03 Siva Chandra Reddy <sivachandra@google.com>Siva Chandra Reddy8-0/+94
Add two new methods global_block and static_block to gdb.Symtab objects. * NEWS (Python scripting): Add entry about the new methods. * python/py-symtab.c (stpy_global_block): New function which implements the gdb.Symtab.global_block() method. (stpy_static_block): New function which implements the gdb.Symtab.static_block() method. (symtab_object_methods): Add entries for the two new methods. * testsuite/gdb.python/py-symbol.exp: Add tests to test the new methods gdb.Symtab.global_block() and gdb.Symtab.static_block(). * tessuite/gdb.python/py-symbol.c: Add new struct to help test gdb.Symtab.static_block(). * doc/gdb.texinfo (Symbol Tables In Python): Add documentation about the new methods global_block and static_block on gdb.Symtab objects.
2012-05-03 * gdb.dwarf2/pr13961.S: Add file and source location, but leaveDoug Evans2-0/+11
commented out.
2012-05-03* dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no files.Doug Evans2-1/+7
2012-05-03gdb/testsuite:Yao Qi6-52/+52
* gdb.base/catch-syscall.exp: Skip it before compilation if target doesn't support. * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
2012-05-03gdb/testsuite:Yao Qi2-0/+9
* gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
2012-05-03gdb:Yao Qi2-2/+8
* i386-tdep.c (i386_fetch_pointer_argument): Remove extra space. (i386_process_record): Ditto.
2012-05-03Make infcall.c:unwind_on_signal_p static.Joel Brobecker2-1/+5
gdb/ChangeLog: * infcall.c (unwind_on_signal_p): Make static.
2012-05-03*** empty log message ***gdbadmin1-1/+1