public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/16466] New: -break-insert does not remember a specified thread for a pending breakpoint
@ 2014-01-19 1:55 marc.khouzam at ericsson dot com
2014-01-20 11:51 ` [Bug breakpoints/16466] -break-insert and -dprintf-insert do " marc.khouzam at ericsson dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: marc.khouzam at ericsson dot com @ 2014-01-19 1:55 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16466
Bug ID: 16466
Summary: -break-insert does not remember a specified thread for
a pending breakpoint
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: marc.khouzam at ericsson dot com
When using -break-insert and specifying a thread using the -p flag, this thread
field will not be remembered for a pending breakpoint and will not be used when
that breakpoint becomes active.
This bug is very similar to Bug 16465, and probably would benefit from being
fixed together.
Below is a session that compares pending breakpoint using the CLI vs MI
interfaces:
> gdb.7.7 ~/runtime-TestDSF/myapp/Debug/myapp.exe
GNU gdb (GDB) 7.7.50.20140110-cvs
(gdb) b mydll.c:1 thread 1
No source file named mydll.c.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (mydll.c:1 thread 1) pending.
(gdb) interpreter-exec mi "-break-insert -p 1 -f mydll.c:2"
&"No source file named mydll.c.\n"
^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",pending="mydll.c:2",times="0",original-location="mydll.c:2"}
(gdb) inf b
Num Type Disp Enb Address What
1 breakpoint keep y <PENDING> mydll.c:1 thread 1
2 breakpoint keep y <PENDING> mydll.c:2
(gdb) tb 18
Temporary breakpoint 3 at 0x400754: file ../src/myapp.c, line 18.
(gdb) r
Starting program: /home/lmckhou/runtime-TestDSF/myapp/Debug/myapp.exe
Temporary breakpoint 3, main () at ../src/myapp.c:18
18 handle =
dlopen("/home/lmckhou/runtime-TestDSF/myLinuxDll/Debug/libmyLinuxDll",
RTLD_LAZY);
(gdb) n
19 if (!handle) {
(gdb) inf b
Num Type Disp Enb Address What
1 breakpoint keep y 0x00007ffff7633560 in foo at ../src/mydll.c:1
thread 1
stop only in thread 1
2 breakpoint keep y 0x00007ffff7633560 in foo at ../src/mydll.c:2
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug breakpoints/16466] -break-insert and -dprintf-insert do not remember a specified thread for a pending breakpoint
2014-01-19 1:55 [Bug breakpoints/16466] New: -break-insert does not remember a specified thread for a pending breakpoint marc.khouzam at ericsson dot com
@ 2014-01-20 11:51 ` marc.khouzam at ericsson dot com
2015-02-13 18:59 ` antoine.tremblay at ericsson dot com
2015-03-24 15:09 ` antoine.tremblay at ericsson dot com
2 siblings, 0 replies; 4+ messages in thread
From: marc.khouzam at ericsson dot com @ 2014-01-20 11:51 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16466
Marc Khouzam <marc.khouzam at ericsson dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|-break-insert does not |-break-insert and
|remember a specified thread |-dprintf-insert do not
|for a pending breakpoint |remember a specified thread
| |for a pending breakpoint
--- Comment #1 from Marc Khouzam <marc.khouzam at ericsson dot com> ---
This also affects -dprintf-insert
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug breakpoints/16466] -break-insert and -dprintf-insert do not remember a specified thread for a pending breakpoint
2014-01-19 1:55 [Bug breakpoints/16466] New: -break-insert does not remember a specified thread for a pending breakpoint marc.khouzam at ericsson dot com
2014-01-20 11:51 ` [Bug breakpoints/16466] -break-insert and -dprintf-insert do " marc.khouzam at ericsson dot com
@ 2015-02-13 18:59 ` antoine.tremblay at ericsson dot com
2015-03-24 15:09 ` antoine.tremblay at ericsson dot com
2 siblings, 0 replies; 4+ messages in thread
From: antoine.tremblay at ericsson dot com @ 2015-02-13 18:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16466
Antoine Tremblay <antoine.tremblay at ericsson dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |antoine.tremblay at ericsson dot c
| |om
Assignee|unassigned at sourceware dot org |antoine.tremblay at ericsson dot c
| |om
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug breakpoints/16466] -break-insert and -dprintf-insert do not remember a specified thread for a pending breakpoint
2014-01-19 1:55 [Bug breakpoints/16466] New: -break-insert does not remember a specified thread for a pending breakpoint marc.khouzam at ericsson dot com
2014-01-20 11:51 ` [Bug breakpoints/16466] -break-insert and -dprintf-insert do " marc.khouzam at ericsson dot com
2015-02-13 18:59 ` antoine.tremblay at ericsson dot com
@ 2015-03-24 15:09 ` antoine.tremblay at ericsson dot com
2 siblings, 0 replies; 4+ messages in thread
From: antoine.tremblay at ericsson dot com @ 2015-03-24 15:09 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=16466
Antoine Tremblay <antoine.tremblay at ericsson dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Antoine Tremblay <antoine.tremblay at ericsson dot com> ---
Fixed be commit above...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-24 12:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 1:55 [Bug breakpoints/16466] New: -break-insert does not remember a specified thread for a pending breakpoint marc.khouzam at ericsson dot com
2014-01-20 11:51 ` [Bug breakpoints/16466] -break-insert and -dprintf-insert do " marc.khouzam at ericsson dot com
2015-02-13 18:59 ` antoine.tremblay at ericsson dot com
2015-03-24 15:09 ` antoine.tremblay at ericsson dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).