This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support for "break *ADDRESS thread THREADNO"


On Tue, 12 Apr 2005, Daniel Jacobowitz wrote:

> No, sorry.  Consider:
> 
> (gdb) p *thread
> No symbol table is loaded.  Use the "file" command.
> 
> After your patch:
> 
> (gdb) b *thread
> A parse error in expression, near `thread'.
> 
> We can get away with this for 'if', because 'if' is a keyword in just
> about every language GDB supports, and an unlikely name for a variable.
> That's not going to fly for 'thread', however.

 OK, then I'll file a bug report instead.  Perhaps I'll be able to have a 
look at it again, but not at the moment.  Thanks for looking into it.

  Maciej


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]