summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* *** empty log message ***gdbadmin2008-07-191-1/+1
|
* daily updateAlan Modra2008-07-191-1/+1
|
* gdbTom Tromey2008-07-1815-77/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR gdb/855: * NEWS: Add entry for macro commands. * Makefile.in (macrocmd.o): Add gdb_string.h. * macroscope.h (user_macro_scope): Declare. (default_macro_scope): Update documentation. (macro_user_macros): Declare. * c-lang.c (c_preprocess_and_parse): Always attempt macro lookup. Use user_macro_scope. (null_macro_lookup): Remove. * macrotab.h (macro_callback_fn): Declare. (macro_for_each): Likewise. (macro_allow_redefinitions): Likewise. * macrotab.c (foreach_macro): New function (macro_for_each): Likewise. (struct macro_table) <redef_ok>: New field. (macro_allow_redefinitions): New function. (new_macro_table): Update. (macro_define_function): Likewise. (macro_define_object): Likewise. * macroscope.c (user_macro_scope): New function. (default_macro_scope): Use it. (macro_user_macros): New global. (standard_macro_lookup): Look in macro_user_macros. (_initialize_macroscope): New function. * macroexp.h (macro_is_whitespace, macro_is_digit, macro_is_identifier_nondigit): Declare. * macroexp.c (macro_is_whitespace): Rename. No longer static. (macro_is_digit): Likewise. (macro_is_identifier_nondigit): Likewise. (get_identifier): Update. (get_pp_number): Likewise. (get_token): Likewise. * macrocmd.c (skip_ws): New function. (extract_identifier): Likewise. (free_macro_definition_ptr): Likewise. (user_macros): Remove. (macro_define_command): Implement. (_initialize_macrocmd): Update. (macro_undef_command): Implement. (print_one_macro): New function. (macro_list_command): Implement. gdb/doc * gdb.texinfo (Macros): Update. Use @code rather than @command. gdb/testsuite * gdb.base/macscp.exp: Add macro tests.
* bfd:Joseph Myers2008-07-184-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add new parameter. * bfd-in2.h: Regenerate. * elf32-arm.c (struct elf_arm_obj_tdata): Add field no_wchar_size_warning. (bfd_elf32_arm_set_target_relocs): Add new parameter no_wchar_warn. (elf32_arm_merge_eabi_attributes): Give a warning, not an error, for conflicting wchar_t attributes. Do not warn if --no-wchar-size-warning. Make diagnostic text more specific. ld: * ld.texinfo (--no-wchar-size-warning): Document new ARM option. * emultempl/armelf.em (no_wchar_size_warning): New. (arm_elf_create_output_section_statements): Pass no_wchar_size_warning to arm_elf_create_output_section_statements. (OPTION_NO_WCHAR_SIZE_WARNING): New. (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning. (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning. (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning. ld/testsuite: * ld-arm/attr-merge-wchar-0.s,ld-arm/attr-merge-wchar-2.s, ld-arm/attr-merge-wchar-4.s, ld-arm/attr-merge-wchar-00-nowarn.d, ld-arm/attr-merge-wchar-00.d, ld-arm/attr-merge-wchar-02-nowarn.d, ld-arm/attr-merge-wchar-02.d, ld-arm/attr-merge-wchar-04-nowarn.d, ld-arm/attr-merge-wchar-04.d, ld-arm/attr-merge-wchar-20-nowarn.d, ld-arm/attr-merge-wchar-20.d, ld-arm/attr-merge-wchar-22-nowarn.d, ld-arm/attr-merge-wchar-22.d, ld-arm/attr-merge-wchar-24-nowarn.d, ld-arm/attr-merge-wchar-24.d, ld-arm/attr-merge-wchar-40-nowarn.d, ld-arm/attr-merge-wchar-40.d, ld-arm/attr-merge-wchar-42-nowarn.d, ld-arm/attr-merge-wchar-42.d, ld-arm/attr-merge-wchar-44-nowarn.d, ld-arm/attr-merge-wchar-44.d: New. * ld-arm/arm-elf.exp: Run new tests.
* * configure.ac: Put old value of $LIBS after -lbfd -liberty $intlJoseph Myers2008-07-183-2/+8
| | | | | in BFD ELF check. * configure: Regenerate.
* 2008-07-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-07-182-0/+13
| | | | | | PR ld/6748 * elf32-arm.c (elf32_arm_link_hash_table_create): Initialize new fields added for ARM long call support.
* * pe-arm-wince.c (pe_print_compressed_pdata): Define new function toNick Clifton2008-07-1840-52/+458
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | print compressed pdata structure as described on MSDN. This only applies to a limited set of architectures (ARM, SH4). (slurp_symtab, my_symbol_for_address): Define static helper functions for pe_print_compressed_pdata. * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field. (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define. * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on bfd_coff_backend_data, call the function if non-null. * pei-mcore.c: Add target dependent initialisation for bfd_coff_backend_data. * coff-sh.c: Likewise. * coff64-rs6000.c: Likewise. * coff-rs6000.c: Likewise. * libcoff-in.h: Likewise. * cf-i386lynx.c: Likewise. * coff-alpha.c: Likewise. * coff-apollo.c: Likewise. * coff-arm.c: Likewise. * coff-aux.c: Likewise. * coff-h8300.c: Likewise. * coff-h8500.c: Likewise. * coff-i386.c: Likewise. * coff-i860.c: Likewise. * coff-i960.c: Likewise. * coff-ia64.c: Likewise. * coff-m68k.c: Likewise. * coff-m88k.c: Likewise. * coff-maxq.c: Likewise. * coff-mips.c: Likewise. * coff-or32.c: Likewise. * coff-sparc.c: Likewise. * coff-tic30.c: Likewise. * coff-tic4x.c: Likewise. * coff-tic54x.c: Likewise. * coff-tic80.c: Likewise. * coff-w65.c: Likewise. * coff-we32k.c: Likewise. * coff-x86_64.c: Likewise. * coff-z80.c: Likewise. * coff-z8k.c: Likewise. * pe-mcore.c: Likewise. * pe-mips.c: Likewise. * pe-ppc.c: Likewise. * peXXigen.c: Likewise. * pei-ppc.c: Likewise. * libcoff.h: Regenerate.
* daily updatereverse-20080717-branchpointAlan Modra2008-07-181-1/+1
|
* *** empty log message ***gdbadmin2008-07-181-1/+1
|
* Fix for Linux/VDSO failure.Paul Pluzhnikov2008-07-172-2/+6
|
* Fix for failing gdb.base/auxv.exp on LinuxPaul Pluzhnikov2008-07-172-0/+6
|
* Fix for gdb.base/corefile.exp failure on LinuxPaul Pluzhnikov2008-07-172-1/+6
|
* daily updateAlan Modra2008-07-171-1/+1
|
* *** empty log message ***gdbadmin2008-07-171-1/+1
|
* * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,Bernd Schmidt2008-07-162-618/+624
| | | | | | | bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook, ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE, struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code separate from non-FD-PIC.
* daily updateAlan Modra2008-07-161-1/+1
|
* *** empty log message ***gdbadmin2008-07-161-1/+1
|
* Revert frame_unwind_caller_pc / frame_unwind_caller_id.Daniel Jacobowitz2008-07-1510-50/+20
|
* * valops.c (value_cast_pointers): Follow typedefs when checkingAndreas Schwab2008-07-152-397/+402
| | | | result of coercion.
* Fix for 'FAIL: gdb.cp/class2.exp: p acp->c2' on spu-elfPaul Pluzhnikov2008-07-152-2/+6
|
* * block.c (block_function): Renamed to ...Daniel Jacobowitz2008-07-156-10/+20
| | | | | | (block_linkage_function): ... this. All callers changed. * block.h (block_function): Renamed to ... (block_linkage_function): ... this.
* * frame.c (frame_unwind_id): Renamed to ...Daniel Jacobowitz2008-07-1510-20/+50
| | | | | | | | | | | | | | (frame_unwind_caller_id): ... this. All callers updated. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. All callers updated. * frame.h: Document frame_unwind_caller_WHAT functions. (frame_unwind_id): Renamed to ... (frame_unwind_caller_id): ... this. (frame_pc_unwind): Renamed to ... (frame_unwind_caller_pc): ... this. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Correct comment. * stack.c (parse_frame_specification_1): Do not rely on frame_unwind_id.
* * mn10300-tdep.c (set_reg_offsets): Use get_frame_register_unsigned.Daniel Jacobowitz2008-07-152-2/+6
|
* * frame.c (frame_sp_unwind): Delete.Daniel Jacobowitz2008-07-153-12/+12
| | | | | (get_frame_sp): Do not use it. * frame.h (frame_sp_unwind): Delete prototype.
* * elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflowDJ Delorie2008-07-152-9/+25
| | | | | | | checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16 relocs. (mn10300_elf_relax_section): Correct jump offset check when target is in a different section.
* * ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.Daniel Jacobowitz2008-07-152-1/+5
|
* Add missing ChangeLog entries forH.J. Lu2008-07-151-0/+12
| | | | http://sourceware.org/ml/binutils-cvs/2008-05/msg00092.html
* * dwarf2-frame.c (dwarf2_frame_cache): Update comment.Daniel Jacobowitz2008-07-155-42/+56
| | | | | | | | | * frame.c (frame_unwind_address_in_block): Delete. (get_frame_address_in_block): Do not use it. Check the type of the next frame first. (frame_cleanup_after_sniffer): Update comment. * frame.h (frame_unwind_address_in_block): Delete prototype. * hppa-tdep.c (hppa_find_unwind_entry_in_block): Update comment.
* * frame.c (frame_func_unwind): Delete.Daniel Jacobowitz2008-07-155-24/+24
| | | | | | | (get_frame_func): Do not use it. * frame.h (frame_func_unwind): Delete prototype. * hppa-tdep.c (hppa_frame_cache): Update comment. * rs6000-tdep.c (rs6000_frame_cache): Update comment.
* * remote-sim.c (init_gdbsim_ops): RemoveStan Shebs2008-07-152-4/+5
| | | | TARGET_REDEFINE_DEFAULT_OPS.
* * findvar.c (read_var_value): Remove unused variable.Daniel Jacobowitz2008-07-152-2/+4
|
* * infrun.c (handle_inferior_event): Tag threads as stoppedLuis Machado2008-07-152-23/+28
| | | | before inserting breakpoints.
* bfd/Jie Zhang2008-07-152-0/+14
| | | | | | | | * elf32-bfin.c (elf32_bfin_special_sections[]): New. (elf_backend_special_sections): Define. ld/ * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
* * MAINTAINERS: Added myself to section Write After Approval.Hui Zhu2008-07-152-0/+5
|
* *** empty log message ***gdbadmin2008-07-151-1/+1
|
* daily updateAlan Modra2008-07-151-1/+1
|
* * generic/gdbtk-stack.c (gdb_block_args): Remove deprecated valuesKeith Seitz2008-07-149-56/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | LOC_LOCAL_ARG, LOC_COMPUTED_ARG, LOC_REGPARM, LOC_BASEARG_ARG, and LOC_BASEARG. (gdb_get_blocks): Likewise. (gdb_get_vars_command): Likewise. Fix type-punned pointer error introduced on 03-07. * generic/gdbtk-cmds.c (gdbtk_load_asm): Use paddress instead of deprecated_print_address_numeric. (gdb_stop): Update use of target_stop. * generic/gdbtk.h (gdbtk_get_ptid): Declare new function. * generic/gdbtk-hooks.c (gdbtk_wait): Save inferior's ptid. (gdbtk_get_ptid): Define new function. * generic/gdbtk-varobj.c (variable_update): Update for recent varobj_update API change. * generic/gdbtk-wrapper.h (GDB_varobj_update): Likewise. * generic/gdbtk-wrapper.c (GDB_varobj_update): Likewise. (wrap_varobj_update): Likewise. * library/targetselection.itb (init_target_db): Initialize preferences here instead of ... (_init): ... here. (_init_prefs): Define gdb/load/default-portname, too.
* Fix for PR gdb/2477Paul Pluzhnikov2008-07-146-3/+37
|
* * i386-dicos-tdep.c (i386_dicos_frame_align): Delete.Pedro Alves2008-07-142-8/+22
| | | | | | (i386_dicos_push_dummy_code): New. (i386_dicos_init_abi): Don't register i386_dicos_frame_align. Register i386_dicos_push_dummy_code.
* * mips-tdep.c (fp_register_arg_p): Add gdbarch as paramter.Markus Deuling2008-07-145-106/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (mips_n32n64_push_dummy_call, mips_o64_return_value) (mips_eabi_push_dummy_call): Update call to fp_register_arg_p. (MIPS_FPU_TYPE): Add gdbarch as parameter and replace current_gdbarch. (fp_register_arg_p, mips_dump_tdep, show_mipsfpu_command) (mips_n32n64_fp_arg_chunk_p): Update caller. (mips_n32n64_fp_arg_chunk_p): Add gdbarch as paramter. (mips_n32n64_push_dummy_call): Update caller. (MIPS_LAST_ARG_REGNUM): Add gdbarch as parameter and replace current_gdbarch. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update caller. (MIPS_LAST_FP_ARG_REGNUM): Add gdbarch as parameter and replace current_gdbarch. (mips_eabi_push_dummy_call, mips_o32_push_dummy_call) (mips_o64_push_dummy_call): Update caller. (MIPS_EABI): Add gdbarch as parameter and replace current_gdbarch. (fp_register_arg_p, mips_dump_tdep): Update caller. (set_reg_offset): Add gdbarch as parameter and replace current_gdbarch. (mips16_scan_prologue, mips32_scan_prologue): Update caller. (reset_saved_regs): Make static. Add gdbarch as parameter. Replace current_gdbarch. (mips32_scan_prologue): Update caller. (heuristic_proc_start): Add gdbarch as parameter. Replace current_gdbarch. (mips_insn16_frame_cache, mips_insn32_frame_cache): Update caller. * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update call to getregs_supplies. (getregs_supplies): Add gdbarch as parameter and replace current_gdbarch. * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use get_frame_arch to get at the current architecture. Update call to NBSD_MIPS_JB_OFFSET and NBSD_MIPS_JB_ELEMENT_SIZE. (NBSD_MIPS_JB_ELEMENT_SIZE, NBSD_MIPS_JB_OFFSET): Add gdbarch and replace current_gdbarch. * remote-mips.c (mips_map_regno): Add gdbarch as parameter and replace current_gdbarch. (mips_fetch_registers, mips_store_registers): Update call to mips_map_regno. (mips_load): Use get_regcache_arch to get at the current_architecture and replace current_gdbarch.
* Mention "PR binutils/6743" in ChangeLog.H.J. Lu2008-07-141-0/+1
|
* 2008-07-13 Craig Silverstein <csilvers@google.com>Craig Silverstein2008-07-142-5/+20
| | | | | | * dwarf2.c (struct dwarf2_debug): New variable info_ptr_memory. (find_line): Use info_ptr_memory instead of sec_info_ptr. (_bfd_dwarf2_cleanup_debug_info): Likewise.
* *** empty log message ***gdbadmin2008-07-141-1/+1
|
* daily updateAlan Modra2008-07-141-1/+1
|
* * thread.c (restore_selected_frame): On fail to restore, selectPedro Alves2008-07-132-3/+11
| | | | the innermost frame, and don't crash when warning the user.
* * symtab.c (expand_line_sal): Fix a memory leak.Joel Brobecker2008-07-132-2/+6
|
* * gdb.base/randomize.exp: Catch non-Linux targets as untested.Jan Kratochvil2008-07-132-1/+9
|
* * utils.c (struct continuation): Define as inheriting structPedro Alves2008-07-132-12/+34
| | | | | | | | cleanup. (add_continuation, do_all_continuations) (discard_all_continuations, add_intermediate_continuation) (do_all_intermediate_continuations) (discard_all_intermediate_continuations): Adjust.
* Skip varobj in running threads.Vladimir Prus2008-07-133-3/+25
| | | | | | * mi/mi-cmd-var.c (mi_cmd_var_update): If varobj's thread is not stopped, skip the varobj. * Makefile.in: Update dependencies.
* Enable all MI commands while inferiour is runningVladimir Prus2008-07-132-17/+6
| | | | | * mi/mi-main.c (mi_cmd_execute): Don't check if inferiour is executing.