From 4e6b06afee82d6ff4901ca4626f57a58638f2eea Mon Sep 17 00:00:00 2001 From: tschwinge Date: Mon, 13 Oct 2008 23:27:18 +0000 Subject: GDB: using port's ids as thread ids? --- hurd/open_issues/gdb__95__thread__95__ids.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hurd/open_issues/gdb__95__thread__95__ids.mdwn (limited to 'hurd/open_issues') diff --git a/hurd/open_issues/gdb__95__thread__95__ids.mdwn b/hurd/open_issues/gdb__95__thread__95__ids.mdwn new file mode 100644 index 00000000..df4b7bbc --- /dev/null +++ b/hurd/open_issues/gdb__95__thread__95__ids.mdwn @@ -0,0 +1,17 @@ +[[meta copyright="Copyright © 2008 Free Software Foundation, Inc."]] + +[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled +[[GNU_Free_Documentation_License|/fdl]]."]]"""]] + +GNU GDB's Pedro Alves: + +> One thing [I asked +> myself](http://lists.gnu.org/archive/html/bug-hurd/2008-10/msg00045.html) +> was, if gnu-nat.c couldn't be using the port's id as thread ids instead of a +> locally auto-generated number. Maybe the thread id of the main thread would +> be preserved across execs this way -- cgit v1.2.3 From 7f14c89f460699cb6c4fbabee05955a16c839e7b Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 14 Oct 2008 17:36:55 +0200 Subject: Rename file. --- hurd/open_issues/gdb__95__thread__95__ids.mdwn | 17 ----------------- hurd/open_issues/gdb_thread_ids.mdwn | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 hurd/open_issues/gdb__95__thread__95__ids.mdwn create mode 100644 hurd/open_issues/gdb_thread_ids.mdwn (limited to 'hurd/open_issues') diff --git a/hurd/open_issues/gdb__95__thread__95__ids.mdwn b/hurd/open_issues/gdb__95__thread__95__ids.mdwn deleted file mode 100644 index df4b7bbc..00000000 --- a/hurd/open_issues/gdb__95__thread__95__ids.mdwn +++ /dev/null @@ -1,17 +0,0 @@ -[[meta copyright="Copyright © 2008 Free Software Foundation, Inc."]] - -[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable -id="license" text="Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled -[[GNU_Free_Documentation_License|/fdl]]."]]"""]] - -GNU GDB's Pedro Alves: - -> One thing [I asked -> myself](http://lists.gnu.org/archive/html/bug-hurd/2008-10/msg00045.html) -> was, if gnu-nat.c couldn't be using the port's id as thread ids instead of a -> locally auto-generated number. Maybe the thread id of the main thread would -> be preserved across execs this way diff --git a/hurd/open_issues/gdb_thread_ids.mdwn b/hurd/open_issues/gdb_thread_ids.mdwn new file mode 100644 index 00000000..df4b7bbc --- /dev/null +++ b/hurd/open_issues/gdb_thread_ids.mdwn @@ -0,0 +1,17 @@ +[[meta copyright="Copyright © 2008 Free Software Foundation, Inc."]] + +[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled +[[GNU_Free_Documentation_License|/fdl]]."]]"""]] + +GNU GDB's Pedro Alves: + +> One thing [I asked +> myself](http://lists.gnu.org/archive/html/bug-hurd/2008-10/msg00045.html) +> was, if gnu-nat.c couldn't be using the port's id as thread ids instead of a +> locally auto-generated number. Maybe the thread id of the main thread would +> be preserved across execs this way -- cgit v1.2.3 From 8de258e105f8e3d7c92c6cfa9e045cd6e624da54 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 14 Oct 2008 17:40:10 +0200 Subject: GDB: ``set exec-wrapper'' vs. gnu-nat.c's pending_execs counting. --- hurd/open_issues/gdb_pending_execs.mdwn | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 hurd/open_issues/gdb_pending_execs.mdwn (limited to 'hurd/open_issues') diff --git a/hurd/open_issues/gdb_pending_execs.mdwn b/hurd/open_issues/gdb_pending_execs.mdwn new file mode 100644 index 00000000..e9d5c6d2 --- /dev/null +++ b/hurd/open_issues/gdb_pending_execs.mdwn @@ -0,0 +1,23 @@ +[[meta copyright="Copyright © 2008 Free Software Foundation, Inc."]] + +[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled +[[GNU_Free_Documentation_License|/fdl]]."]]"""]] + +: + +GNU GDB's Ulrich Weigand: + +> Hmm. It would appear that "set exec-wrapper" is currently broken with +> the gnu-nat.c target, right? + +GNU GDB's Pedro Alves: + +>> Yeah, it appears so. Don't know if it's possible to get rid of the local +>> pending execs handling in gnu-nat.c. An alternative would be to make +>> pending_execs a property of inferior.h:`struct inferior' instead of of +>> gnu-nat.c:`struct inf'. -- cgit v1.2.3 From 1b9e1ac4fa0c4c2735150947d5b16e9c11607cc0 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 14 Oct 2008 17:43:35 +0200 Subject: GDB: non-stop mode. --- hurd/open_issues/gdb_non-stop_mode.mdwn | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hurd/open_issues/gdb_non-stop_mode.mdwn (limited to 'hurd/open_issues') diff --git a/hurd/open_issues/gdb_non-stop_mode.mdwn b/hurd/open_issues/gdb_non-stop_mode.mdwn new file mode 100644 index 00000000..c302251f --- /dev/null +++ b/hurd/open_issues/gdb_non-stop_mode.mdwn @@ -0,0 +1,21 @@ +[[meta copyright="Copyright © 2008 Free Software Foundation, Inc."]] + +[[meta license="""[[toggle id="license" text="GFDL 1.2+"]][[toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled +[[GNU_Free_Documentation_License|/fdl]]."]]"""]] + +GNU GDB's `gnu-nat.c` doesn't support *non-stop* mode. + +Also, from , +GNU GDB's Pedro Alves: + +> I also notice that when going through the shell in non-stop mode, it would be +> more correct to resume all threads --- we don't want non-stop and its +> scheduler-locking to apply to the shell. Basically, non-stop should be off +> if there are pending execs. This was an existing issue, and doesn't affect +> linux today, so I'll just ignore that for now, as it needs more tweaking to +> fix. -- cgit v1.2.3