public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable
       [not found] <bug-24870-4717@http.sourceware.org/bugzilla/>
@ 2023-03-07 14:31 ` tromey at sourceware dot org
  2023-12-01  4:06 ` tromey at sourceware dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-03-07 14:31 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |30164


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=30164
[Bug 30164] Restructure symbol domains
-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable
       [not found] <bug-24870-4717@http.sourceware.org/bugzilla/>
  2023-03-07 14:31 ` [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable tromey at sourceware dot org
@ 2023-12-01  4:06 ` tromey at sourceware dot org
  2024-01-28 23:45 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-12-01  4:06 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Assignee|unassigned at sourceware dot org   |tromey at sourceware dot org
                 CC|                            |tromey at sourceware dot org
   Last reconfirmed|                            |2023-12-01
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This is fixed the symbol domain series.

>>> gdb.lookup_type('foo')
<gdb.Type code=TYPE_CODE_STRUCT name=foo>
>>> gdb.lookup_global_symbol('foo', gdb.SYMBOL_VAR_DOMAIN).value()
<gdb.Value object at 0x7fad14917410>
>>> gdb.lookup_global_symbol('foo', gdb.SYMBOL_TYPE_DOMAIN).value()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: cannot get the value of a typedef

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

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

* [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable
       [not found] <bug-24870-4717@http.sourceware.org/bugzilla/>
  2023-03-07 14:31 ` [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable tromey at sourceware dot org
  2023-12-01  4:06 ` tromey at sourceware dot org
@ 2024-01-28 23:45 ` cvs-commit at gcc dot gnu.org
  2024-01-28 23:45 ` tromey at sourceware dot org
  2024-01-28 23:45 ` tromey at sourceware dot org
  4 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-01-28 23:45 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 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=9edce54e75b119e40d18a4564cd65cd747802c9c

commit 9edce54e75b119e40d18a4564cd65cd747802c9c
Author: Tom Tromey <tom@tromey.com>
Date:   Tue Sep 19 17:46:38 2023 -0600

    Only search types in lookup_typename

    This changes lookup_typename to only look for types.  The check for
    LOC_TYPEDEF can now also be removed, because only types will appear in
    TYPE_DOMAIN.

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

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

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

* [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable
       [not found] <bug-24870-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2024-01-28 23:45 ` cvs-commit at gcc dot gnu.org
@ 2024-01-28 23:45 ` tromey at sourceware dot org
  2024-01-28 23:45 ` tromey at sourceware dot org
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-01-28 23:45 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=24870
Bug 24870 depends on bug 30164, which changed state.

Bug 30164 Summary: Restructure symbol domains
https://sourceware.org/bugzilla/show_bug.cgi?id=30164

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

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

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

* [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable
       [not found] <bug-24870-4717@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2024-01-28 23:45 ` tromey at sourceware dot org
@ 2024-01-28 23:45 ` tromey at sourceware dot org
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-01-28 23:45 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |15.1

--- Comment #3 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] 5+ messages in thread

end of thread, other threads:[~2024-01-28 23:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24870-4717@http.sourceware.org/bugzilla/>
2023-03-07 14:31 ` [Bug python/24870] gdb.lookup_type fails if a name is both a type and a variable tromey at sourceware dot org
2023-12-01  4:06 ` tromey at sourceware dot org
2024-01-28 23:45 ` cvs-commit at gcc dot gnu.org
2024-01-28 23:45 ` tromey at sourceware dot org
2024-01-28 23:45 ` 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).