public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/11797] create a gdb.Type from a string "char[10]"
[not found] <bug-11797-4717@http.sourceware.org/bugzilla/>
@ 2012-01-05 19:07 ` meadori at gmail dot com
2012-01-05 20:42 ` tromey at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: meadori at gmail dot com @ 2012-01-05 19:07 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=11797
Meador Inge <meadori at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |meadori at gmail dot com
--- Comment #1 from Meador Inge <meadori at gmail dot com> 2012-01-05 19:07:20 UTC ---
Use the 'array' method on the constructed gdb.Type instance:
(gdb) py print(gdb.lookup_type('char').array(9))
char [10]
--
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] 4+ messages in thread
* [Bug python/11797] create a gdb.Type from a string "char[10]"
[not found] <bug-11797-4717@http.sourceware.org/bugzilla/>
2012-01-05 19:07 ` [Bug python/11797] create a gdb.Type from a string "char[10]" meadori at gmail dot com
@ 2012-01-05 20:42 ` tromey at redhat dot com
2020-05-25 6:35 ` andre.poenitz at qt dot io
2021-03-04 13:21 ` jwakely.gcc at gmail dot com
3 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-01-05 20:42 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=11797
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-01-05 20:41:04 UTC ---
(In reply to comment #1)
> Use the 'array' method on the constructed gdb.Type instance:
>
> (gdb) py print(gdb.lookup_type('char').array(9))
> char [10]
Yeah -- but I think what this bug is really about is having
a method like "gdb.parse_type" that will parse a type according
to the language rules.
--
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] 4+ messages in thread
* [Bug python/11797] create a gdb.Type from a string "char[10]"
[not found] <bug-11797-4717@http.sourceware.org/bugzilla/>
2012-01-05 19:07 ` [Bug python/11797] create a gdb.Type from a string "char[10]" meadori at gmail dot com
2012-01-05 20:42 ` tromey at redhat dot com
@ 2020-05-25 6:35 ` andre.poenitz at qt dot io
2021-03-04 13:21 ` jwakely.gcc at gmail dot com
3 siblings, 0 replies; 4+ messages in thread
From: andre.poenitz at qt dot io @ 2020-05-25 6:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=11797
--- Comment #3 from Andre' <andre.poenitz at qt dot io> ---
Tom is right.
It would be nice to have a roundtrip gdb.Type -> str(...) -> gdb.Type giving
the original type as close as possible.
--
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 python/11797] create a gdb.Type from a string "char[10]"
[not found] <bug-11797-4717@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2020-05-25 6:35 ` andre.poenitz at qt dot io
@ 2021-03-04 13:21 ` jwakely.gcc at gmail dot com
3 siblings, 0 replies; 4+ messages in thread
From: jwakely.gcc at gmail dot com @ 2021-03-04 13:21 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=11797
Jonathan Wakely <jwakely.gcc at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jwakely.gcc at gmail dot com
--
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:[~2021-03-04 13:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-11797-4717@http.sourceware.org/bugzilla/>
2012-01-05 19:07 ` [Bug python/11797] create a gdb.Type from a string "char[10]" meadori at gmail dot com
2012-01-05 20:42 ` tromey at redhat dot com
2020-05-25 6:35 ` andre.poenitz at qt dot io
2021-03-04 13:21 ` jwakely.gcc 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).