This is the mail archive of the gdb-prs@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]

[Bug gdb/8688] set debug target should take effect immediately


https://sourceware.org/bugzilla/show_bug.cgi?id=8688

Simon Marchi <simon.marchi at ericsson dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |simon.marchi at ericsson dot com
         Resolution|---                         |FIXED

--- Comment #1 from Simon Marchi <simon.marchi at ericsson dot com> ---
As far as I can tell, "set debug remote" has immediate effect, as of today:

(gdb) info threads
  Id   Target Id         Frame 
* 1    process 10139 "a.out" main () at test.c:41
(gdb) set debug target 1
(gdb) info threads
-> native->to_log_command (...)
<- native->to_log_command (0x213b460, info threads)
-> native->to_update_thread_list (...)
<- native->to_update_thread_list (0x213b460)
  Id   Target Id         Frame 
-> native->to_pid_to_str (...)
<- native->to_pid_to_str (0x213b460, 10139) = process 10139
-> native->to_extra_thread_info (...)
<- native->to_extra_thread_info (0x213b460, 0x3f1c0f0) = (null)
-> native->to_thread_name (...)
<- native->to_thread_name (0x213b460, 0x3f1c0f0) = a.out
-> native->to_thread_address_space (...)
<- native->to_thread_address_space (0x213b460, 10139) = 1
-> native->to_thread_address_space (...)
<- native->to_thread_address_space (0x213b460, 10139) = 1
-> native->to_check_pending_interrupt (...)
<- native->to_check_pending_interrupt (0x213b460)
* 1    process 10139 "a.out" main () at test.c:41
-> native->to_core_of_thread (...)
<- native->to_core_of_thread (0x213b460, 10139) = 0
(gdb) 


I am closing the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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