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: [PATCH] Speed up the 'if/else'


On Sun, Aug 30, 2009 at 1:35 PM, Paul Pluzhnikov<ppluzhnikov@google.com> wrote:
> On Sat, Aug 29, 2009 at 6:12 PM, Jiang Jilin<freephp@gmail.com> wrote:
>> 2009-08-30 ?Jiang Jilin <freephp@gmail.com>
>>
>> ? ? ? ?* reverse.c (exec_reverse_once): add 'else' to speed up
>
> What exactly are you trying to speed up here?
>
> Your patch looks bogus to me (because 'error (...)' call never returns).

Thanks for your explanation ! I remember that 'error()' just jumps to
the location in which setjmp() locates.

the patch should be ignored.

Thanks!

Jiang


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