This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. c9657e708a03cb06ad92ce81bf17c68d28e57689


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  c9657e708a03cb06ad92ce81bf17c68d28e57689 (commit)
      from  e882ef3cfc3d991433c3b9aed104961ad3ce5904 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c9657e708a03cb06ad92ce81bf17c68d28e57689

commit c9657e708a03cb06ad92ce81bf17c68d28e57689
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Mon Dec 15 12:00:55 2014 -0500

    Introduce utility function find_inferior_ptid
    
    This patch introduces find_inferior_ptid to replace the common idiom
    
      find_inferior_pid (ptid_get_pid (...));
    
    It replaces all the instances of that idiom that I found with the new
    function.
    
    No significant changes before/after the patch in the regression suite
    on amd64 linux.
    
    gdb/ChangeLog:
    
    	* inferior.c (find_inferior_ptid): New function.
    	* inferior.h (find_inferior_ptid): New declaration.
    	* ada-tasks.c (ada_get_task_number): Use find_inferior_ptid.
    	* corelow.c (core_pid_to_str): Same.
    	* darwin-nat.c (darwin_resume): Same.
    	* infrun.c (fetch_inferior_event): Same.
    	(get_inferior_stop_soon): Same.
    	(handle_inferior_event): Same.
    	(handle_signal_stop): Same.
    	* linux-nat.c (resume_lwp): Same.
    	(stop_wait_callback): Same.
    	* mi/mi-interp.c (mi_new_thread): Same.
    	(mi_thread_exit): Same.
    	* proc-service.c (ps_pglobal_lookup): Same.
    	* record-btrace.c (record_btrace_step_thread): Same.
    	* remote-sim.c (gdbsim_close_inferior): Same.
    	(gdbsim_resume): Same.
    	(gdbsim_stop): Same.
    	* sol2-tdep.c (sol2_core_pid_to_str): Same.
    	* target.c (memory_xfer_partial_1): Same.
    	(default_thread_address_space): Same.
    	* thread.c (thread_change_ptid): Same.
    	(switch_to_thread): Same.
    	(do_restore_current_thread_cleanup): Same.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog       |   27 +++++++++++++++++++++++++++
 gdb/ada-tasks.c     |    3 +--
 gdb/corelow.c       |    2 +-
 gdb/darwin-nat.c    |    2 +-
 gdb/inferior.c      |    8 ++++++++
 gdb/inferior.h      |    3 +++
 gdb/infrun.c        |   10 +++++-----
 gdb/linux-nat.c     |    4 ++--
 gdb/mi/mi-interp.c  |    4 ++--
 gdb/proc-service.c  |    2 +-
 gdb/record-btrace.c |    4 ++--
 gdb/remote-sim.c    |    6 +++---
 gdb/sol2-tdep.c     |    2 +-
 gdb/target.c        |    4 ++--
 gdb/thread.c        |    6 +++---
 15 files changed, 62 insertions(+), 25 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]