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: [OB PATCH] target.h (to_traceframe_info): Fix TARGET_DEFAULT_RETURN


On 03/04/2014 09:18 AM, Hui Zhu wrote:
> I cannot understand about this OB is not right.  I have 2 questions to you:
> 1. Before my patch, does target-delegates.c that generated by make-target-delegates is same with current target-delegates.c?

No, as I said, I forgot to re-generate target-delegates.c.

> 2. Does this new target-delegates.c that generated by make-target-delegates can be built success?

No, we should use TARGET_DEFAULT_NORETURN instead of
TARGET_DEFAULT_RETURN, which is a mistake when I resolved conflicts.

    struct traceframe_info *(*to_traceframe_info) (struct target_ops *)
       TARGET_DEFAULT_NORETURN (tcomplain ());

-- 
Yao (éå)


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