public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/13587] New: stop reasons and other info missing from events.stop
@ 2012-01-11 16:52 tromey at redhat dot com
2012-08-24 15:18 ` [Bug python/13587] " alex-sourceware at spamt dot net
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: tromey at redhat dot com @ 2012-01-11 16:52 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13587
Bug #: 13587
Summary: stop reasons and other info missing from events.stop
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: python
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Classification: Unclassified
The stop events emitted by events.stop do not include all the
info available to MI.
See PR 8444 for some information.
See PR 11688 for some patches to hook ui-out to Python.
Probably the Python code here should be mimicking MI and calling bpstat_print.
This may involve some refactoring to change how the proper event class
is determined.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug python/13587] stop reasons and other info missing from events.stop
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
@ 2012-08-24 15:18 ` alex-sourceware at spamt dot net
2012-08-24 16:39 ` alex-sourceware at spamt dot net
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: alex-sourceware at spamt dot net @ 2012-08-24 15:18 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13587
Alexander Bernauer <alex-sourceware at spamt dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alex-sourceware at spamt
| |dot net
--- Comment #1 from Alexander Bernauer <alex-sourceware at spamt dot net> 2012-08-24 15:17:40 UTC ---
Here is an example of a missing stop reason. This makes writing GDB/MI
front-ends rather cumbersome, so a fix would be much appreciated.
---8<---
*stopped,reason="end-stepping-range",frame={addr="0x00007ffff7a9d6b5",func="_IO_vfprintf_internal",args=[{name="s",value="0x7fffffffd930"},{name="format",value="0x40338e
\"%d,
%u\""},{name="ap",value="0x7fffffffdad0"}],file="vfprintf.c",line="1328"},thread-id="1",stopped-threads="all",core="1"
325-exec-step
*stopped,frame={addr="0x00007ffff7a9d6b5",func="__find_specmb",args=[{name="s",value="0x7fffffffd930"},{name="format",value="0x40338e
\"%d,
%u\""},{name="ap",value="0x7fffffffdad0"}],file="printf-parse.h",line="99"},thread-id="1",stopped-threads="all",core="1"
325^done
(gdb)
--->8---
Unfortunately I have little knowledge about the GDB internals, so I can only
hope that the observed problem indeed concerns the Python sub-system... (sorry
if not)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug python/13587] stop reasons and other info missing from events.stop
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
2012-08-24 15:18 ` [Bug python/13587] " alex-sourceware at spamt dot net
@ 2012-08-24 16:39 ` alex-sourceware at spamt dot net
2012-08-24 16:41 ` alex-sourceware at spamt dot net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: alex-sourceware at spamt dot net @ 2012-08-24 16:39 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13587
--- Comment #2 from Alexander Bernauer <alex-sourceware at spamt dot net> 2012-08-24 16:39:19 UTC ---
Please ignore my previous comment.
I just upgraded to GDB 7.5 and the issue I was observing seems to be resolved.
Sorry, could have done so earlier :-/
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug python/13587] stop reasons and other info missing from events.stop
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
2012-08-24 15:18 ` [Bug python/13587] " alex-sourceware at spamt dot net
2012-08-24 16:39 ` alex-sourceware at spamt dot net
@ 2012-08-24 16:41 ` alex-sourceware at spamt dot net
2023-11-14 18:37 ` tromey at sourceware dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: alex-sourceware at spamt dot net @ 2012-08-24 16:41 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13587
Alexander Bernauer <alex-sourceware at spamt dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|alex-sourceware at spamt |
|dot net |
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug python/13587] stop reasons and other info missing from events.stop
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
` (2 preceding siblings ...)
2012-08-24 16:41 ` alex-sourceware at spamt dot net
@ 2023-11-14 18:37 ` tromey at sourceware dot org
2023-11-14 19:26 ` tromey at sourceware dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: tromey at sourceware dot org @ 2023-11-14 18:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13587
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Sending a patch for this.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug python/13587] stop reasons and other info missing from events.stop
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
` (3 preceding siblings ...)
2023-11-14 18:37 ` tromey at sourceware dot org
@ 2023-11-14 19:26 ` tromey at sourceware dot org
2023-12-11 18:43 ` cvs-commit at gcc dot gnu.org
2023-12-11 18:44 ` tromey at sourceware dot org
6 siblings, 0 replies; 8+ messages in thread
From: tromey at sourceware dot org @ 2023-11-14 19:26 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13587
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2023-November/204158.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug python/13587] stop reasons and other info missing from events.stop
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
` (4 preceding siblings ...)
2023-11-14 19:26 ` tromey at sourceware dot org
@ 2023-12-11 18:43 ` cvs-commit at gcc dot gnu.org
2023-12-11 18:44 ` tromey at sourceware dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-12-11 18:43 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13587
--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e187e7c9696fbf66cf25d5fb8113bc3bc06b9e8b
commit e187e7c9696fbf66cf25d5fb8113bc3bc06b9e8b
Author: Tom Tromey <tromey@adacore.com>
Date: Fri Nov 3 13:23:41 2023 -0600
Emit stop reason details in Python stop events
This changes Python stop events to carry a "details" dictionary, that
holds any relevant information about the stop. The details are
constructed using more or less the same procedure as is done for MI.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=13587
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug python/13587] stop reasons and other info missing from events.stop
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
` (5 preceding siblings ...)
2023-12-11 18:43 ` cvs-commit at gcc dot gnu.org
@ 2023-12-11 18:44 ` tromey at sourceware dot org
6 siblings, 0 replies; 8+ messages in thread
From: tromey at sourceware dot org @ 2023-12-11 18:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=13587
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |15.1
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-12-11 18:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 16:52 [Bug python/13587] New: stop reasons and other info missing from events.stop tromey at redhat dot com
2012-08-24 15:18 ` [Bug python/13587] " alex-sourceware at spamt dot net
2012-08-24 16:39 ` alex-sourceware at spamt dot net
2012-08-24 16:41 ` alex-sourceware at spamt dot net
2023-11-14 18:37 ` tromey at sourceware dot org
2023-11-14 19:26 ` tromey at sourceware dot org
2023-12-11 18:43 ` cvs-commit at gcc dot gnu.org
2023-12-11 18:44 ` tromey at sourceware dot org
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).