This is the mail archive of the gdb-patches@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] |
Hi, I found that focus command can't be use with linux-nat target. I deal with it and found function linux_child_follow_fork (handler the fork issue) record inferior not right. I made a patch for it. 2008-12-01 Hui Zhu <teawater@gmail.com> Let GNU/Linux native-dependent target record inferior right. * linux-nat.c (linux_child_follow_fork): If gdb doesn't detach-on-fork, let it record inferior right. (linux_nat_switch_fork): New argument "init". Call initialise functions if "init" is true. * linux-nat.h (linux_nat_switch_fork): Ditto. * linux-fork.c (fork_load_infrun_state): Ditto. Thanks, Hui
Attachment:
linux-nat-multiprocess-focus.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |