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 1/8] watch_command_1: Fix dangling frame access


Pedro Alves <palves@redhat.com> writes:

> -  if (exp_valid_block && frame)
> +  if (exp_valid_block && wp_frame)

if (exp_valid_block != NULL && wp_frame != NULL)

Patch is good to me.

-- 
Yao (齐尧)


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