public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/11067] p <enum constant> should print the constant's value
       [not found] <bug-11067-4717@http.sourceware.org/bugzilla/>
@ 2013-08-06 20:01 ` kamaraju at gmail dot com
  2013-08-06 20:39 ` kamaraju at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: kamaraju at gmail dot com @ 2013-08-06 20:01 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=11067

Kamaraju Kusumanchi <kamaraju at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kamaraju at gmail dot com

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


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
       [not found] <bug-11067-4717@http.sourceware.org/bugzilla/>
  2013-08-06 20:01 ` [Bug gdb/11067] p <enum constant> should print the constant's value kamaraju at gmail dot com
@ 2013-08-06 20:39 ` kamaraju at gmail dot com
  2013-08-08  9:52 ` palves at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: kamaraju at gmail dot com @ 2013-08-06 20:39 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=11067

--- Comment #4 from Kamaraju Kusumanchi <kamaraju at gmail dot com> ---
You can also use "p /d" as a work around. It is less typing than "p (int)"

(gdb) p /d Val1
$4 = 0

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


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
       [not found] <bug-11067-4717@http.sourceware.org/bugzilla/>
  2013-08-06 20:01 ` [Bug gdb/11067] p <enum constant> should print the constant's value kamaraju at gmail dot com
  2013-08-06 20:39 ` kamaraju at gmail dot com
@ 2013-08-08  9:52 ` palves at redhat dot com
  2013-08-08 20:57 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: palves at redhat dot com @ 2013-08-08  9:52 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=11067

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #5 from Pedro Alves <palves at redhat dot com> ---
Or:

 (gdb) p Val1+0

Which I find even easier to type, as what I actually usually do is:

 (gdb) p Val1
 $1 = Val1
 <up>+0<enter>
 $2 = 0

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


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
       [not found] <bug-11067-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-08-08  9:52 ` palves at redhat dot com
@ 2013-08-08 20:57 ` schwab@linux-m68k.org
  2015-09-30 17:43 ` noloader at gmail dot com
  2023-04-13 20:47 ` sam at gentoo dot org
  5 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2013-08-08 20:57 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=11067

--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
Or use the fact that the expression defaults to $.

(gdb) p Val1
$1 = Val1
(gdb) p/d
$2 = 0

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


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
       [not found] <bug-11067-4717@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-08-08 20:57 ` schwab@linux-m68k.org
@ 2015-09-30 17:43 ` noloader at gmail dot com
  2023-04-13 20:47 ` sam at gentoo dot org
  5 siblings, 0 replies; 11+ messages in thread
From: noloader at gmail dot com @ 2015-09-30 17:43 UTC (permalink / raw)
  To: gdb-prs

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

Jeffrey Walton <noloader at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |noloader at gmail dot com

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


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
       [not found] <bug-11067-4717@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-09-30 17:43 ` noloader at gmail dot com
@ 2023-04-13 20:47 ` sam at gentoo dot org
  5 siblings, 0 replies; 11+ messages in thread
From: sam at gentoo dot org @ 2023-04-13 20:47 UTC (permalink / raw)
  To: gdb-prs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

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

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

* [Bug gdb/11067] p <enum constant> should print the constant's value
  2009-12-08 21:48 [Bug gdb/11067] New: " jyasskin at gmail dot com
                   ` (3 preceding siblings ...)
  2010-02-16  3:58 ` ppluzhnikov at google dot com
@ 2010-02-16  5:17 ` jyasskin at gmail dot com
  4 siblings, 0 replies; 11+ messages in thread
From: jyasskin at gmail dot com @ 2010-02-16  5:17 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jyasskin at gmail dot com  2010-02-16 05:17 -------
Thanks, Chris, for your work on this. I guess such a simple change was just asking 
to be bikeshedded into oblivion.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11067

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
  2009-12-08 21:48 [Bug gdb/11067] New: " jyasskin at gmail dot com
                   ` (2 preceding siblings ...)
  2010-02-16  2:49 ` cmoller at redhat dot com
@ 2010-02-16  3:58 ` ppluzhnikov at google dot com
  2010-02-16  5:17 ` jyasskin at gmail dot com
  4 siblings, 0 replies; 11+ messages in thread
From: ppluzhnikov at google dot com @ 2010-02-16  3:58 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From ppluzhnikov at google dot com  2010-02-16 03:58 -------
For those not following the discussion, Chris attempted two
separate patches:
http://sourceware.org/ml/gdb-patches/2010-02/msg00179.html
http://sourceware.org/ml/gdb-patches/2010-02/msg00279.html

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11067

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
  2009-12-08 21:48 [Bug gdb/11067] New: " jyasskin at gmail dot com
  2009-12-08 21:51 ` [Bug gdb/11067] " ppluzhnikov at google dot com
  2010-02-06 13:26 ` cmoller at redhat dot com
@ 2010-02-16  2:49 ` cmoller at redhat dot com
  2010-02-16  3:58 ` ppluzhnikov at google dot com
  2010-02-16  5:17 ` jyasskin at gmail dot com
  4 siblings, 0 replies; 11+ messages in thread
From: cmoller at redhat dot com @ 2010-02-16  2:49 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From cmoller at redhat dot com  2010-02-16 02:49 -------
Lacking any consensus on the utility, implementation, or display format for this
enhancement, and the evolving mutually exclusive requirements, there's no way to
make this enhancement work.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=11067

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
  2009-12-08 21:48 [Bug gdb/11067] New: " jyasskin at gmail dot com
  2009-12-08 21:51 ` [Bug gdb/11067] " ppluzhnikov at google dot com
@ 2010-02-06 13:26 ` cmoller at redhat dot com
  2010-02-16  2:49 ` cmoller at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: cmoller at redhat dot com @ 2010-02-06 13:26 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware dot|cmoller at redhat dot com
                   |org                         |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=11067

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug gdb/11067] p <enum constant> should print the constant's value
  2009-12-08 21:48 [Bug gdb/11067] New: " jyasskin at gmail dot com
@ 2009-12-08 21:51 ` ppluzhnikov at google dot com
  2010-02-06 13:26 ` cmoller at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: ppluzhnikov at google dot com @ 2009-12-08 21:51 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppluzhnikov at google dot
                   |                            |com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://sourceware.org/bugzilla/show_bug.cgi?id=11067

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2023-04-13 20:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11067-4717@http.sourceware.org/bugzilla/>
2013-08-06 20:01 ` [Bug gdb/11067] p <enum constant> should print the constant's value kamaraju at gmail dot com
2013-08-06 20:39 ` kamaraju at gmail dot com
2013-08-08  9:52 ` palves at redhat dot com
2013-08-08 20:57 ` schwab@linux-m68k.org
2015-09-30 17:43 ` noloader at gmail dot com
2023-04-13 20:47 ` sam at gentoo dot org
2009-12-08 21:48 [Bug gdb/11067] New: " jyasskin at gmail dot com
2009-12-08 21:51 ` [Bug gdb/11067] " ppluzhnikov at google dot com
2010-02-06 13:26 ` cmoller at redhat dot com
2010-02-16  2:49 ` cmoller at redhat dot com
2010-02-16  3:58 ` ppluzhnikov at google dot com
2010-02-16  5:17 ` jyasskin at gmail 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).