aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-09mips: Switch inferior function calls to ON_STACK method.Joel Brobecker2-4/+41
This patch switches the mips code to use the ON_STACK method for function calls instead of AT_SYMBOL, which we want to remove. gdb/ChangeLog: * mips-tdep.c (mips_push_dummy_code): New function. (mips_gdbarch_init): Set the gdbarch call_dummy_location to ON_STACK and install mips_push_dummy_code as our gdbarch push_dummy_code routine.
2012-05-092012-05-09 Pedro Alves <palves@redhat.com>Pedro Alves2-7/+15
* target.c (set_maintenance_target_async_permitted): Rename to ... (set_target_async_command): ... this. (show_maintenance_target_async_permitted): Rename to ... (show_target_async_command): ... this. (initialize_targets): Adjust.
2012-05-09 * go-exp.y (classify_name): Add missing assignment of fields ofDoug Evans2-2/+13
yylval.ssym.
2012-05-09Added log for a change I made in binutils/MAINTAINERS.Sean Keys1-0/+4
2012-05-09Added my contact information to the maintainers section.Sean Keys1-0/+1
2012-05-09daily updateAlan Modra1-1/+1
2012-05-09*** empty log message ***gdbadmin1-1/+1
2012-05-08Display the ">" prompt in interactive mode while reading cannedEli Zaretskii4-2/+47
commands, even when the current interpreter is MI. interps.c (interp_set_temp): New function. interps.h (interp_set_temp): Add prototype. cli/cli-script.c (restore_interp): New cleanup function. (read_command_lines): Temporarily override the current interpreter with CLI and arrange for restoring the original one.
2012-05-08gold/Cary Coutant2-5/+14
* layout.cc (gdb_sections): Update GDB version, add .debug_addr. (lines_only_debug_sections): Likewise.
2012-05-08binutils/Cary Coutant3-4/+89
* doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options. (strip): Add --strip-dwo option. * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO. (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO. (strip_options): Add --strip-dwo option. (copy_options): Add --extract-dwo, --strip-dwo options. (copy_usage): Likewise. (strip_usage): Add --strip-dwo option. (is_dwo_section): New function. (is_strip_section_1): Check for DWO sections. (copy_object): Check for --strip-dwo, --extract-dwo options. (copy_relocations_in_section): Discard relocations for DWO sections. Discard entire relocation section when no relocations. (strip_main): Add --strip-dwo option. (copy_main): Add --strip-dwo, --extract-dwo options.
2012-05-082012-05-08 Ben Cheng <bccheng@google.com>Doug Kwan2-2/+13
* bfd/elf.c: Preserve the original p_align and p_flags if they are valid.
2012-05-082012-05-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+7
* microblaze-rom.c (_initialize_picobug_rom): Add prototype.
2012-05-08 * lib/gas-defs.exp (run_dump_test): Don't set LC_ALL here.Alan Modra2-10/+4
2012-05-08 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of otherAlan Modra9-6/+24
LC and LANG environment vars. * Makefile.in: Regenerate.
2012-05-08 * gdb.mi/mi-var-display.exp: Check for the existence of $fpMaciej W. Rozycki2-1/+10
before using it.
2012-05-082012-05-07 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior3-3/+12
* probe.c (parse_probes): Move conditional to check for debuginfo files from here... * stap-probe.c (stap_get_probes): ... to here.
2012-05-08daily updateAlan Modra1-1/+1
2012-05-08*** empty log message ***gdbadmin1-1/+1
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.