Skip to content
Snippets Groups Projects
  1. Jul 26, 2005
  2. Jul 25, 2005
    • Mark Kettenis's avatar
      * inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork): · 735f54b4
      Mark Kettenis authored
      New function.
      (inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set
      PTRACE_FORK event flag.
      (inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK
      event.
      (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
      735f54b4
    • Mark Kettenis's avatar
      * gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already · 4b8a1a28
      Mark Kettenis authored
      defined.
      * inf-ptrace.c: Tweak comments.
      (inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero.
      (inf_ptrace_mourn_inferior): Call waitpid.
      (inf_ptrace_attach): Use pid_t, Remove unnecessary cast.
      (inf_ptrace_detach): Use pid_t.  Use ptid_get_pid instead of
      PIDGET.
      (inf_ptrace_kill): Rename from inf_ptrace_kill_inferior.  Use
      pid_t.  Use ptid_get_pid instead of PIDGET.
      (inf_ptrace_kill): Call waitpid instead of wait.
      (inf_ptrace_resume): Use pid_t.  Use ptid_get_pid instead of
      PIDGET.
      (inf_ptrace_wait): Use waitpid instead wait.  Use pid_t.  Don't
      call target_has_exited or target_thread_alive.  Properly ignore
      terminated detached child processes.
      (inf_ptrace_has_exited): Remove function.
      (inf_ptrace_xfer_partial): Use pid_t.  Use ptid_get_pid instead of
      PIDGET.  Use gdb_byte instead of `unsigned char'.
      (inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET.
      (inf_ptrace_pid_to_str): Remove function.
      (inf_ptrace_target): Use inf_ptrace_kill instead of
      inf_ptrace_kill_inferior.  Use normal_pid_to_str instead of
      inf_ptrace_pid_to_str.  Don't set to_has_exited.
      (inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat
      long lines.
      4b8a1a28
    • Mark Kettenis's avatar
      * inf-ptrace.c: Reorder functions. · c7c14b96
      Mark Kettenis authored
      (inf_ptrace_open, inf_ptrace_reported_exec_events_per_call)
      (inf_ptrace_can_run, inf_ptrace_post_attach): Removed.
      (inf_ptrace_target): Don't set to_open,
      to_reported_exec_events_per_call, to_can_run, to_post_attach,
      to_stratum, to_has_all_memory, to_has_memory, to_has_stack,
      to_has_registers, to_has_execution, to_magic.  Reorder remaining
      initializations.
      c7c14b96
    • H.J. Lu's avatar
      bfd/ · 3b22753a
      H.J. Lu authored
      2005-07-25  Jan Hubicka  <jh@suse.cz>
      	    H.J. Lu  <hongjiu.lu@intel.com>
      
      	* elf-bfd.h (_bfd_elf_large_com_section): New.
      	* elf.c (_bfd_elf_large_com_section): New. Defined.
      
      	* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New.
      	(elf64_x86_64_elf_section_from_bfd_section): New.
      	(elf64_x86_64_symbol_processing): New.
      	(elf64_x86_64_common_definition): New.
      	(elf64_x86_64_common_section_index): New.
      	(elf64_x86_64_common_section): New.
      	(elf64_x86_64_merge_symbol): New.
      	(elf64_x86_64_additional_program_headers): New.
      	(elf64_x86_64_special_sections): New.
      	(elf_backend_section_from_bfd_section): New. Defined.
      	(elf_backend_add_symbol_hook): Likewise.
      	(elf_backend_common_section_index): Likewise.
      	(elf_backend_common_section): Likewise.
      	(elf_backend_common_definition): Likewise.
      	(elf_backend_merge_symbol): Likewise.
      	(elf_backend_special_sections): Likewise.
      	(elf_backend_additional_program_headers): Likewise.
      
      binutils/
      
      2005-07-25  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
      	(get_symbol_index_type): Likewise.
      	(get_elf_section_flags): Handle SHF_X86_64_LARGE.
      
      gas/
      
      2005-07-25  Jan Hubicka  <jh@suse.cz>
      	    H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
      	defined.
      	(elf_com_section_ptr): New.
      	(elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
      	(elf_common_parse): Make it global. Use elf_com_section_ptr
      	instead of bfd_com_section_ptr.
      	(obj_elf_change_section): Handle x86-64 large bss sections.
      
      	* config/obj-elf.h (elf_com_section_ptr): New.
      	(elf_common_parse): New.
      
      	* config/tc-i386.c (handle_large_common): New.
      	(md_pseudo_table): Add "largecomm".
      	(x86_64_section_letter): New.
      	(x86_64_section_word): New.
      
      	* config/tc-i386.h (x86_64_section_word): New.
      	(x86_64_section_letter): New.
      	(md_elf_section_letter): New. Defined.
      	(md_elf_section_word): Likewise.
      
      include/elf/
      
      2005-07-25  Jan Hubicka  <jh@suse.cz>
      
      	* x86-64.h (SHN_X86_64_LCOMMON): New.
      	(SHF_X86_64_LARGE): New.
      
      ld/
      
      2005-07-25  Jan Hubicka  <jh@suse.cz>
      	    H.J. Lu  <hongjiu.lu@intel.com>
      
      	* emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
      
      	* scripttempl/elf.sc: Updated for large section support.
      3b22753a
    • H.J. Lu's avatar
      2005-07-25 H.J. Lu <hongjiu.lu@intel.com> · a4d8e49b
      H.J. Lu authored
      	* elf-bfd.h (elf_backend_data): Add common_definition,
      	common_section_index, common_section, and merge_symbol.
      	(_bfd_elf_common_definition): New.
      	(_bfd_elf_common_section_index): New.
      	(_bfd_elf_common_section): New.
      
      	* elf.c (elf_fake_sections): Don't clear sh_flags.
      
      	* elflink.c (_bfd_elf_merge_symbol): Call backend merge_symbol
      	if it is available.
      	(is_global_data_symbol_definition): Call backend
      	common_definition instead of checking SHN_COMMON.
      	(elf_link_add_object_symbols): Likewise.
      	(elf_link_output_extsym): Call backend common_section_index
      	for common section index.
      	(_bfd_elf_common_definition): New.
      	(_bfd_elf_common_section_index): New.
      	(_bfd_elf_common_section): New.
      
      	* elfxx-target.h (elf_backend_common_definition): New.
      	(elf_backend_common_section_index): New.
      	(elf_backend_common_section): New.
      	(elf_backend_merge_symbol): New.
      	(elfNN_bed): Initialize common_definition, common_section_index,
      	common_section, and merge_symbol.
      
      	* section.c (BFD_FAKE_SECTION): New.
      	(STD_SECTION): Use it.
      	* bfd-in2.h: Regenerated.
      a4d8e49b
    • Mark Mitchell's avatar
    • Mark Mitchell's avatar
      * input.c (rl_getc): Use getch to read console input on · fd8be987
      Mark Mitchell authored
      	Windows.
      	* readline.c (bind_arrow_keys_internal): Translate
      	Windows keysequences into POSIX key sequences.
      	* rldefs.h (NO_TTY_DRIVER): Define on MinGW.
      	* rltty.c: Conditionalize on NO_TTY_DRIVER throughout.
      fd8be987
    • Mark Mitchell's avatar
      * configure.ac: On MinGW, do not require a termcap library, and · 7ef34f2c
      Mark Mitchell authored
      	use win32-termcap.c.
      	* configure: Regenerated.
      	* win32-termcap.c: New file.
      7ef34f2c
    • Alan Modra's avatar
      daily update · 314c531d
      Alan Modra authored
      314c531d
    • gdbadmin's avatar
      *** empty log message *** · 47f7a80e
      gdbadmin authored
      47f7a80e
    • Mark Mitchell's avatar
  3. Jul 24, 2005
  4. Jul 23, 2005
  5. Jul 22, 2005
  6. Jul 21, 2005
Loading