This is the mail archive of the
gdb-patches@sourceware.org
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.
Thanks,
Hui
On Wed, Nov 25, 2009 at 01:13, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> ">" == Hui Zhu <teawater@gmail.com> 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.
>
> Tom
>