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] Wording of "catch syscall <number>" warning


2009/9/24 Sérgio Durigan Júnior <sergiodj@linux.vnet.ibm.com>:
> On Thursday 24 September 2009, Joel Brobecker wrote:
>> ? ? warning: This debugger was compiled without XML support.
>> ? ? It will not be able to verify the validity of syscall numbers.
>
> I see your point. ?We already warn the user (only once) if GDB won't be able
> to display syscall names, but we don't tell anything about GDB not being able
> to verify the validity of syscall numbers. ?Maybe we should include this
> information in this "one-time warning", and remove the other warnings then.

"works for me", modulo I tend to gloss over the messages gdb prints at
start up. :-)
OTOH, I'm all for keeping the code simple too.

One thing I don't like about my patch is that I'd rather only print
the warning once too.
So how about for now just enhancing the warning at start up, and not
printing anything later on.


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