aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-12 PR 7091Ian Lance Taylor2-4/+26
* target-reloc.h (Default_scan_relocatable_relocs): For each function, map r_type == 0 to RELOC_DISCARD.
2008-12-12 * remote.c (remote_detach_1): Don't delete the inferior here.Pedro Alves2-23/+24
(process_stop_reply): Ditto. (extended_remote_kill): Ditto.
2008-12-12 * remote.c (read_ptid): If we don't know about any inferior yet,Pedro Alves2-9/+14
use the pid of magic_null_ptid. (remote_start_remote): In the non-stop mode case, don't set inferior_ptid to magic_null_ptid here.
2008-12-12*** empty log message ***gdbadmin1-1/+1
2008-12-12daily updateAlan Modra1-1/+1
2008-12-11 * infcmd.c (step_1): Use step_once in the synchronous case too.Pedro Alves2-65/+52
(step_1_continuation): Wrap line. (step_once): Adjust comment. Only install the continuation in async mode.
2008-12-11 * infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED orPedro Alves6-5/+19
TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid. * linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target returned. * inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of minus_one_ptid if the inferior disappeared. * rs6000-nat.c (rs6000_wait): Likewise. * spu-linux-nat.c (spu_child_wait): Likewise.
2008-12-11gdbTom Tromey7-119/+158
PR macros/2564: * c-exp.y (macro_original_text, expansion_obstack, expression_macro_scope): New globals. (scan_macro_expansion): New function. (scanning_macro_expansion): Likewise. (finished_macro_expansion): Likewise. (scan_macro_cleanup): Likewise. (c_parse): Find macro scope. Initialize obstack. * c-lang.h (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. * c-lang.c (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. (macro_original_text, macro_expanded_text, c_preprocess_and_parse): Remove. (c_language_defn, cplus_language_defn, asm_language_defn, minimal_language_defn): Use c_parse. gdb/testsuite * gdb.base/macscp.exp: Print "address.addr". * gdb.base/macscp1.c (struct outer): New struct. (address): New global.
2008-12-11 PR 7041Alan Modra2-2/+8
* elf64-ppc.c (func_desc_adjust): Correct logic making fake function descriptors. Similarly correct making function descriptors dynamic.
2008-12-11*** empty log message ***gdbadmin1-1/+1
2008-12-11daily updateAlan Modra1-1/+1
2008-12-10merge from gccDJ Delorie4-0/+55
2008-12-10 * infcmd.c (until_next_command, finish_backward): Use get_frame_pcPedro Alves2-4/+11
instead of read_pc.
2008-12-10 * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacementCary Coutant2-0/+14
object to override a kept COMDAT group from a plugin object.
2008-12-10bfd/Alan Modra5-75/+136
* elf32-spu.h (struct spu_elf_params): Add num_regions. * elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NUM_REGIONS): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions. (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.
2008-12-10bfd/Alan Modra5-312/+341
* elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New. (spu_elf_setup): Declare. (spu_elf_create_sections, spu_elf_size_stubs): Update prototype. (spu_elf_build_stubs, spu_elf_check_vma): Likewise. * elf32-spu.c (struct spu_link_hash_table): Add "params". Remove various other fields now in "params". Adjust code throughout. (struct call_info, struct function_info): Move earlier in file. (struct spu_elf_stack_info): Likewise. (spu_elf_setup): New function. (spu_elf_create_sections): Remove args other than "info". (spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise. (maybe_needs_stubs): Remove "output_bfd" arg. Adjust all calls. (interesting_section): Similarly with "obfd" arg. (needs_ovl_stub): Adjust output_section test. (allocate_spuear_stubs): Likewise. (OVL_STUB_SIZE): Don't define. (ovl_stub_size): New function, use in place of OVL_STUB_SIZE. (build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE. (spu_elf_auto_overlay): Remove args other than "info". Make use of size returned from spu_elf_load_ovl_mgr. (spu_elf_stack_analysis): Remove args other than "info". (spu_elf_relocate_section): Tidy setting of "ea". ld/ * emultempl/spuelf.em (params): New var, used instead of various others. Adjust use throughout file. (spu_after_open): Call spu_elf_setup. (spu_place_special_section): Tidy. (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move code setting overlay section alignment to.. (spu_before_allocation): ..here.
2008-12-10 * elf32-spu.c (define_ovtab_symbol): Don't abort on symbolsAlan Modra2-12/+24
defined in linker scripts. (discover_functions): Consider STT_SECTION symbols too. (collect_lib_sections): Don't cut short call tree traversal when function size is too large.
2008-12-10gdbTom Tromey6-36/+114
PR gdb/1815: * cli/cli-decode.c (delete_cmd): Forward declare. (delete_cmd): Now static. Change return type. Remove command from alias chain. Rewrite. (add_cmd): Initialize new fields. Update cmd_pointer on all aliases. (add_alias_cmd): Put command on alias chain. * command.h (delete_cmd): Don't declare. * cli/cli-decode.h (delete_cmd): Don't declare. (struct cmd_list_element) <aliases, alias_chain>: New fields. gdb/testsuite * gdb.base/commands.exp (redefine_backtrace_test): New proc. Call it.
2008-12-10 * elf32-spu.c (find_function_stack_adjust): Don't limit numberAlan Modra2-12/+58
of insns scanned. Correct sp tests. Handle "fsmbi" and "andbi". (mark_detached_root): New function. (build_call_tree): Call it. (sort_calls): Don't do void* arithmetic.
2008-12-10daily updateAlan Modra1-1/+1
2008-12-10*** empty log message ***gdbadmin1-1/+1
2008-12-09bfdTom Tromey4-3/+12
* pef.c (bfd_pef_parse_traceback_table): Add parens to placate gcc 4.4. binutils * srconv.c (wr_hd): Add parens to placate gcc 4.4.
2008-12-09 * linux-low.h (struct process_info): Delete member tid, unused.Doug Evans3-3/+6
* thread-db.c (find_one_thread): Update. (maybe_attach_thread): Update.
2008-12-09 * config.in, configure: Rebuild.Tom Tromey5-4/+89
* configure.ac: Check for locale.h, setlocale. Call AM_LC_MESSAGES. * acinclude.m4: Include lcmessage.m4.
2008-12-09 * remote.c (remote_parse_stop_reply): Use REG only after its NULL check.Jan Kratochvil2-2/+6
2008-12-09 PR 7088Ian Lance Taylor2-0/+4
* yyscript.y (file_cmd): Handle INPUT.
2008-12-09 * testsuite/initpri1.c: Change all declarations to be fullIan Lance Taylor2-9/+14
prototypes by adding void, to avoid compiler warnings.
2008-12-092008-12-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+11
* cpu-avr.c (compatible): Makes avr-6 compatible only with itself.
2008-12-092008-12-09 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2-9/+67
* readelf.c (arm_attr_tag_CPU_arch): Add "v6-M" and "v6S-M". (arm_attr_tag_WMMX_arch): Add "WMMXv2". (arm_attr_tag_NEON_arch): Rename to ... (arm_attr_tag_Advanced_SIMD_arch): ... official name. (arm_attr_tag_ABI_PCS_config): Rename to ... (arm_attr_tag_PCS_config): ... official name. (arm_attr_tag_ABI_PCS_RO_DATA): Rename to ... (arm_attr_tag_ABI_PCS_RO_data): ... official name. (arm_attr_tag_ABI_FP_denormal): Add "Sign only". (arm_attr_tag_CPU_unaligned_access): New array. (arm_attr_tag_T2EE_use): New array. (arm_attr_tag_Virtualization_use): New array. (arm_attr_tag_MPextension_use): New array. (arm_attr_publ): NEON_arch -> Advanced_SIMD_arch. ABI_PCS_config -> PCS_config. ABI_PCS_RO_DATA -> ABI_PCS_RO_data. Add CPU_unaligned_access, nodefaults, also_compatible_with, T2EE_use, conformance, Virtualization_use and MPextension_use. (display_arm_attribute): Handle Tag_nodefaults and Tag_also_compatible_with.
2008-12-09*** empty log message ***gdbadmin1-1/+1
2008-12-09daily updateAlan Modra1-1/+1
2008-12-082008-12-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* i386-gen.c (opcode_modifiers): Move VexNDS before VexNDD.
2008-12-082008-12-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* config/tc-i386.c (build_modrm_byte): Remove an extra blank line.
2008-12-082008-12-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+4
* i386-dis.c (putop): Remove strayed comments.
2008-12-08 * python/python-value.c (values_in_python): Add specific initializationJoel Brobecker2-1/+8
to NULL to work-around a MacOS linker bug.
2008-12-08 Fix loc_type of `bp_location's created by update_watchpoint.Jan Kratochvil2-13/+20
* breakpoint.c (allocate_bp_location): Remove the bp_type parameter. Replace bp_type by bpt->type. Update prototype. All callers updated. (add_location_to_breakpoint): Remove the bp_type parameter. Replace bp_type by b->type. All callers updated. (set_breakpoint_location_function): Replace bptype by b->type.
2008-12-08daily updateAlan Modra1-1/+1
2008-12-08*** empty log message ***gdbadmin1-1/+1
2008-12-07 * breakpoint.c (update_global_location_list): Fix the comment.Jan Kratochvil2-1/+5
2008-12-07daily updateAlan Modra1-1/+1
2008-12-07*** empty log message ***gdbadmin1-1/+1
2008-12-06*** empty log message ***gdbadmin1-1/+1
2008-12-06daily updateAlan Modra1-1/+1
2008-12-05 * infcmd.c (step_1, step_once): Look up the stepping range basedPedro Alves2-4/+15
on the current frame's PC, not on stop_pc.
2008-12-052008-12-05 Rafael Avila de Espindola <espindola@google.com>Cary Coutant7-37/+80
* options.cc (General_options::parse_plugin_opt): New. (General_options::add_plugin): The argument now is just the filename. (General_options::add_plugin_option): New. * options.h (plugin_opt): New. (add_plugin): Change argument name. (add_plugin_option): New. * plugin.cc (Plugin::load): Don't parse the plugin option. * plugin.h (Plugin::Plugin): Rename argument. Init filename_. (Plugin::add_option): New. (Plugin::args_): Change type. (Plugin::filename_): New. (Plugin_manager::add_plugin_option): New. * testsuite/Makefile.am (plugin_test_1): Use new syntax. * testsuite/Makefile.in: Regenerate.
2008-12-05 * layout.cc (Layout::include_section): Check for SHF_EXCLUDE.Cary Coutant3-0/+19
Handle --strip-lto-sections option. * options.h (strip_lto_sections): New option.
2008-12-05 Fix compilation on 32-bit host configurations.Jan Kratochvil2-1/+6
* ia64-tdep.c (ia64_breakpoint_from_pc): Suffix a constant by `LL'.
2008-12-052008-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+77
* i386-darwin-nat.c (i386_darwin_sstep_at_sigreturn): New function. (amd64_darwin_sstep_at_sigreturn): New function. (darwin_set_sstep): The sigreturn is a special case: the trace flag must be set in the mcontext structure.
2008-12-05 * infcmd.c (step_once): Remove dead code.Pedro Alves2-2/+4
2008-12-05daily updateAlan Modra1-1/+1