This is the mail archive of the gdb-patches@sourceware.org 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: RFC: Fix "break *EXP thread NUM"


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

>> (gdb) b main thread -10
>> Unknown thread -10.

Daniel> Ditto, and these are much more trouble because thread +10 is a valid C
Daniel> expression.  Fortunately, thread numbers are always positive.  Is this
Daniel> useful?

I think it is fine for us to accept only whatever it is that gdb prints.
Translating gdb's thread id to octal can't be a common thing to do.

Thanks for working on this; it has come up several time.  BTW, it is PR
8704.

Tom


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