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: [commit] Improved linker-debugger interface


> What could be done is to check gdbarch_stap_is_single_operand_p.  This
> is a mandatory function that needs to be set by the target.  If it
> doesn't exist, then we know that the target lacks SDT support.
> 
> Before I work on a patch, I'd like to know what you think.

I agree that it would be friendlier to make sure stap-support is
activated before trying to use it. If the warning is then only
possible when stap support is in, and denotes a bug in either GDB
or the executable, then I'm all for keeping it.

I also like Tom's suggestion of expanding the warning to contain
the pieces of information he suggested. I had a recent experience
where the warning was missing a critical piece of information and
that prevented me from diagnosing the problem remotely.

-- 
Joel


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