From 83e4562b290577f353aec09d5fbcd4fc133b3904 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 19 May 2009 09:06:34 +0200 Subject: GDB issues. --- gdb.mdwn | 12 ++++++++---- hurd/open_issues/gdb_non-stop_mode.mdwn | 21 --------------------- hurd/open_issues/gdb_pending_execs.mdwn | 23 ----------------------- hurd/open_issues/gdb_thread_ids.mdwn | 17 ----------------- open_issues/gdb_non-stop_mode.mdwn | 25 +++++++++++++++++++++++++ open_issues/gdb_pending_execs.mdwn | 27 +++++++++++++++++++++++++++ open_issues/gdb_thread_ids.mdwn | 21 +++++++++++++++++++++ tag/open_issue_gdb.mdwn | 19 +++++++++++++++++++ 8 files changed, 100 insertions(+), 65 deletions(-) delete mode 100644 hurd/open_issues/gdb_non-stop_mode.mdwn delete mode 100644 hurd/open_issues/gdb_pending_execs.mdwn delete mode 100644 hurd/open_issues/gdb_thread_ids.mdwn create mode 100644 open_issues/gdb_non-stop_mode.mdwn create mode 100644 open_issues/gdb_pending_execs.mdwn create mode 100644 open_issues/gdb_thread_ids.mdwn create mode 100644 tag/open_issue_gdb.mdwn diff --git a/gdb.mdwn b/gdb.mdwn index 5409a05d..6c43728c 100644 --- a/gdb.mdwn +++ b/gdb.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2007, 2008, 2009 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 @@ -10,8 +11,11 @@ is included in the section entitled The [GNU debugger *GDB*](http://www.gnu.org/software/gdb/). -* [[Backtrace]]s + * [[Backtrace]]s -* [Manual](http://sourceware.org/gdb/documentation/) + * [Manual](http://sourceware.org/gdb/documentation/) -* [When disassemble doesn't work](http://lists.gnu.org/archive/html/bug-hurd/2007-02/msg00039.html) + * [When disassemble doesn't + work](http://lists.gnu.org/archive/html/bug-hurd/2007-02/msg00039.html) + + * [[Open Issues|tag/open_issue_gdb]] diff --git a/hurd/open_issues/gdb_non-stop_mode.mdwn b/hurd/open_issues/gdb_non-stop_mode.mdwn deleted file mode 100644 index 199cb7ae..00000000 --- a/hurd/open_issues/gdb_non-stop_mode.mdwn +++ /dev/null @@ -1,21 +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 `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. diff --git a/hurd/open_issues/gdb_pending_execs.mdwn b/hurd/open_issues/gdb_pending_execs.mdwn deleted file mode 100644 index cf5cc705..00000000 --- a/hurd/open_issues/gdb_pending_execs.mdwn +++ /dev/null @@ -1,23 +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 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'. diff --git a/hurd/open_issues/gdb_thread_ids.mdwn b/hurd/open_issues/gdb_thread_ids.mdwn deleted file mode 100644 index 8752e9d8..00000000 --- a/hurd/open_issues/gdb_thread_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/open_issues/gdb_non-stop_mode.mdwn b/open_issues/gdb_non-stop_mode.mdwn new file mode 100644 index 00000000..418b144c --- /dev/null +++ b/open_issues/gdb_non-stop_mode.mdwn @@ -0,0 +1,25 @@ +[[!meta copyright="Copyright © 2008, 2009 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]]."]]"""]] + +[[!meta title="GDB's non-stop mode"]] + +[[!tag open_issue_gdb]] + +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. diff --git a/open_issues/gdb_pending_execs.mdwn b/open_issues/gdb_pending_execs.mdwn new file mode 100644 index 00000000..bb0f8419 --- /dev/null +++ b/open_issues/gdb_pending_execs.mdwn @@ -0,0 +1,27 @@ +[[!meta copyright="Copyright © 2008, 2009 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]]."]]"""]] + +[[!meta title="GDB: pending_execs"]] + +[[!tag open_issue_gdb]] + +: + +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'. diff --git a/open_issues/gdb_thread_ids.mdwn b/open_issues/gdb_thread_ids.mdwn new file mode 100644 index 00000000..eeb67f30 --- /dev/null +++ b/open_issues/gdb_thread_ids.mdwn @@ -0,0 +1,21 @@ +[[!meta copyright="Copyright © 2008, 2009 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]]."]]"""]] + +[[!meta title="GDB: thread ids"]] + +[[!tag open_issue_gdb]] + +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/tag/open_issue_gdb.mdwn b/tag/open_issue_gdb.mdwn new file mode 100644 index 00000000..937aafc2 --- /dev/null +++ b/tag/open_issue_gdb.mdwn @@ -0,0 +1,19 @@ +[[!meta copyright="Copyright © 2009 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]]."]]"""]] + +[[!meta title=open_issue_gdb]] + +[[!map pages="tagged(open_issue_gdb) and !open_issues and !*/discussion" +show=title]] + +[[!inline +pages="tagged(open_issue_gdb) and !open_issues and !*/discussion" +show=0 +feeds=no]] -- cgit v1.2.3