This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Improved linker-debugger interface
- From: Tom Tromey <tromey at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org, Jan Kratochvil <jan dot kratochvil at redhat dot com>, Pedro Alves <palves at redhat dot com>
- Date: Thu, 27 Jun 2013 14:46:22 -0600
- Subject: Re: [commit] Improved linker-debugger interface
- References: <20130516144340 dot GA2105 at blade dot nx> <20130604133819 dot GA25892 at blade dot nx> <20130625205350 dot GA28973 at adacore dot com> <m3obatx5b3 dot fsf at redhat dot com> <87hagkrih3 dot fsf at fleche dot redhat dot com> <m37ghgx0dv dot fsf at redhat dot com>
>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
Sergio> What could be done is to check gdbarch_stap_is_single_operand_p. This
Sergio> is a mandatory function that needs to be set by the target. If it
Sergio> doesn't exist, then we know that the target lacks SDT support.
Sergio> Before I work on a patch, I'd like to know what you think.
I think this would be good. The error could ask the user to report a
different kind of bug -- "please do this port" :)
Tom