public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug dap/30469] New: Implement ValueFormat
@ 2023-05-19 14:47 tromey at sourceware dot org
  2023-07-25 15:15 ` [Bug dap/30469] " tromey at sourceware dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2023-05-19 14:47 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

            Bug ID: 30469
           Summary: Implement ValueFormat
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: dap
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

Some DAP requests, like "evaluate", support a 'format' parameter
of type 'ValueFormat'.  This isn't supported in gdb, but maybe could be.
This may require an extension to the pretty-printer API.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
@ 2023-07-25 15:15 ` tromey at sourceware dot org
  2023-07-25 16:07 ` tromey at sourceware dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2023-07-25 15:15 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I suspect all that is needed is to wrap the calls in:

with output-radix 16 ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
  2023-07-25 15:15 ` [Bug dap/30469] " tromey at sourceware dot org
@ 2023-07-25 16:07 ` tromey at sourceware dot org
  2023-07-25 16:16 ` tromey at sourceware dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2023-07-25 16:07 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I have a patch to do this, but I haven't written tests yet.
Also, my patch does not handle StackFrameFormat.
It's not entirely clear how this is supposed to be done.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
  2023-07-25 15:15 ` [Bug dap/30469] " tromey at sourceware dot org
  2023-07-25 16:07 ` tromey at sourceware dot org
@ 2023-07-25 16:16 ` tromey at sourceware dot org
  2023-07-25 17:11 ` tromey at sourceware dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2023-07-25 16:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |tromey at sourceware dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
                   ` (2 preceding siblings ...)
  2023-07-25 16:16 ` tromey at sourceware dot org
@ 2023-07-25 17:11 ` tromey at sourceware dot org
  2023-07-26 15:59 ` tromey at sourceware dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2023-07-25 17:11 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2023-July/201107.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
                   ` (3 preceding siblings ...)
  2023-07-25 17:11 ` tromey at sourceware dot org
@ 2023-07-26 15:59 ` tromey at sourceware dot org
  2023-07-30 22:51 ` brobecker at gnat dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2023-07-26 15:59 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
                   ` (4 preceding siblings ...)
  2023-07-26 15:59 ` tromey at sourceware dot org
@ 2023-07-30 22:51 ` brobecker at gnat dot com
  2023-07-30 22:53 ` brobecker at gnat dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: brobecker at gnat dot com @ 2023-07-30 22:51 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

Joel Brobecker <brobecker at gnat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brobecker at gnat dot com
   Target Milestone|14.1                        |---

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
                   ` (5 preceding siblings ...)
  2023-07-30 22:51 ` brobecker at gnat dot com
@ 2023-07-30 22:53 ` brobecker at gnat dot com
  2023-08-01 19:05 ` cvs-commit at gcc dot gnu.org
  2023-08-01 19:07 ` tromey at sourceware dot org
  8 siblings, 0 replies; 10+ messages in thread
From: brobecker at gnat dot com @ 2023-07-30 22:53 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

Joel Brobecker <brobecker at gnat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.1

--- Comment #4 from Joel Brobecker <brobecker at gnat dot com> ---
I think I may have accidentally removed the target milestone from the wrong PR
(looks like bugzilla is automatically getting me to my next PR as soon as I hit
"save", rather than staying on the same PR). Sorry about that! putting it back.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
                   ` (6 preceding siblings ...)
  2023-07-30 22:53 ` brobecker at gnat dot com
@ 2023-08-01 19:05 ` cvs-commit at gcc dot gnu.org
  2023-08-01 19:07 ` tromey at sourceware dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-08-01 19:05 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

--- Comment #5 from cvs-commit at gcc dot gnu.org <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=e13769988480865662e8347ed9f131ce0b8f5afc

commit e13769988480865662e8347ed9f131ce0b8f5afc
Author: Tom Tromey <tromey@adacore.com>
Date:   Tue Jul 25 10:13:52 2023 -0600

    Implement ValueFormat for DAP

    This patch implements ValueFormat for DAP.  Currently this only means
    supporting "hex".

    Note that StackFrameFormat is defined to have many more options, but
    none are currently recognized.  It isn't entirely clear how these
    should be handled.  I'll file a new gdb bug for this, and perhaps an
    upstream DAP bug as well.

    New in v2:
    - I realized that the "hover" context was broken, and furthermore
      that we only had tests for "hover" failing, not for it succeeding.
      This version fixes the oversight and adds a test.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30469

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug dap/30469] Implement ValueFormat
  2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
                   ` (7 preceding siblings ...)
  2023-08-01 19:05 ` cvs-commit at gcc dot gnu.org
@ 2023-08-01 19:07 ` tromey at sourceware dot org
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at sourceware dot org @ 2023-08-01 19:07 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30469

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- 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] 10+ messages in thread

end of thread, other threads:[~2023-08-01 19:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 14:47 [Bug dap/30469] New: Implement ValueFormat tromey at sourceware dot org
2023-07-25 15:15 ` [Bug dap/30469] " tromey at sourceware dot org
2023-07-25 16:07 ` tromey at sourceware dot org
2023-07-25 16:16 ` tromey at sourceware dot org
2023-07-25 17:11 ` tromey at sourceware dot org
2023-07-26 15:59 ` tromey at sourceware dot org
2023-07-30 22:51 ` brobecker at gnat dot com
2023-07-30 22:53 ` brobecker at gnat dot com
2023-08-01 19:05 ` cvs-commit at gcc dot gnu.org
2023-08-01 19:07 ` 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).