This is the mail archive of the
mailing list for the GDB project.
Re: [RFA] let record_resume fail immediately on error
Why "do_record_message" cannot be a caller?
It be a caller in a long time.
I call "record_message". You don't like it.
I put it to "do_record_message". You don't like it too.
I don't like use TRY_CATCH or catch_errors directly.
On Wed, Nov 25, 2009 at 01:13, Tom Tromey <email@example.com> wrote:
>>>>>> ">" == Hui Zhu <firstname.lastname@example.org> writes:
>>> ?static int
>>> ?do_record_message (struct regcache *regcache,
>>> - ? ? ? ? ? ? ? enum target_signal signal)
>>> + ? ? ? ? ? ? ? enum target_signal signal, int catch)
> This is still a very weird way to write what should be an ordinary
> function call.