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/3] gdbserver debug_printf+timestamps: FUNCTION_NAME


On 01/16/2014 11:31 PM, Doug Evans wrote:
> Doug Evans writes:
>  > v2 is now split into three parts:
>  > 
>  > 1/3 - move ASSERT_FUNCTION to FUNCTION_NAME in common-utils.h
>  > 2/3 - create new function delim_string_to_char_ptr_vec_append in gdb_vecs.c
>  > 3/3 - the actual debug_printf patch
>  > 
>  > I went with --debug[=timestamp] as the option naming.
> 
> I didn't do a darwin build but the change is mechanical.
> 
> 2014-01-16  Doug Evans  <dje@google.com>
> 
> 	* common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
> 	and moved here ...
> 	* common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
> 	#include "common-utils.h".
> 	(gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
> 	* common/vec.h (VEC_ASSERT_PASS): Update.
> 	* darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
> 	(MACH_CHECK_ERROR): Update.

Looks good to me.

Thanks,
-- 
Pedro Alves


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