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. 5db606db9b6c6083b619a76556587852a0a0f392


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  5db606db9b6c6083b619a76556587852a0a0f392 (commit)
      from  9c1749ec8d33f19d480a9961de17e0c64edd0c8f (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=5db606db9b6c6083b619a76556587852a0a0f392

commit 5db606db9b6c6083b619a76556587852a0a0f392
Author: Pedro Alves <palves@redhat.com>
Date:   Tue Oct 22 15:11:28 2013 +0100

    Remove dead sets/clears of ecs->random signal.
    
    '*ecs' is always memset by handle_inferior_event's callers, so all
    these clears are unnecessary.  There's one place that sets the flag to
    true, but, afterwards, before ecs->random_signal is ever read, we
    reach the part of handle_inferior_even that clears ecs->random_signal,
    among other things:
    
      clear_stop_func (ecs);
      ecs->event_thread->stepping_over_breakpoint = 0;
      bpstat_clear (&ecs->event_thread->control.stop_bpstat);
      ecs->event_thread->control.stop_step = 0;
      stop_print_frame = 1;
      ecs->random_signal = 0;
      stopped_by_random_signal = 0;
    
    So all these ecs->random_signal accesses are dead code.
    
    Tested on x86_64 Fedora 17.
    
    gdb/
    2013-10-22  Pedro Alves  <palves@redhat.com>
    
    	* infrun.c (handle_inferior_event) <thread hop>: Don't clear or
    	set ecs->random signal.

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

Summary of changes:
 gdb/ChangeLog |    5 +++++
 gdb/infrun.c  |    9 ---------
 2 files changed, 5 insertions(+), 9 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]